Commit Graph

234 Commits

Author SHA1 Message Date
Jim Kingdon
5d0734a7d7 provide a new interface (using read_memory_func) to call the disassemblers
which copes with errors in a plausible way
1993-03-31 21:43:25 +00:00
Ken Raeburn
12da177528 objdump.c: Use correct prototype of fprintf, else it won't compile on ANSI
C systems.
1993-03-29 13:22:16 +00:00
Steve Chamberlain
9d19b85b6a add h8500 1993-03-19 22:41:15 +00:00
Jim Kingdon
452b40b631 mention long options in usage message 1993-03-19 18:58:10 +00:00
Per Bothner
229c82cb94 * nm.c: Modify behavior of -o flag for archives to match
BSD4.4 and Sunos 4:  Prefix archive name before each line.
1993-03-19 01:56:10 +00:00
Per Bothner
2e8adbd7f4 * m68k-pinsn.c: Removed. Subsumed by ../opcodes/m68k-dis.c.
* i386-pinsn.c:  Removed.  Subsumed by ../opcodes/i386-dis.c.
	* Makefile.in:  Adjust accordingly.
	* objdump.c:  Support new-style disassemblers (ones that use
	the interface of ../include/dis-asm.h).
1993-03-19 00:12:50 +00:00
Ian Lance Taylor
16788ca9fd Removed obsolete Makefile.dos. 1993-03-09 18:16:38 +00:00
Per Bothner
7f7b0a77db * Makefile.in: When making tar file, remove texinfo/*,
except for texinfo/texinfo.tex.
1993-02-26 00:14:49 +00:00
Per Bothner
3048fb38f0 * ardup.c: Add extern declaration of strdup.
* Makefile.in (testsuite):  Add 'else true' since otherwise
	Ultrix /bin/sh complains.
1993-02-25 23:59:10 +00:00
Per Bothner
ee948e4e23 In comment on how to make tar file, fix cvs tag name binutils->ld_utils. 1993-02-25 04:04:00 +00:00
Per Bothner
eba174cea6 * Makefile.in: Set VERSION to 2.1.
* README, NEWS: Updates.
	* nm.c:  Add -v as a synonym for -V.
1993-02-25 03:48:13 +00:00
Mike Werner
4f8b1219bf * configure.in: added testsuite to configdirs.
* Makefile.in: added support for building testsuite.
1993-02-24 03:02:37 +00:00
Per Bothner
7721e5b345 * objdump.c (disassemble_data): Print function names when
given by bfd_find_nearest_line.  If not - still print
	line numbers.
1993-02-23 07:00:32 +00:00
Mike Werner
0545aa1ae9 * binutils/testsuite: made modifications to testcases, etc., to allow
them to work properly  given the reorganization of deja-gnu and the
	relocation of the testcases from deja-gnu to a "tool" subdirectory.
1993-02-22 16:12:45 +00:00
Ken Raeburn
d9971b8304 from minyard@bnr.ca: free up copy of section contents each time through loop 1993-02-22 15:31:30 +00:00
John Gilmore
699bfeaeb9 For MTW 1993-02-21 19:55:15 +00:00
Mike Werner
2614a439a8 * binutils/testsuite: Initial creation of binutils/testsuite.
Migrated dejagnu testcases and support files for testing nm to
	binutils/testsuite from deja-gnu.  These files were moved "as is"
	with no modifications.	This migration is part of a major overhaul
	of dejagnu.  The modifications to these testcases, etc., which
	will allow them to work with the new version of dejagnu will be
	made in a future update.
1993-02-21 19:34:51 +00:00
David D. Zuhn
7c8592905d removing excess verbosity 1993-02-13 10:15:53 +00:00
David D. Zuhn
9c994225bf keep NEWS, remove RCS cruft 1993-02-13 08:52:56 +00:00
Fred Fish
c921e2aa7b * Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros.
* Makefile.in (LIBIBERTY):  Use LIBIBERTY_BIN_DIR.
	* Makefile.in (DEMANGLER_PROG):  New program to build.  Add macro
	and rule.
	* Makefile.in (PROGS):  Add DEMANGLER_PROG.
1993-02-12 18:08:35 +00:00
Ian Lance Taylor
a625bbb1e8 Tue Jan 26 11:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
* copy.c, nm.c, objdump.c, size.c: Use new bfd_is_com_section
	macro rather than checking for equality to bfd_com_section.
1993-01-26 19:57:59 +00:00
Per Bothner
fc561ccda8 * arsup.h (interactive), bucomm.h (program_name): Prefix
with 'extern', to avoid warnings from some compilers.
1993-01-06 23:19:45 +00:00
Steve Chamberlain
dc5dcabb9b >
* arparse.y: fix unnecessary shift/reduce
1993-01-06 23:16:17 +00:00
Per Bothner
eeece52d14 * Makefile.in: Make check depend on all.
* Makefile.in (distclean): Remove sysdep.h.
	* size.c:  Use %u format where appropriate.
	* objdump.c:  Standardize:  L_SET -> SEEK_SET.
	* objdump.c:  Use new macro bfd_asymbol_bfd.
	* configure.in:  Allow std-host as the default ${mys_host}.
1992-12-22 23:52:26 +00:00
Per Bothner
e2fe2df4d3 * Makefile.in (dist): Fix permissions before release.
* size.c:  Use bfd_size_type (and long) where appropriate.
	* ar.c:  Make writing a map the default, to be compatible
	with SYSV and Posix.2.  Remove some bogus kludges that
	handled __.SYMDEF directly.
	* NEWS:  New file.
1992-12-16 02:13:17 +00:00
K. Richard Pixley
43bbd567f2 recording file death 1992-12-08 04:59:31 +00:00
David D. Zuhn
b19753b911 include file handling changes 1992-11-08 00:01:46 +00:00
David D. Zuhn
3f97524f59 more include changes 1992-11-08 00:00:58 +00:00
John Gilmore
a644baaa03 * i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper bound properly. 1992-11-06 08:14:14 +00:00
John Gilmore
e87cc81623 Missed one use of PROTO. 1992-11-05 12:08:17 +00:00
John Gilmore
151a6341c6 Clean up some old BFD ansification macros.
* arsup.h, bucomm.h, objdump.h:  Remove EXFUN from binutils.
It still remains as a local macro in gmalloc.c, which is derived
from some other copy of GNU Malloc somewhere (FIXME).

* ar.c, objdump.c, size.c:  Replace EXFUN with PROTO.  Make static
fns really static.
* arsup.h:  Declare extract_files.
1992-11-05 12:01:44 +00:00
Ian Lance Taylor
42b600fa46 Mon Nov 2 12:36:14 1992 Ian Lance Taylor (ian@cygnus.com)
* config/delta88.mh, config/hp300.mh, config/hppahpux.mh,
	config/i386v.mh: removed -DUSG from HDEFINES.
	hosts/delta88.h, hosts/hp300.h, hosts/hppahpux.h, hosts/i386v.h:
	defined USE_UTIME.
	hosts/i386v.h: don't define POSIX_UTIME.
1992-11-02 20:43:55 +00:00
Per Bothner
918c2f61e5 * binutils.tex: Document yesterday's changes to strip and copy. 1992-10-15 20:59:17 +00:00
Per Bothner
cc8787efe1 * copy.c: Re-do command-line parsing to use getopt_long().
Add long option names.  Re-think option letters to be more
	consistent.
	* copy.c:  New function filter_symbols() for stripping only
	debug-symbols and/or local symbols.  Use these to support
	the previously-missing options of the old FSF strip.
1992-10-14 20:35:29 +00:00
Roland Pesch
4928b97be9 Move "@c @smallbook" and "@c @cropmarks" out of titlepage, so if someone
uncomments them they affect the whole document...
1992-10-13 23:19:05 +00:00
John Gilmore
1bf20983a2 * configure.in (host): Use ${srcdir}/../bfd/configure.host rather
than repeating a copy of it here.
1992-10-13 08:25:08 +00:00
Ken Raeburn
7c9264045a * copy.c (main): Even if is_strip, accept -d argument indicating alternate
output format.  Needed by gdb for Nindy.

* m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
1992-10-08 01:13:12 +00:00
Jeffrey Osier
e31e9a8d00 added copy documentation per Roland 1992-10-06 23:36:54 +00:00
Per Bothner
8d6ae8fcc5 * Makefile.in (*clean rules): Some cleaning up.
* Makefile.in (dist): Make diststuff in gprof for a dist.
	* ar.c (do_show_version):  New function.
	* ar.c (main):  Fix so "ar -V" works.
1992-10-06 21:25:08 +00:00
John Gilmore
c005c66cca * i960-pinsn.c: Change bzero to memset.
* sparc-pinsn.c:  Change index to strchr.
1992-09-26 05:41:54 +00:00
Ian Lance Taylor
e69e7dd6c0 Patches from WRS:
Mon Sep 21 14:39:56 1992  Ian Lance Taylor  (ian@cygnus.com)

	* m68k-pinsn (print_insn_arg, fetch_arg): added support for
	operands to memory management instructions, from WRS.
1992-09-21 22:29:51 +00:00
Ian Lance Taylor
94a4a00523 Changes to make an installed cross-compiler find everything correctly.
Tue Sep 15 15:26:38 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in (install): if $(tooldir) exists, install nm and
	strip in $(tooldir)/bin.
1992-09-15 23:26:41 +00:00
Per Bothner
a51d4b418b * Makefile.in: Let's call it version 2.0. 1992-09-03 21:14:53 +00:00
Per Bothner
947b85258d * Makefile.in: Bump to version 0.98.
* TODO, README:  Minor updates.
1992-09-03 06:01:09 +00:00
Per Bothner
8d5d0e117f * Makefile.in: Added mostlyclean, distclean rules,
and cleaned up clean, realclean.
1992-09-02 07:26:15 +00:00
Ian Lance Taylor
3790af1d33 Brought forward from p3:
Sun Aug 30 21:18:59 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in: map program names through program_transform_name
	when installing.
1992-09-01 01:13:11 +00:00
Mike Werner
fd9d7e4a76 Link libopcodes with objdump 1992-08-31 23:23:34 +00:00
Steve Chamberlain
a4ef860176 Disassemble for z8k and build using opcode library 1992-08-31 22:28:08 +00:00
Jim Wilson
93fd00fbbf Handle new v9 insn argument codes, and delete support for obsolete ones.
Otherwise not updated or tested, since v9 support is obviously incomplete,
and it can't possibly work right without some effort.
1992-08-31 17:03:47 +00:00
Per Bothner
455a0d2890 * Makefile.in: Bump to versions 1.97.90.
* cplus-dem.c:  Removed.  Was nowhere used - and if some
	programs are changed to to demangling should now use the
	versions in libiberty.
1992-08-31 01:11:18 +00:00