From a890f63b3325e22d3eda75f730ab59c13262e5ec Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 24 Sep 2008 23:21:04 +0000 Subject: [PATCH] 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 | 4 ++++ include/elf/dwarf2.h | 1 + 2 files changed, 5 insertions(+) diff --git a/include/ChangeLog b/include/ChangeLog index 2acaaf136..e8d9a028c 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2008-09-24 Richard Henderson + + * elf/dwarf2.h (DW_OP_GNU_encoded_addr): New. + 2008-09-22 Rafael Espindola * 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 648658da3..f8d010b53 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,