diff options
author | Cary Coutant <ccoutant@google.com> | 2012-10-24 01:59:39 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2012-10-24 01:59:39 +0000 |
commit | 657d0d47ba7fd3ae014a5b2b6e46ba6c8d1c461a (patch) | |
tree | 7c424d54c503a9756e2c9cb23026f1744794ee3e /gold/gold.h | |
parent | c886f0b40c56bf143dbe400c165dba6c64d45e70 (diff) | |
download | binutils-657d0d47ba7fd3ae014a5b2b6e46ba6c8d1c461a.zip binutils-657d0d47ba7fd3ae014a5b2b6e46ba6c8d1c461a.tar.gz binutils-657d0d47ba7fd3ae014a5b2b6e46ba6c8d1c461a.tar.bz2 |
binutils/
* dwarf.c (do_debug_addr, do_debug_cu_index): New global flags.
(load_debug_info): Fix typo.
(cu_tu_indexes_read, shndx_pool, shndx_pool_size, shndx_pool_used):
New global variables.
(prealloc_cu_tu_list, add_shndx_to_cu_tu_entry, end_cu_tu_entry)
(process_cu_tu_index, load_cu_tu_indexes, find_cu_tu_set)
(display_cu_index): New functions.
(dwarf_select_sections_by_names): Add "debug_addr", "cu_index".
Sort entries alphabetically.
(dwarf_select_sections_all): Set do_debug_addr, do_debug_cu_index.
(debug_displays): Add .debug_cu_index, .debug_tu_index.
Clean up formatting.
* dwarf.h (dwarf_section_display_enum): Add dwp_cu_index,
dwp_tu_index.
(do_debug_addr, do_debug_cu_index): New global flags.
(find_cu_tu_set): New function declaration.
* objdump.c (usage): Add --dwarf=addr, --dwarf=cu_index.
* readelf.c (find_section_in_set): New function.
(usage): Add --debug-dump=addr, --debug_dump=cu_index.
(process_section_headers): Check do_debug_addr and do_debug_cu_index.
(section_subset): New global variable.
(load_debug_section): Restrict search to section subset.
(display_debug_section): Add section index as paramter. Select subset
of sections when dumping a .dwp file. Update caller.
Diffstat (limited to 'gold/gold.h')
0 files changed, 0 insertions, 0 deletions