From 8de64dd2ce1e9332e4b706e36854304fbe185139 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 25 Sep 2008 21:55:52 +0000 Subject: 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. --- include/ChangeLog | 14 +++++++++----- include/elf/dwarf2.h | 1 + 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/include/ChangeLog b/include/ChangeLog index f70cebd..365d445 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2008-08-25 Richard Henderson + + * elf/dwarf2.h (DW_OP_GNU_encoded_addr): New. + 2008-08-25 Alan Modra * binary-io.h: New file, imported from gnulib, but don't @@ -181,9 +185,9 @@ override_segment_assignment field. 2007-02-17 Mark Mitchell - Nathan Sidwell - Vladimir Prus + Nathan Sidwell + Vladimir Prus * bin-bugs.h: Remove. @@ -286,8 +290,8 @@ relax_pass. 2006-02-17 Shrirang Khisti - Anil Paranjape - Shilin Shakti + Anil Paranjape + Shilin Shakti * dis-asm.h (print_insn_xc16c): New prototype. 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, -- cgit v1.1