Commit Graph

1081 Commits

Author SHA1 Message Date
Jeff Law
d53e566bc0 m32rx -> cygnus sanitization change. 1999-02-05 17:34:40 +00:00
Nick Clifton
429ca00c5f Dump tags found after the comp unit entry in a .debug_info section/ 1999-02-02 15:59:56 +00:00
Nick Clifton
306c2ca06a Add ability to dump .debug_aranges sections 1999-02-02 12:44:54 +00:00
Nick Clifton
ca2afaf3fb DisplayDWARF2 basic type encodings. 1999-02-02 12:12:11 +00:00
Nick Clifton
624578b61b Replace {...} with [...] 1999-02-02 09:13:08 +00:00
Catherine Moore
e745689c95 * readelf.c (dump_relocations): Handle EM_ARM as REL. 1999-02-01 20:39:54 +00:00
Nick Clifton
a21a12e39e Remove v850e sanitization 1999-02-01 11:21:32 +00:00
Nick Clifton
e356c94b92 Fix seg fault producing histogram 1999-01-29 11:57:27 +00:00
Nick Clifton
6869092ea1 Add tests for readelf's Dwarf2 dumping feature. 1999-01-29 11:16:08 +00:00
Nick Clifton
1b977c7dbf Support v850 expected failures. 1999-01-29 10:49:19 +00:00
Nick Clifton
5cee067a58 Add tests of readelf. 1999-01-29 10:17:51 +00:00
Nick Clifton
d8ac463e38 Add preliminary DWARF2 dumpping capability to readelf. 1999-01-27 18:17:08 +00:00
Jeff Law
e39cea5f46 * coffdump.c (xcalloc): Remove, in libiberty now.
* srconv.c (xcalloc): Likewise.
        * sysdump.c (xcalloc): Likewise.
1999-01-15 06:40:20 +00:00
Nick Clifton
5727d41dae Output formatting change to improve readability. 1999-01-14 09:53:22 +00:00
Doug Evans
15ae972240 sanitize sky stuff 1998-12-15 01:11:11 +00:00
Doug Evans
13e50544d5 * Makefile.am (PROGS,bin_PROGRAMS): Add @BUILD_MISC@
(link.c,link.o,link): New rules.
	* Makefile.in: Rebuild.
	* configure.in (vpu-elf): Build `link' cover script if vpu-elf.
	(BUILD_MISC): New variable, for target specific hacks (in the worst
	sense of the word).
	(AC_OUTPUT): Handle building of `link.c'.
	* configure: Rebuild.
	* link.c.in: New file.
bring over from sky-980617 branch.
link script converted to .c so sanitize with automake/autoconf is simpler
1998-12-13 01:33:24 +00:00
Ian Lance Taylor
5967a42ef7 * objdump.1: Fix typo (-d to -D). From Nokubi Hirotaka
<hnokubi@yyy.or.jp>.
1998-12-08 21:30:59 +00:00
Ian Lance Taylor
a4168fca93 * objdump.c (SFILE): Add size field.
(objdump_sprintf): Merge both versions into one.  Increase buffer
	size as needed to avoid overflow.
	(disassemble_bytes): Change buf from 1000 bytes to 50.  Change
	initialization and use of sfile to match changes to
	objdump_sprintf.
1998-12-07 01:07:02 +00:00
Ian Lance Taylor
db367261ca * strip.1: Fix typo (-V to -v). From Issei Hirayama
<iss@mail.wbs.or.jp>.
1998-12-06 18:28:53 +00:00
Ulrich Drepper
b57b7d4c82 Update. 1998-12-03 02:00:20 +00:00
Ulrich Drepper
bd7be6b090 (process_mips_specific): Print .conflict section content. 1998-12-03 01:59:23 +00:00
Ulrich Drepper
46be1c93d2 Update. 1998-12-02 23:38:04 +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
73e42a0da8 regenerated Makefile.in 1998-11-17 18:27:13 +00:00
Dave Brolley
0eae1b3001 Mon Nov 16 19:17:23 1998 Dave Brolley <brolley@cygnus.com>
* po/binutils.pot: Regenerate.
1998-11-17 00:19:14 +00:00
Nick Clifton
5e424a1b6b Regenerated these files. 1998-11-16 18:20:17 +00:00
Ian Lance Taylor
1deb4d0a93 * debug.c (debug_name_type): Correct return type from false to
DEBUG_TYPE_NULL.
1998-11-14 19:51:19 +00:00
Nick Clifton
86b8bbbeea Add dependency of readelf.c on elf/fr30.h 1998-11-10 23:33:13 +00:00
Nick Clifton
812ce3a656 Add support for the FR30. 1998-11-05 00:26:25 +00:00
Geoffrey Noer
1c18e77af7 Mon Nov 2 14:59:33 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: detect cygwin* instead of cygwin32*
        * configure: regenerate
1998-11-02 23:02:04 +00:00
Geoffrey Noer
4e48ea7f0c Fri Oct 30 15:14:49 1998 Geoffrey Noer <noer@cygnus.com>
* dllwrap.c: change all references to cygwin32_ to cygwin_,
        change Cygwin target def to CYGWIN.
1998-10-31 00:54:19 +00:00
Nick Clifton
7dd47bc8da Fixup previous delta by replacing 'unsigned long' with 'bfd_vma' 1998-10-28 18:32:07 +00:00
Nick Clifton
32dc84ef55 Applied patch from Philip Blundell <pb@nexus.co.uk>: Make address variables
unsigned to avoid problems when disassembling code at high-bit-set addresses.
1998-10-27 22:40:43 +00:00
Geoffrey Noer
2f53793327 Mon Oct 26 14:07:59 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dllwrap.c (strhash): New function.
        (main): Use it to supply image base if not supplied by user.
        (program_version): Up to 0.2.4.

