aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
AgeCommit message (Collapse)AuthorFilesLines
2001-07-05Display the contents of a .debug.macinfo sectionNick Clifton1-3/+85
2001-07-01Support DWARF 2.1 tags, encodings, languages.Nick Clifton1-157/+173
2001-06-29Add DWARF 2.1 attributesNick Clifton1-1/+50
2001-06-28 * readelf.c (GET_DATA_ALLOC): Remove.Alan Modra1-346/+448
(GET_DATA): Remove. (get_data): New function combining above macros, with an extra test for zero size. Use get_data, and catch error return throughout file.
2001-06-25 * readelf.c (dump_relocations): Print "bad symbol index" ifAlan Modra1-33/+38
symtab == NULL with non-zero symtab_index. (process_relocs): Don't bomb if reloc section has no symsec.
2001-06-19Remove auot generated man pagesNick Clifton1-34/+34
2001-05-28 * readelf.c (display_debug_frames): Fix warnings: Remove unusedAndreas Jaeger1-126/+124
variables, fix format strings.
2001-05-16 * readelf.c (do_debug_frames_interp): New.Richard Henderson1-115/+192
(byte_get_little_endian): If BFD64, always read entire 8-byte fields. (byte_get_big_endian): Likewise. (parse_args) ['F']: Set do_debug_frames_interp. (Frame_Chunk): Make data_factor signed, add fde_encoding. (frame_display_row): Don't trunc pc_begin to int. (size_of_encoded_value): New. (display_debug_frames): Handle 64-bit targets. Print raw data unless do_debug_frames_interp. (debug_displays): Remove duplicate .debug_frame.
2001-05-15Remove definition of EM_MIPS_RS4_BE. The constant was never in active useNick Clifton1-9/+9
and is used otherwise by the ABI.
2001-05-11 * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwindJakub Jelinek1-23/+83
sections as well. (elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO to .gnu.linkonce.t.FOO text section. * readelf.c (process_unwind): Print all unwind sections, not just one. * config/tc-ia64.c (special_linkonce_name): New. (make_unw_section): Map .gnu.linkonce.t.FOO text section into .gnu.linkonce.ia64unw{,i}.FOO. (ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO. (dot_endp): Add comment about it. * elf/ia64.h (ELF_STRING_ia64_unwind_once): Define. (ELF_STRING_ia64_unwind_info_once): Define. * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind* output sections. * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2001-05-07 * readelf.c (process_unwind): Remove const specifier.Alan Modra1-1/+1
2001-04-05 * readelf.c (display_debug_lines): Fix typo for "Prologue".Hans-Peter Nilsson1-1/+1
2001-03-312001-03-30 H.J. Lu <hjl@gnu.org>H.J. Lu1-3/+3
* readelf.c (process_unwind): Just return if do_unwind is 0.
2001-03-302001-03-29 H.J. Lu <hjl@gnu.org>H.J. Lu1-0/+6
* readelf.c (process_unwind): Only do unwind sections for IA64.
2001-03-13Fix typos in ChangeLogs and update copyright noticesNick Clifton1-1/+1
2001-03-12Handle EM_S390_OLD.Nick Clifton1-0/+3
2001-02-28Remove non-K&R compliant LHS type cast in call to GET_DATA_ALLOC macro.Nick Clifton1-2/+2
2001-02-282001-02-28 Philip Blundell <pb@futuretv.com>Phil Blundell1-10/+43
* readelf.c (decode_ARM_machine_flags): Explicitly mention which ABI is in use; remove ambiguity between the "unknown" EABI and unrecognised ABIs. Handle version 2 ARM EABI. Update uses of renamed EF_xx constants.
2001-02-11 * readelf.c (struct unw_aux_info): Remove const from the info member.Michael Sokolov1-2/+2
(process_unwind): Don't type-cast the third argument to the GET_DATA_ALLOC macro.
2001-02-11fix seg fault in reloc reading codeNick Clifton1-2/+5
2001-02-10Document new --unwind option to readelf.Nick Clifton1-2/+1
2001-02-10Add s390 supportNick Clifton1-0/+7
2001-02-07Add -u option toi readelf to display unwind info.Nick Clifton1-105/+558
Add support to display unwind info for IA64 binaries.
2001-01-23 * readelf.c (process_version_sections): Check if VERDEF or VERNEEDJakub Jelinek1-106/+21
sections are present before using them. Remove code duplication. (process_symbol_table): Check if VERDEF or VERNEED sections are present before using them.
2001-01-16Prevent seg fault with corrupt section name indiciesNick Clifton1-7/+9
2000-12-12Add EM_X86_64.Nick Clifton1-1/+8
2000-12-12Fix formatting.Nick Clifton1-65/+83
2000-12-082000-12-07 Andrew Haley <aph@redhat.com>Andrew Haley1-39/+145
* readelf.c (display_debug_frames): Only display columns that are referenced by the frame debug info.
2000-12-04 * readelf.c (process_section_headers): Handle linkonce.wi sections.Jason Merrill1-6/+12
(display_debug_section): Likewise. (display_debug_info): Display CU header before bailing.
2000-12-02Add MIPS SB1 machineNick Clifton1-0/+1
2000-12-02Add MIPS V and MIPS 64 machine numbersNick Clifton1-0/+6
2000-12-01Add MIPS32 as a seperate MIPS architectureNick Clifton1-1/+5
2000-11-30* readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.DJ Delorie1-1/+1
2000-11-27oops, forgot a semicolonDJ Delorie1-1/+1
2000-11-27* readelf.c (usage): Add -wf (--debug-dump=frames) option.DJ Delorie1-2/+487
(parse_args): Support -wf option. (process_section_headers): Ditto. (debug_displays): Ditto. (display_debug_frames): New, dump *_frame sections. (frame_need_space): Support for above. (frame_display_row): Ditto. * binutils.texi: Document it.
2000-11-22Add new machien types and section flagsNick Clifton1-4/+15
2000-11-202000-11-20 H.J. Lu <hjl@gnu.org>H.J. Lu1-1/+1
* readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to ELFOSABI_AIX.
2000-11-19 * readelf.c (display_debug_lines): Adjust last change toRichard Henderson1-2/+2
use sizeof (external->li_length).
2000-11-17 * readelf.c (display_debug_lines): Fix section length checkRichard Henderson1-2/+2
and end_of_sequence computation.
2000-11-05Remove extraneous whitepacesNick Clifton1-52/+52
2000-09-14Add support for the MIPS32Nick Clifton1-0/+10
2000-08-17Catch and warn about attempts to display debug information for version 1 ↵Nick Clifton1-1/+14
aranges.
2000-08-082000-08-05 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt1-0/+6
* readelf.c (elf/i860.h): Include. (dump_relocations): Add recognition of i860 architecture. (guess_is_rela): Add recognition of i860 architecture.
2000-07-20 * MAINTAINERS: Add self as CRIS port maintainer.Hans-Peter Nilsson1-0/+7
* readelf.c: Include elf/cris.h. (guess_is_rela): Handle EM_CRIS. (dump_relocations): Ditto. (get_machine_name): Ditto. * Makefile.am: Rebuild dependencies. * Makefile.in: Regenerate. * po/binutils.pot: Regenerate.
2000-07-202000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu1-5/+31
* readelf.c (get_dynamic_type): Change "AUXILARY" to "AUXILIARY". (process_dynamic_segment): Print out strings for DT_CONFIG, DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2000-07-192000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu1-3/+3
* readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB to DF_1_NODEFLIB.
2000-07-192000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu1-4/+1
* readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2000-07-192000-07-19 H.J. Lu <hjl@gnu.org>H.J. Lu1-2/+31
* readelf.c (get_dynamic_type): Change DT_FEATURE_1 to DT_FEATURE. (process_dynamic_segment): Likewise. * readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT, DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM. (process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB, DF_1_NODUMP and DF_1_CONLFAT.
2000-07-10Warning fixes.Alan Modra1-10/+10
2000-06-19Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add supportNick Clifton1-0/+3
for m68hc11 and m68hc12 processors.