OSDN Git Service

include/
authorRichard Henderson <rth@redhat.com>
Wed, 24 Sep 2008 23:21:04 +0000 (23:21 +0000)
committerRichard Henderson <rth@redhat.com>
Wed, 24 Sep 2008 23:21:04 +0000 (23:21 +0000)
* elf/dwarf2.h (DW_OP_GNU_encoded_addr): New.
binutils/
* dwarf.c (size_of_encoded_value, get_encoded_value): Move up.
(decode_location_expression): Add section parameter.  Handle
DW_OP_GNU_encoded_addr.
(read_and_display_attr_value): Update decode_location_expression call.
(display_debug_loc, display_debug_frames): Likewise.
gas/
        * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
        (struct cfi_insn_data): Add ea member.
        (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New.
        (output_cfi_insn): Handle CFI_val_encoded_addr.
        (select_cie_for_fde): Don't match CFI_val_encoded_addr.
        * doc/as.texinfo (.cfi_val_encoded_addr): Document.

include/ChangeLog
include/elf/dwarf2.h

index 2acaaf1..e8d9a02 100644 (file)
@@ -1,3 +1,7 @@
+2008-09-24  Richard Henderson  <rth@redhat.com>
+
+       * elf/dwarf2.h (DW_OP_GNU_encoded_addr): New.
+
 2008-09-22 Rafael Espindola  <espindola@google.com>
 
        * plugin-api.h (ld_plugin_status): Remove comma from the last item.
index 648658d..f8d010b 100644 (file)
@@ -544,6 +544,7 @@ enum dwarf_location_atom
     /* GNU extensions.  */
     DW_OP_GNU_push_tls_address = 0xe0,
     DW_OP_GNU_uninit     = 0xf0,
+    DW_OP_GNU_encoded_addr = 0xf1,
     /* HP extensions.  */
     DW_OP_HP_unknown     = 0xe0, /* Ouch, the same as GNU_push_tls_address.  */
     DW_OP_HP_is_value    = 0xe1,