Mon Oct 26 14:07:59 1998  Mumit Khan  <khan@xraylith.wisc.edu>

        * dlltool.c (add_stdcall_alias): New global.
        (long_options): Add --add-stdcall-alias option.
        (main): Handle it.
        (scan_drectve_symbols): Add alias if --add-stdcall-alias is
        specified.
        (scan_filtered_symbols): Likewise.
        (gen_def_file): Output alias for stdcall syms if appropriate.

        * binutils.texi (dlltool): Document --add-stdcall-alias option.

        * dllwrap.c (long_options): Add --add-stdcall-alias option.
        (main): Handle it.

        * defparse.y (opt_name): Allow "." in name.
        * dlltool.c (def_name): Set dll_name from NAME entry in def file.
        (def_library): Set dll_name from LIBRARY entry in def file.

Mon Oct 26 14:07:59 1998  Mumit Khan  <khan@xraylith.wisc.edu>

        * dllwrap.c (long_options): --implib synonym for --output-lib.
        (main): Pass --export-all to dlltool only if specified.
        (program_version): Up to 0.2.3.

Mon Oct 26 14:07:59 1998  Mumit Khan  <khan@xraylith.wisc.edu>

        * dllwrap.c (mybasename): New function.
        (main): Run dlltool to create export definition file and import
        library file if necessary.
        Change exp_file_name so that it's based on the dll name.
1998-10-27 01:03:28 +00:00
Geoffrey Noer
d5556e2ab7 Sun Oct 25 10:37:45 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dlltool.c (scan_all_symbols): Fix patch error.
1998-10-26 01:23:29 +00:00
Geoffrey Noer
d7a198b636 Thu Oct 8 15:33:08 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: call AC_EXEEXT instead of AM_EXEEXT and
        AM_CYGWIN32.
        * aclocal.m4: remove local AM_EXEEXT/AM_CYGWIN32 macros.
        * configure: regenerate

Thu Oct  8 15:33:08 1998  Geoffrey Noer  <noer@cygnus.com>

        From Mumit Khan  <khan@xraylith.wisc.edu>:
        * dlltool.c (scan_all_symbols): Don't re-export symbols exported
        by other DLLs.

Thu Oct  8 15:33:08 1998  Geoffrey Noer  <noer@cygnus.com>

        * Makefile.am (BUILD_DLLWRAP): Add.
        (BUILD_DLLWRAP, DLLWRAP_PROG): Add.
        (bin_PROGRAMS): Add dllwrap.
        * Makefile.in: regenerate with automake

        From Mumit Khan  <khan@xraylith.wisc.edu>:
        * dllwrap.c: New file from dllhelpers v0.2.1.
        (print_version): New function.
        (long_options): Add --version.
        (main): Handle.
        * dyn-string.h, dyn-string.c: New files from egcs-1.1/gcc.
        * configure.in (BUILD_DLLWRAP): Add.
        * configure: Regenerate.
1998-10-08 22:47:18 +00:00
Geoffrey Noer
9b6b08c2c0 fix 1998-10-07 21:26:00 +00:00
Geoffrey Noer
9d1b068967 Tue Oct 6 18:20:10 1998 Geoffrey Noer <noer@cygnus.com>
* Makefile.am (windres_SOURCES): Add resres.c.
        (windres_OBJECTS): Add resres.o.
        * Makefile.in: regenerate with automake

        From Anders Norlander <anorland@hem2.passagen.se>.
        * resres.c: New file.  Implementation of read_res_file and
        write_res_file functions for windres.
        * rcparse.y: Handle CONTROL's with named classes.
        * resbin.c: Bug in res_to_bin_dialog and bin_to_res_dialog
        when dialog is extended: The version and signature fields should
        be reversed (despite what the docs say). Id is 32 bits long in
        extended dialogs.
        * resrc.c (write_rc_dialog): properly print controls with named
        classes.
        * windres.c (read_res_file, write_res_file): Remove stubs.
        * resres.c (write_res): Rename RT_ACCELERATORS to RT_ACCELERATOR.
1998-10-07 01:22:11 +00:00
Geoffrey Noer
b459678b2b Tue Oct 6 18:20:10 1998 Geoffrey Noer <noer@cygnus.com>
From Anders Norlander <anorland@hem2.passagen.se>.

        * resres.c: New file.  Implementation of read_res_file and
        write_res_file functions for windres.
        * rcparse.y: Handle CONTROL's with named classes.
        * resbin.c: Bug in res_to_bin_dialog and bin_to_res_dialog
        when dialog is extended: The version and signature fields should
        be reversed (despite what the docs say). Id is 32 bits long in
        extended dialogs.
        * resrc.c (write_rc_dialog): properly print controls with named
        classes.
        * windres.c (read_res_file, write_res_file): Remove stubs.
        * resres.c (write_res): Rename RT_ACCELERATORS to RT_ACCELERATOR.
        * Makefile.in (windres_SOURCES): Add resres.c.
        (windres_OBJECTS): Add resres.o.
1998-10-07 01:21:02 +00:00
Ian Lance Taylor
1d7d9a100b fix copyrights 1998-10-05 00:41:11 +00:00
Ian Lance Taylor
dc6c45d7cb From Nokubi Hirotaka <hnokubi@yyy.or.jp>:
* objcopy.1: Fix typo in --remove-leading-char docs.
	* objdump.1: Fix formatting in --stabs docs.
1998-10-05 00:37:21 +00:00
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