Commit graph

31 commits

Author SHA1 Message Date
Ulrich Drepper
bd7be6b090 (process_mips_specific): Print .conflict section content. 1998-12-03 01:59:23 +00:00
Ulrich Drepper
7922afa1da (process_mips_specific): Print l_flags in liblist in textual form. 1998-12-02 23:37:54 +00:00
Nick Clifton
c80944f2a5 do not try to dump empty sections 1998-09-06 23:17:06 +00:00
Ulrich Drepper
e5a32b1725 * elf/readelf.c (process_dynamic_segment): Print DT_* value only if
do_dynamic.
(do_histogram): New variable.
(options): New long option histogram.  Set do_histogram if this
option is used.
(usage): Document --histogram.
(parse_args): Handle 0 return value from getopt_long.  Enable
do_histogram for -a.
(process_symbol_table): Read hash table also if only do_histogram.
Add code to print hash table histogram.
1998-09-02 21:55:37 +00:00
Ulrich Drepper
7c71c3ea98 (process_syminfo): Print names of files symbols are bound to, not the index. 1998-08-26 00:17:28 +00:00
Ulrich Drepper
fdf959ddcb (process_dynamic_segment): Read syminfo section if available.
(process_syminfo): New function.  Print syminfo information.
(process_file): Call process_syminfo and free syminfo data at the end.
1998-08-25 23:47:11 +00:00
Catherine Moore
be5b92f932 (dump_relocations): EM_ARM uses rela relocs. 1998-07-31 15:08:44 +00:00
Jeff Holcomb
c0304ac51d Fri Jul 24 16:28:57 1998 Jeff Holcomb <jeffh@cygnus.com>
* readelf.c (get_dynamic_type): Remove empty default from switch
	statement.
1998-07-24 23:58:30 +00:00
Ian Lance Taylor
9af55dcfdf remove d30v sanitization 1998-07-24 04:27:42 +00:00
Ulrich Drepper
3b9f0cb69b Consistantly use elf_ prefix for *_reloc_type functions. 1998-07-23 00:08:44 +00:00
Nick Clifton
f97d05dc1b Get relocation numbers from header files, rather than using built in
functions.
1998-07-22 23:32:58 +00:00
Ulrich Drepper
133a451e9f Remove definition of functions to return relocation symbol strings.
They now get implicitly defined when include the system specific ELF
header.
1998-07-22 22:00:20 +00:00
Ulrich Drepper
842dbd0d61 Before include system specific ELF header define
START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS.  For now
used for ppc, mips, and mn10300.
1998-07-22 20:55:31 +00:00
Nick Clifton
f5d660b679 Ooops - added gettext'isation missed out from previous delta 1998-07-22 17:29:11 +00:00
Nick Clifton
e293b0962e Display number of unrecognised relocations. 1998-07-22 17:28:17 +00:00
Ulrich Drepper
5892b09993 Use symbolic names of relocation entries for the various
architectures.  Correct more layout details.  Print names of MIPS
specific section types.  Print Alpha, ARM, and MIPS relocation type
names.
1998-07-21 20:15:58 +00:00
Ulrich Drepper
c546f3a091 process_symbol_table): Fix little alignment problem in printed table header. 1998-07-20 14:49:03 +00:00
Ulrich Drepper
6c4b8d0f36 Correct reading of .dynamic section.
(dynamic_section): Now a global variable.
(process_mips_fpe_exception, process_mips_specific, process_arch_specific):
New functions.
(get_file_header): Call process_arch_specific.
1998-07-20 14:18:35 +00:00
Ulrich Drepper
5821de310f Add support for processor specific information on MIPS. 1998-07-19 23:31:57 +00:00
Ulrich Drepper
19808d3f79 Fix several versioning related bugs. Produce nicer output. 1998-07-19 22:18:24 +00:00
Jeff Law
d76c93e68c * readelf.c (byte_get): Use PARAMS in prototype.
(error): Make it work with non-ANSI compilers.
        (warn): Likewise.
        (get_ver_flags): Don't use an ANSI prototype in the definition.
1998-07-08 03:55:07 +00:00
Nick Clifton
9eaac302dc Minor formatting improvements. 1998-07-01 23:30:34 +00:00
Nick Clifton
cb436f39aa Improved portability of readelf 1998-06-30 00:03:05 +00:00
Frank Ch. Eigler
4775a8a5a9 * Attempt to make readelf.c compile under IRIX6 cc by inserting
non-functional "break;" in switch statement.
1998-06-29 07:40:02 +00:00
Nick Clifton
ebb6416960 Rewrite of readelf to use fopen/fread rather than mmap. 1998-06-23 18:12:44 +00:00
Ian Lance Taylor
59bbaa1950 * readelf.c: Include bfd.h and bucomm.h before system header
files.
	(parse_args): Change type of c from char to int.
1998-06-22 22:28:49 +00:00
Ian Lance Taylor
2f300fe69e add d30v sanitization to readelf 1998-06-13 15:15:13 +00:00
Michael Meissner
1e3d6cc401 Make sure .gcc_except_table fits in the section header table 1998-06-12 21:00:00 +00:00
Michael Meissner
a09db9ba57 Add PowerPC support to readelf; Print machine specific flags; Print endianess; Make widening more portable 1998-06-12 20:50:03 +00:00
Nick Clifton
c18f8aef72 Fix sunOS build of readelf.
Fixed -Wall warnigs when built under Linux.
1998-06-12 00:56:39 +00:00
Nick Clifton
764668738f Add 'readelf' to binutils. 1998-06-11 21:51:56 +00:00