aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjakub <jakub@94c539fb-cf18-0410-b60f-edeeb537fa16>2011-06-22 15:16:43 +0000
committerjakub <jakub@94c539fb-cf18-0410-b60f-edeeb537fa16>2011-06-22 15:16:43 +0000
commit0fb6cdb999b2e29026e9cf254e2ed923f7772594 (patch)
tree4f8536518e90518932ffdc59ca900872760b3d65
parentc507d991e6bf11b6de496a0a80b5341776e0ad6e (diff)
downloadprelink-cross-0fb6cdb999b2e29026e9cf254e2ed923f7772594.tar.gz
prelink-cross-0fb6cdb999b2e29026e9cf254e2ed923f7772594.tar.bz2
prelink-cross-0fb6cdb999b2e29026e9cf254e2ed923f7772594.zip
* src/dwarf2.h (DW_OP_GNU_parameter_ref): Define.
* src/dwarf2.c (adjust_location_list): Handle DW_OP_GNU_parameter_ref. git-svn-id: http://sourceware.org/svn/prelink@190 94c539fb-cf18-0410-b60f-edeeb537fa16
-rw-r--r--trunk/ChangeLog6
-rw-r--r--trunk/src/dwarf2.c1
-rw-r--r--trunk/src/dwarf2.h1
3 files changed, 8 insertions, 0 deletions
diff --git a/trunk/ChangeLog b/trunk/ChangeLog
index 59a7362..649aff0 100644
--- a/trunk/ChangeLog
+++ b/trunk/ChangeLog
@@ -1,3 +1,9 @@
+2011-06-22 Jakub Jelinek <jakub@redhat.com>
+
+ * src/dwarf2.h (DW_OP_GNU_parameter_ref): Define.
+ * src/dwarf2.c (adjust_location_list): Handle
+ DW_OP_GNU_parameter_ref.
+
2011-05-11 Jakub Jelinek <jakub@redhat.com>
* src/dwarf2.h (DW_OP_GNU_const_type, DW_OP_GNU_regval_type,
diff --git a/trunk/src/dwarf2.c b/trunk/src/dwarf2.c
index 60f7f89..2da3d4f 100644
--- a/trunk/src/dwarf2.c
+++ b/trunk/src/dwarf2.c
@@ -369,6 +369,7 @@ adjust_location_list (DSO *dso, struct cu_data *cu, unsigned char *ptr,
case DW_OP_const4u:
case DW_OP_const4s:
case DW_OP_call4:
+ case DW_OP_GNU_parameter_ref:
ptr += 4;
break;
case DW_OP_call_ref:
diff --git a/trunk/src/dwarf2.h b/trunk/src/dwarf2.h
index a10d3a6..97864fb 100644
--- a/trunk/src/dwarf2.h
+++ b/trunk/src/dwarf2.h
@@ -418,6 +418,7 @@
#define DW_OP_GNU_deref_type 0xf6
#define DW_OP_GNU_convert 0xf7
#define DW_OP_GNU_reinterpret 0xf9
+#define DW_OP_GNU_parameter_ref 0xfa
#define DW_OP_lo_user 0xe0
#define DW_OP_hi_user 0xff