Commit Graph

84 Commits

Author SHA1 Message Date
Nick Clifton
bcedfee6be Add EM_X86_64. 2000-12-12 20:58:46 +00:00
Nick Clifton
584da044d9 Fix formatting. 2000-12-12 19:36:32 +00:00
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.
2000-12-08 17:25:47 +00:00
Jason Merrill
09fd7e3854 * readelf.c (process_section_headers): Handle linkonce.wi sections.
(display_debug_section): Likewise.
        (display_debug_info): Display CU header before bailing.
2000-12-04 16:34:44 +00:00
Nick Clifton
c6c98b3833 Add MIPS SB1 machine 2000-12-02 01:10:33 +00:00
Nick Clifton
84ea6cf2c5 Add MIPS V and MIPS 64 machine numbers 2000-12-02 00:55:22 +00:00
Nick Clifton
e7af610e14 Add MIPS32 as a seperate MIPS architecture 2000-12-01 21:35:38 +00:00
DJ Delorie
75066968bd * readelf.c (frame_display_row): Output 's' for DW_CFA_same_value. 2000-11-30 15:35:54 +00:00
DJ Delorie
b3a10c9a0b oops, forgot a semicolon 2000-11-27 21:10:31 +00:00
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.
2000-11-27 21:07:47 +00:00
Nick Clifton
93ebe586cd Add new machien types and section flags 2000-11-22 23:49:39 +00:00
H.J. Lu
bd9805457d 2000-11-20 H.J. Lu <hjl@gnu.org>
* readelf.c (get_osabi_name): Change ELFOSABI_MONTEREY to
	ELFOSABI_AIX.
2000-11-20 23:47:41 +00:00
Richard Henderson
b612ab9c43 * readelf.c (display_debug_lines): Adjust last change to
use sizeof (external->li_length).
2000-11-19 20:57:42 +00:00
Richard Henderson
512d22f487 * readelf.c (display_debug_lines): Fix section length check
and end_of_sequence computation.
2000-11-17 08:28:59 +00:00
Nick Clifton
76da6bbe3e Remove extraneous whitepaces 2000-11-05 19:18:34 +00:00
Nick Clifton
156c2f8bf7 Add support for the MIPS32 2000-09-14 01:47:38 +00:00
Nick Clifton
3f215a1093 Catch and warn about attempts to display debug information for version 1 aranges. 2000-08-17 23:00:38 +00:00
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.
2000-08-08 00:47:04 +00:00
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.
2000-07-20 17:28:56 +00:00
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.
2000-07-20 02:45:36 +00:00
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.
2000-07-19 18:45:46 +00:00
H.J. Lu
05107a46ed 2000-07-19 H.J. Lu <hjl@gnu.org>
* readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2000-07-19 18:24:32 +00:00
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.
2000-07-19 18:03:18 +00:00
Alan Modra
3c9f43b196 Warning fixes. 2000-07-10 14:51:04 +00:00
Nick Clifton
60bcf0fa8c Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add support
for m68hc11 and m68hc12 processors.
2000-06-19 01:22:44 +00:00
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.
2000-05-02 17:54:32 +00:00
Denis Chertykov
dff1420082 * readelf.c (guess_is_rela): AVR uses RELA relocations.
(get_machine_name): machine name for EM_AVR added.
2000-05-01 06:53:41 +00:00
Jim Wilson
800eeca487 IA-64 ELF support. 2000-04-21 20:22:24 +00:00
Alan Modra
12ff5d5690 Portability fixes. 2000-04-14 04:14:25 +00:00
Nick Clifton
50da7a9c68 Replace 'strftime' with 'sprintf'. 2000-04-10 17:13:07 +00:00
Jason Merrill
eb6bd4d38e * readelf.c (decode_location_expression): Loop through multiple
operations.
        (read_and_display_attr): Pass in length.
2000-04-07 00:16:45 +00:00
Jason Merrill
1fa3730664 * readelf.c (read_and_display_attr): Add CU offset to references.
(display_debug_info): Pass it in.
2000-04-07 00:15:00 +00:00
Nick Clifton
05a342f46d Remove spurious blank line 2000-04-06 23:43:31 +00:00
Nick Clifton
5f8a9d91e7 Detect EM_AVR machine number 2000-04-06 23:21:50 +00:00
Nick Clifton
f3485b74bb Add code to decode the e_flags field of an ARM ELF binary. 2000-04-06 23:21:09 +00:00
H.J. Lu
dd27201edf 2000-04-04 H.J. Lu <hjl@gnu.org>
* readelf.c (process_symbol_table): Correctly read in symbol
	versioning information.
2000-04-04 23:05:32 +00:00
Alan Modra
8ad3436c79 Move translated part of bug report string back into .c files so
xgettext can find it.  Regnerate .pot files.
2000-04-04 14:32:35 +00:00
Alan Modra
c20f4f8c21 Move bug report string to one place. 2000-04-03 14:10:05 +00:00
Alan Modra
00ed88bd56 Include sys/types.h before sys/stat.h for ultrix. 2000-03-30 23:37:22 +00:00
Alan Modra
adde6300e0 ATMEL AVR microcontroller support. 2000-03-27 08:39:14 +00:00
Ian Lance Taylor
e699b9ff01 From Brad Lucier <lucier@math.purdue.edu>:
* readelf.c (process_dynamic_segment): Add cast to make sure
	argument to %* is int.
2000-02-28 03:31:50 +00:00
Alan Modra
1ce6cb432f Teach get_osabi_name about Linux 2000-02-23 23:19:46 +00:00
Nick Clifton
ca47b30c87 Remove use of ELF_ST_OTHER. 2000-02-22 19:56:41 +00:00
Ian Lance Taylor
1606220769 From Brad Lucier <lucier@math.purdue.edu>:
* readelf.c (process_version_sections): Add casts to make sure
	argument to %* is an int.
	(process_mips_specific): Add casts to make printf arguments match
	format.
2000-02-22 07:18:10 +00:00
Alan Modra
305c72062b Most of these changes are really only cosmetic. The readelf.c patch
fixes a thinko in get_dynamic_flags.  I found at least one message
string that included a `%' being passed to printf in the format
argument.
2000-01-26 23:11:48 +00:00
Nick Clifton
67a95c88f3 Detect ELFOSABI_ARM. 2000-01-17 18:09:34 +00:00
Nick Clifton
a7c8f90ec1 Fix description of EM_S370. 2000-01-13 20:13:35 +00:00
Nick Clifton
2d0e6f43d3 Fix mistakes made about interpretation of ELF ABI spec 2000-01-11 17:53:33 +00:00
Nick Clifton
7bea2f730c Add NT_WIN32PSTATUS to list of recognised core notes 2000-01-10 18:52:23 +00:00
Nick Clifton
d113390691 Add decoding of new constants defined in Oct 4, 1999 draft of ELF ABI spec. 1999-12-28 20:23:39 +00:00