Commit graph

68 commits

Author SHA1 Message Date
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
Nick Clifton
2f5288870a Fix support for native 64bit ELF systems 1999-12-10 18:32:57 +00:00
Nick Clifton
843dd99245 fix typo in previous delta 1999-12-07 21:41:54 +00:00
Nick Clifton
308009476c minor formatting changes 1999-12-07 21:40:04 +00:00
Nick Clifton
5e220199b9 Fix compile time warnings & asupport more than 999 symbols 1999-12-07 21:26:51 +00:00
Nick Clifton
f7a999632f Fix displaying 64bit ELF files. 1999-12-07 21:14:08 +00:00
Nick Clifton
6d118b099c Applied Fred Fish's patch to fix decoding of core notes. 1999-11-25 11:08:25 +00:00
Ulrich Drepper
103f02d372 1999-09-15 Ulrich Drepper <drepper@cygnus.com>
* readelf.c (dynamic_segment_parisc_val): Print 0 for DLD_FLAGS if
	the value is zero.
	(process_symbol_table): Don't print histogram if hash table is empty.

1999-09-15  Ulrich Drepper  <drepper@cygnus.com>

	* readelf.c (get_parisc_dynamic_type): Handle DT_HP_GST_* values.

1999-09-02  Ulrich Drepper  <drepper@cygnus.com>

	* readelf.c (get_symbol_type): Add support for HPUX and PARISC
	specific symbol types.

	* readelf.c: Add HPUX and PARISC extensions to dynamic and program
	header table printing.

	* readelf.c (get_machine_flags): Add handling of PARISC.
1999-10-04 18:59:13 +00:00
Ian Lance Taylor
7d46606982 1999-09-04 Steve Chamberlain <sac@pobox.com>
* readelf.c: Include "elf/pj.h".
	(dump_relocations): Handle EM_PJ.
	(get_machine_name): Likewise.
	(get_machine_flags): Likewise.
1999-09-04 17:40:18 +00:00
Nick Clifton
779fe53312 Apply patch from Scott Bambrough to display the contents of a NOTES segment
in a core file.
1999-08-31 16:54:56 +00:00
Nick Clifton
3590ea008d Applied patch from Stephane Carrez <stcarrez@worldnet.fr> to fix pointer size assumption. 1999-08-28 08:13:43 +00:00
Nick Clifton
7a4b7442d4 Patch from Jim Wilson - more bug fixes for line table decoding. 1999-08-27 10:34:58 +00:00
Nick Clifton
2366453a56 (display_debug_lines, case DW_LNS_const_add_pc): Multiply adv by info.li_min_insn_length. 1999-08-27 08:45:02 +00:00
Richard Henderson
9a09773023 * readelf.c (get_sparc64_dynamic_type): New function.
(get_dynamic_type): Use it.
1999-08-26 18:25:20 +00:00
Nick Clifton
75d74c4827 (display_debug_lines, case default): Change second line setting adv to use = not += 1999-08-26 10:53:40 +00:00
Nick Clifton
a3f779dbea Hans-Peter Nilsson <hp@bitrange.com>
* readelf.c (process_abbrev_section): Handle standard-conforming
	single zero at the end of the section.
1999-08-09 17:16:23 +00:00
Richard Henderson
d07faca298 Jakub Jelinek <jj@ultra.linux.cz>
* readelf.c (get_machine_flags): Print EF_SPARC_SUN_US3.
1999-07-16 21:38:16 +00:00