diff options
author | Richard Henderson <rth@redhat.com> | 2008-09-24 23:21:04 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2008-09-24 23:21:04 +0000 |
commit | f1c4cc7516582b6fdb474d43c1b8e1b74dd73f52 (patch) | |
tree | 6f14d634455a6dc54e1db050f103bea47095686d /include | |
parent | 6fbd21a1cee8c0f55252cd0f0c06423aaddaf70f (diff) | |
download | gdb-f1c4cc7516582b6fdb474d43c1b8e1b74dd73f52.zip gdb-f1c4cc7516582b6fdb474d43c1b8e1b74dd73f52.tar.gz gdb-f1c4cc7516582b6fdb474d43c1b8e1b74dd73f52.tar.bz2 |
include/
* 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.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/elf/dwarf2.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 2acaaf1..e8d9a02 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -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. diff --git a/include/elf/dwarf2.h b/include/elf/dwarf2.h index 648658d..f8d010b 100644 --- a/include/elf/dwarf2.h +++ b/include/elf/dwarf2.h @@ -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, |