Nick Clifton
c80944f2a5
do not try to dump empty sections
1998-09-06 23:17:06 +00:00
Ian Lance Taylor
1f23c5b3f0
Sat Sep 5 19:17:10 1998 Mumit Khan <khan@xraylith.wisc.edu>
...
* dlltool.c (scan_all_symbols): Don't re-export symbols exported
by other DLLs.
1998-09-05 23:18:05 +00:00
Ulrich Drepper
20d1fa42af
Fix typo.
1998-09-02 21:56:26 +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
a12914abfd
Update.
1998-08-25 23:48:58 +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
Ian Lance Taylor
faad4b4786
* dlltool.c (usage): Add file parameter. Change all callers.
...
(main): Don't treat '?' as a special case in getopt return.
* binutils.texi (dlltool): Document new options. Add some uses of
@var.
Wed Aug 19 16:19:07 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dlltool.c (gen_def_file): Plug memory leak. Don't print
demangled name if it is NULL.
Support for exporting all symbols to an output export def file:
* dlltool.c ({export_all_symbols, no_default_excludes,
no_default_excludes, excludes}): New file static variables.
(struct string_list): Type to hold list of symbols to exclude.
(scan_drectve_symbols): Renamed from scan_open_obj_file.
(scan_filtered_symbols): New static function.
(add_excludes): New static function.
(match_exclude): New static function.
(set_default_excludes): New static function.
(filter_symbols): New static function.
(scan_all_symbols): New static function.
(scan_open_obj_file): New static function.
(usage): Document new options.
(long_options): Add new options.
(main): Handle new options.
1998-08-19 20:23:33 +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
3a66870a3e
tipo
1998-07-24 20:34:08 +00:00
Ian Lance Taylor
5817018a53
* Makefile.am (install-exec-local): Don't remove the file before
...
checking whether $(bindir) == $(tooldir)/bin. From "Maciej
W. Rozycki" <macro@ds2.pg.gda.pl>.
* Makefile.in: Rebuild.
1998-07-24 20:29:01 +00:00
Ian Lance Taylor
05ec3b4162
rebuild dependencies
1998-07-24 19:16:35 +00:00
Nick Clifton
b460b2684e
Remoe spurious header file inclusion.
1998-07-24 16:40:56 +00:00
Ian Lance Taylor
9af55dcfdf
remove d30v sanitization
1998-07-24 04:27:42 +00:00
Ulrich Drepper
cd38a064c7
Update.
1998-07-23 00:09:31 +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
043e6949fd
Update.
1998-07-22 22:02:02 +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
Vladimir Makarov
862a531349
* binutils-all/objcopy.exp: Polish output about fail for objcopy
...
(simple copy), strip with/without saving a symbol for object file
and executable.
1998-07-22 18:10:50 +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
Vladimir Makarov
7943e38d43
Moving entry about changes in testsuite/binutils-all/objcopy.exp from
...
ChangeLog to testsuite/ChangeLog.
1998-07-22 15:05:52 +00:00
Ulrich Drepper
f207d1d868
*** empty log message ***
1998-07-21 20:16:10 +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
Ian Lance Taylor
8339eb6566
Mon Jul 20 12:51:16 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* addr2line.c (find_address_in_section): Only consider a section
if the pc value is completely contained within it.
(translate_addresses): Don't crash if functionname or filename are
null.
1998-07-20 16:52:49 +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
Ian Lance Taylor
326d0b2545
From Christian Holland <CHolland@de.lucent.com>:
...
* ieee.c (parse_ieee): Initialize info.global_vars and
info.global_types.
(parse_ieee_atn): Ignore register lifetime information reportedly
emitted by MRI compiler.
1998-07-10 20:19:22 +00:00
Ian Lance Taylor
1ea2c345cf
* Makefile.am (MAINTAINERCLEANFILES): Define.
...
* Makefile.in: Rebuild.
1998-07-09 17:08:26 +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
Ian Lance Taylor
d06fb99076
* objcopy.c (filter_bytes): Set size correctly if the size of the
...
section is not an even multiple of the interleave. Based on patch
from Brion Stone <Brion.Stone@attws.com>.
1998-07-07 17:27:00 +00:00
Ian Lance Taylor
66d4501431
Thu Jul 2 14:01:34 1998 Klaus Kaempf <kkaempf@rmi.de>
...
* configure.com: Add vax/vms support.
* makefile.vms-in: Renamed from makefile.vms. Add substitutions
now done by configure.com.
1998-07-02 19:02:27 +00:00
Ian Lance Taylor
7fc0b65fa2
* stabs.c (parse_stab_range_type): Handle 4 and 8 byte signed
...
integers with real upper bounds. Handle a lower bound one larger
than the upper bound as a signed integer. Handle 8 byte signed
integers.
(stab_demangle_template): Optionally return the demangled name of
the template.
(stab_demangle_qualified): Treat a template name as a tagged
type.
(stab_demangle_fund_type): Likewise.
1998-07-02 00:46:49 +00:00
Nick Clifton
9eaac302dc
Minor formatting improvements.
1998-07-01 23:30:34 +00:00
Ian Lance Taylor
3b83ab769a
fix indentation
1998-07-01 22:05:41 +00:00
Ian Lance Taylor
a95d955c68
rebuild
1998-07-01 18:34:33 +00:00
Ian Lance Taylor
6763b6e161
new files for windres
1998-07-01 18:33:06 +00:00
Ian Lance Taylor
0b3377c426
x
1998-07-01 18:32:49 +00:00
Ian Lance Taylor
72574626a9
* rclex.l: Add casts and change types to avoid warnings.
...
* rcparse.y: Likewise.
* resbin.c: Likewise.
* rescoff.c: Likewise.
* resrc.c: Likewise.
* Makefile.am: Rebuild dependencies.
(HFILES): Remove readelf.h.
* Makefile.in: Rebuild.
Based on patches from Andrew Kozin
<Andrew.Kozin@p14.f960.n5020.z2.fidonet.org>:
* winduni.h: New file, from windres.h.
* winduni.c: New file, from windres.c.
* windres.c: Move Unicode functions into winduni.c.
* windres.h: Move Unicode declarations into winduni.h. Include
winduni.h.
(RT_ACCELERATOR): Rename from RT_ACCELERATORS to match Windows
macro. Change all uses.
(RT_PLUGPLAY, RT_VXD): Correct values.
* Makefile.am (HFILES): Add windres.h.
(CFILES): Add winduni.c.
(windres_SOURCES): Add winduni.c.
1998-07-01 18:30:20 +00:00
Nick Clifton
df6e153ca8
remove readelf.h from file list
1998-06-30 16:25:20 +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
Vladimir Makarov
6cddf7d967
* objcopy.c (strip_main): keep_specific_list == NULL as additional
...
condition to set up strip all symbols by default.
(copy_archive): don't change archive when error in object files of
the archive.
PR16197
1998-06-26 22:25:39 +00:00
Ian Lance Taylor
d8332b2c48
rebuild dependencies
1998-06-25 00:02:38 +00:00
Ian Lance Taylor
c5673804b8
* stabs.c (parse_number): Sign extend negative values correctly if
...
bfd_vma is larger than unsigned long.
1998-06-24 21:54:13 +00:00