Nick Clifton
c45021f2d2
Remove auot generated man pages
26 years ago
Andreas Jaeger
7036c0e167
* readelf.c (display_debug_frames): Fix warnings: Remove unused
variables, fix format strings.
26 years ago
Richard Henderson
31b6fca668
* readelf.c (do_debug_frames_interp): New.
(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.
26 years ago
Nick Clifton
4fe8559101
Remove definition of EM_MIPS_RS4_BE. The constant was never in active use
and is used otherwise by the ABI.
26 years ago
Jakub Jelinek
579f31ac74
* elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
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.
26 years ago
Alan Modra
78f4a3f728
* readelf.c (process_unwind): Remove const specifier.
26 years ago
Hans-Peter Nilsson
ff94ebf2c8
* readelf.c (display_debug_lines): Fix typo for "Prologue".
26 years ago
H.J. Lu
e58d53afc0
2001-03-30 H.J. Lu <hjl@gnu.org>
* readelf.c (process_unwind): Just return if do_unwind is 0.
26 years ago
H.J. Lu
f1467e3315
2001-03-29 H.J. Lu <hjl@gnu.org>
* readelf.c (process_unwind): Only do unwind sections for
IA64.
26 years ago
Nick Clifton
8c2bc6877d
Fix typos in ChangeLogs and update copyright notices
26 years ago
Nick Clifton
b7498e0ef0
Handle EM_S390_OLD.
26 years ago
Nick Clifton
a59e3bd746
Remove non-K&R compliant LHS type cast in call to GET_DATA_ALLOC macro.
26 years ago
Phil Blundell
a5bcd848ff
2001-02-28 Philip Blundell <pb@futuretv.com>
* 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.
26 years ago
Michael Sokolov
ecd0338944
* readelf.c (struct unw_aux_info): Remove const from the info member.
(process_unwind): Don't type-cast the third argument to the
GET_DATA_ALLOC macro.
26 years ago
Nick Clifton
88ec60c7e0
fix seg fault in reloc reading code
26 years ago
Nick Clifton
f5e2196691
Document new --unwind option to readelf.
26 years ago
Nick Clifton
a85d7ed0f0
Add s390 support
26 years ago
Nick Clifton
4d6ed7c8ce
Add -u option toi readelf to display unwind info.
Add support to display unwind info for IA64 binaries.
26 years ago
Jakub Jelinek
00d93f3435
* readelf.c (process_version_sections): Check if VERDEF or VERNEED
sections are present before using them. Remove code duplication.
(process_symbol_table): Check if VERDEF or VERNEED sections are
present before using them.
26 years ago
Nick Clifton
d40ac9bde2
Prevent seg fault with corrupt section name indicies
26 years ago
Nick Clifton
bcedfee6be
Add EM_X86_64.
26 years ago
Nick Clifton
584da044d9
Fix formatting.
26 years ago
Andrew Haley
a98cc2b2fd
2000-12-07 Andrew Haley <aph@redhat.com>
* readelf.c (display_debug_frames): Only display columns that are
referenced by the frame debug info.
26 years ago
Jason Merrill
09fd7e3854
* readelf.c (process_section_headers): Handle linkonce.wi sections.
(display_debug_section): Likewise.
(display_debug_info): Display CU header before bailing.
26 years ago
Nick Clifton
c6c98b3833
Add MIPS SB1 machine
26 years ago
Nick Clifton
84ea6cf2c5
Add MIPS V and MIPS 64 machine numbers
26 years ago
Nick Clifton
e7af610e14
Add MIPS32 as a seperate MIPS architecture
26 years ago
DJ Delorie
75066968bd
* readelf.c (frame_display_row): Output 's' for DW_CFA_same_value.
26 years ago
DJ Delorie
b3a10c9a0b
oops, forgot a semicolon
26 years ago
DJ Delorie
c47d488e51
* readelf.c (usage): Add -wf (--debug-dump=frames) option.
(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.
26 years ago
Nick Clifton
93ebe586cd
Add new machien types and section flags
26 years ago
H.J. Lu
bd9805457d
2000-11-20 H.J. Lu <hjl@gnu.org>
* readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
ELFOSABI_AIX.
26 years ago
Richard Henderson
b612ab9c43
* readelf.c (display_debug_lines): Adjust last change to
use sizeof (external->li_length).
26 years ago
Richard Henderson
512d22f487
* readelf.c (display_debug_lines): Fix section length check
and end_of_sequence computation.
26 years ago
Nick Clifton
76da6bbe3e
Remove extraneous whitepaces
26 years ago
Nick Clifton
156c2f8bf7
Add support for the MIPS32
26 years ago
Nick Clifton
3f215a1093
Catch and warn about attempts to display debug information for version 1 aranges.
26 years ago
Jason Eckhardt
535c37ffa8
2000-08-05 Jason Eckhardt <jle@cygnus.com>
* readelf.c (elf/i860.h): Include.
(dump_relocations): Add recognition of i860 architecture.
(guess_is_rela): Add recognition of i860 architecture.
26 years ago
Hans-Peter Nilsson
1b61cf9230
* MAINTAINERS: Add self as CRIS port maintainer.
* 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.
26 years ago
H.J. Lu
019148e439
2000-07-19 H.J. Lu <hjl@gnu.org>
* 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.
26 years ago
H.J. Lu
f7db6139df
2000-07-19 H.J. Lu <hjl@gnu.org>
* readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
to DF_1_NODEFLIB.
26 years ago
H.J. Lu
05107a46ed
2000-07-19 H.J. Lu <hjl@gnu.org>
* readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
26 years ago
H.J. Lu
dcefbbbda0
2000-07-19 H.J. Lu <hjl@gnu.org>
* 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.
26 years ago
Alan Modra
3c9f43b196
Warning fixes.
27 years ago
Nick Clifton
60bcf0fa8c
Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support
for m68hc11 and m68hc12 processors.
27 years ago
H.J. Lu
146243a7e0
2000-05-02 H.J. Lu <hjl@gnu.org>
* readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
and ELFOSABI_OPENBSD.
27 years ago
Denis Chertykov
dff1420082
* readelf.c (guess_is_rela): AVR uses RELA relocations.
(get_machine_name): machine name for EM_AVR added.
27 years ago
Jim Wilson
800eeca487
IA-64 ELF support.
27 years ago
Alan Modra
12ff5d5690
Portability fixes.
27 years ago
Nick Clifton
50da7a9c68
Replace 'strftime' with 'sprintf'.
27 years ago