Commit Graph

500 Commits

Author SHA1 Message Date
David D. Zuhn 238aa238e2 * Makefile.in (install, install-info): remove parentdir support,
use INSTALL_XFORM; define INSTALL_XFORM
1993-06-16 00:45:43 +00:00
Ian Lance Taylor 672f4045d6 o - size
Currently assumes that the only relevant sections are named .text,
    .data and either .bss or .stack.  This is not very general, and it
    doesn't work for ECOFF.
1993-06-14 20:17:35 +00:00
David MacKenzie 5dfb600429 Add some nm comments. 1993-06-11 18:39:25 +00:00
Per Bothner f63e502ba1 * objcopy.c (copy_object): Fix bad size passed to xmalloc(). 1993-06-11 00:34:26 +00:00
Per Bothner 0019b19054 * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
* configure.in:  No longer need to configure to get sysdep.h.
	* objcopy.c (copy_object):  Fix symbol table handling.
1993-06-07 19:45:12 +00:00
David D. Zuhn d6391983cb update INFO-DIR-ENTRY 1993-06-04 23:24:37 +00:00
David D. Zuhn 4f79b3c547 change srctriggeer to a local FILE not a DIRECTORY 1993-06-04 17:55:08 +00:00
Jeffrey Osier 1889f66266 * c++filt.1: fixed %^*(^% typo 1993-06-03 19:25:36 +00:00
Ken Raeburn d34c55c6e1 hack backquoted command in Makefile.in to always have zero exit status 1993-06-03 18:16:02 +00:00
Jeffrey Osier 3ac620d408 * Makefile.in: added c++filt and objcopy to MANPAGES variable
* .Sanitize:  keep c++filt.1 and objcopy.1
1993-06-03 17:44:34 +00:00
David D. Zuhn 5a07035505 rename LOADLIBES to EXTRALIBS 1993-06-03 07:34:15 +00:00
Jeffrey Osier 08ad992164 * c++filt.1, objcopy.1: new man pages 1993-06-03 01:31:51 +00:00
Jeffrey Osier 38e799d231 binutils.texi: put in zoo's info-dir entry stuff (it's cleaner) 1993-06-03 00:29:32 +00:00
Jeffrey Osier 5eac46ae03 binutils.texi: final tweaks for c++filt chapter 1993-06-02 23:43:10 +00:00
Rob Savoye 4cf03eb2e7 Add an install-info target too. 1993-06-01 01:40:59 +00:00
Rob Savoye ece87dfb94 Add info target. 1993-06-01 01:37:45 +00:00
Per Bothner a9f5cf7be2 * Makefile.in (install): Also install ar and ranlib in
$(tooldir)/bin;  needed for building libgcc.a.
	* objdump.c (objdump_print_address):  Fix the check
	"coincidental" label matches by dis-allowing undefined
	or com symbols.
1993-05-28 22:07:47 +00:00
Rob Savoye 47a488df26 Add a blank install target so the top level makefile won't die. 1993-05-28 04:31:51 +00:00
Jeffrey Osier 6c69b6bde1 * biutils.texi: revised c++filt chapter 1993-05-28 00:00:59 +00:00
K. Richard Pixley 87756e15db added things-to-lose sections 1993-05-27 06:44:29 +00:00
Ian Lance Taylor 4447efa217 * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS. 1993-05-27 00:28:16 +00:00
Rob Savoye b64d5e491a configure.in template that supports *only* make check. (for releases) 1993-05-26 01:55:00 +00:00
Rob Savoye 2a775d5158 Makefile fragment that supports *only* make check. (for releases) 1993-05-26 01:44:49 +00:00
Ken Raeburn 875607cb0d elf32 updates 1993-05-25 20:39:21 +00:00
Ken Raeburn f50af42bbf Makefile.in (DISTSTUFF): Don't build binutils.mm.
objdump.c (slurp_symtab): Print warning for bad symbol table.
1993-05-25 04:28:56 +00:00
David D. Zuhn 8a6d5d4f93 INFO-DIR-ENTRY formatting tweaks 1993-05-24 22:33:43 +00:00
David MacKenzie 6cfbdb50e6 Move printing from bfd to nm and add POSIX and SysV compatibility. 1993-05-21 21:09:58 +00:00
David MacKenzie 386803c0be Improve error messages. 1993-05-21 19:39:15 +00:00
Ian Lance Taylor efc7599b10 lib directory is no longer present 1993-05-17 19:32:50 +00:00
Roland Pesch e32341a77c Minor cleanups to c++filt node, and copyright dates. 1993-05-15 00:35:08 +00:00
Per Bothner b6216af269 * Makefile.in (underscore.c): Automatically generate
(using nm) a file with the variable prepends_underscore.
	* Makefile.in (c++filt):  Link underscore.o with cplus-dem.o
	so that initial underscores get removed iff appropriate.
	* binutils.texi:  Preliminary documentation for c++filt.
	* Makefile.in, binutils.texi:  Set to version 2.2.
1993-05-15 00:25:03 +00:00
Per Bothner 20e54bf2c2 * NEWS: Mention copy->objcopy renaming and new c++filt program. 1993-05-14 18:13:52 +00:00
Ian Lance Taylor df14d9573c * objcopy.c: Renamed from copy.c, updated comments accordingly.
* Makefile.in, binutils.texi: Renamed copy to objcopy.
	* is-strip.c, maybe-strip.c, not-strip.c: Updated comments for
	rename of copy to objcopy.
1993-05-12 19:08:53 +00:00
Per Bothner 1269d44115 * binutils.texi (strip, -v option): Fix typo. 1993-05-11 00:21:13 +00:00
Ian Lance Taylor 9fd2cc00be * Makefile.in (RUNTEST): Define.
(FLAGS_TO_PASS): Pass down RUNTEST.
1993-05-07 20:58:26 +00:00
Per Bothner f6dddd4e1d * Makefile.in: Change definition of $(tooldir) to match FSF. 1993-05-04 02:12:50 +00:00
David MacKenzie c3f471a401 Fix typo. 1993-04-30 17:42:22 +00:00
David MacKenzie 690f0433d0 Had a duplicate listing for -v. 1993-04-30 01:09:10 +00:00
David MacKenzie 4d9b5d5a33 Fix up usage summaries and examples. Document a few missing options. 1993-04-29 18:17:10 +00:00
David MacKenzie be64eeae07 More fixes to usage messages. 1993-04-29 18:15:53 +00:00
David MacKenzie 1f72cab137 Document missing options. Use -- instead of + for long options. 1993-04-29 18:15:00 +00:00
David MacKenzie 3602ba8163 Add hyphens in usage messages. 1993-04-29 06:55:21 +00:00
David MacKenzie d244269886 Clean up usage messages and option parsers.
Add program name to some error messages.
1993-04-29 06:45:39 +00:00
David MacKenzie b703c078e2 Fix use of @dots and strip usage message. 1993-04-29 05:52:59 +00:00
David MacKenzie ec40bbb87f Clean up English and Texinfo usage. 1993-04-29 03:39:02 +00:00
Steve Chamberlain 6f57570423 Support for the SH. 1993-04-27 01:39:38 +00:00
Rob Savoye fff5d9ed97 Remove so cvs -P will work right. 1993-04-22 05:02:03 +00:00
Rob Savoye fc81b8baaa Moved the only file to dejagnu/lib, so this is empty. 1993-04-22 04:47:38 +00:00
Rob Savoye a0aabdf178 Moved to dejagnu/lib since it's now real generic. 1993-04-22 04:46:46 +00:00
Rob Savoye e0ba174efd Updated since all the init module names changed. 1993-04-22 04:45:31 +00:00
Rob Savoye 11fdc75ce6 hange nm.all to binutils.all. Remove chill stuff. 1993-04-22 04:42:37 +00:00
Rob Savoye fdee169611 Add testsuite directory. 1993-04-22 04:38:31 +00:00
Rob Savoye 39287eb73f * Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly
built binaries if they exist. (otherwise the path)
1993-04-19 21:08:32 +00:00
Rob Savoye 0fd9814fe5 Mostly cleanup. Doesn't prints it's own pass/fail message anymore. 1993-04-19 21:05:03 +00:00
Rob Savoye 9ef534b90d Gets names to test from higher level makefile. 1993-04-19 20:55:11 +00:00
Ian Lance Taylor 545a27683e Please don't add declarations of random system functions to general
source files if you can possibly avoid it.  They inevitably fail on
some system somewhere.

	* objdump.c: Removed useless fprintf declaration.
1993-04-09 18:22:57 +00:00
Rob Savoye a54a5a9ebc Rename to util-defs.exp and turn into generic procedures. 1993-04-08 05:26:10 +00:00
Rob Savoye 3e7f73db77 * Makefile.in: Changed check target to use DejaGnu. 1993-04-08 05:23:39 +00:00
Rob Savoye 6edcdd0ddb All use new util_test proc. 1993-04-08 05:16:13 +00:00
Rob Savoye c50fa6b3c6 Replaced by just $(target_os) name. Use new util_test proc. 1993-04-08 05:15:20 +00:00
Rob Savoye c3361cd3ca Changed "make check" target to use DejaGnu. 1993-04-08 05:12:06 +00:00
Rob Savoye e57072116f Get rid of all the links. 1993-04-08 05:10:49 +00:00
Jim Kingdon 720b3aed42 New print_address for disassemblers, merge a29k and i960 disassemblers 1993-04-02 00:18:47 +00:00
Jim Kingdon f79feb23c0 remove another reference to sparc-pinsn.c 1993-04-01 18:36:14 +00:00
Jim Kingdon 3ac166b105 this is part of the binutils/gdb sparc disassembler merge 1993-04-01 16:58:41 +00:00
Jim Kingdon f7ed13c7d5 merge binutils and gdb sparc disassemblers 1993-04-01 16:56:06 +00:00
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
Brendan Kehoe 582e962abd * configure.in: add we32k 1992-08-27 22:04:34 +00:00
Steve Chamberlain 817b5a60ab * ar.c (map_over_members): if the element of the archive has a
null name, fill it in.

	* nm.c (do_one_rel_file): only warn if a bfd's flags say there
	will be symbols and there aren't any.
1992-08-24 22:37:04 +00:00
Per Bothner ce6a2aabc1 Re-do change for revision 1.28 that got trashed by 1.29. 1992-08-20 04:04:50 +00:00
Ian Lance Taylor 1090c41efc This is for PR 628.
Wed Aug 19 11:20:25 1992  Ian Lance Taylor  (ian@cygnus.com)

	* m68k-pinsn.c: handle new operand type 'r', introduced for cas2.
1992-08-19 18:27:12 +00:00
Rob Savoye 305c1e74c3 Added option to print the version number. 1992-08-19 03:48:17 +00:00
Rob Savoye 5c670bc122 Added -V option to print version number. 1992-08-19 03:45:36 +00:00
Rob Savoye 249c6fc0d6 Added +version (-V) option to print version number. 1992-08-19 03:25:51 +00:00
Rob Savoye 8fb94c7a78 Added -V option to print the version number. 1992-08-19 03:24:16 +00:00
Ian Lance Taylor f478fcf663 Moved in from p3:
Tue Aug 18 13:28:44 1992  Ian Lance Taylor  (ian@cygnus.com)

	* config/mh-apollo68v: removed -g from CC definition.

	* Makefile.in: always create installation directories.
1992-08-18 20:34:26 +00:00
Per Bothner d6b38bfb24 * m68k-pinsn.c: Minor fix in style of output (don't use
range to indicate floating point control registers).
1992-08-18 01:35:31 +00:00
Per Bothner a00721fc4a * ar.c (main): Don't *always* set the verbose flag! 1992-08-12 06:46:02 +00:00
Roland Pesch 1815e42cc3 Strip has mutated; remove all existing option documentation, document
only -v (verbose).
1992-08-08 01:13:23 +00:00
Per Bothner ee9d275b29 * copy.c: When is_strip (because it is invoked as the strip
program), follow traditional argv processing:
	'strip file1 file2' now strips file1 and file2, rather
	than stripping file1 (as input), leaving output in file2.
1992-08-05 18:46:00 +00:00
David D. Zuhn d4aea631b3 fix INFO-DIR-ENTRY 1992-08-04 08:24:09 +00:00
David Henkel-Wallace e49dde896f more hp config stuff via xpro 1992-07-23 18:41:54 +00:00
K. Richard Pixley d1289d7234 removed rcsids 1992-07-18 01:40:47 +00:00
K. Richard Pixley 249608be94 removed rcsid 1992-07-16 23:56:00 +00:00
Steve Chamberlain cdb76cc39a * objdump.c (display_bfd): print state of BFD_IS_RELAXABLE too 1992-07-16 15:24:23 +00:00
Roland Pesch 8b2c227584 Structural changes for Info file only (no effect on printed manual),
mostly thanks to Gumby suggestions:

  1: move copyright/copying explanation up before top node as usual for
     info files
  2: coalesce main menu and descriptive list of binutils
  3: point directly into separate ld info file from binutils main menu
1992-07-10 23:22:16 +00:00
David Henkel-Wallace 0b0b5dbac1 Support -program_suffix (and make -program_prefix actually work). 1992-07-10 18:37:35 +00:00
Sean Eric Fagan a8cd562d42 Since sconix is treated as an OS (as opposed to vendor), we need to
explicitly check for it.
1992-07-04 21:47:03 +00:00
John Gilmore 65967d33ed Lint. Remove excess whitespace. 1992-06-25 11:54:08 +00:00
Per Bothner 96cc09a0c4 * nm.c (valueof macro): Add missing parentheses.
(Their lack screwed up numeric_forward().)
1992-06-24 20:58:17 +00:00
John Gilmore c3c93fda32 * objdump.c (dump_elf_stabs): Also dump .stab.index and .stab.excl sections.
(dump_elf_stabs_1):  Split out main body of old dump_elf_stabs.
* objdump.1, binutils.texi:  Document new sections dumped.
1992-06-14 17:52:53 +00:00
John Gilmore b886a6e31f Lint 1992-06-13 17:15:12 +00:00
John Gilmore 770cde303d Lint 1992-06-13 05:24:22 +00:00
John Gilmore c5f0c9388a * objdump.1, binutils.texi: Update for --stabs. Also fix
objdump's doc to use -- rather than + for long options.
(FIXME:  Not yet fixed everywhere in binutils.texinfo.)
1992-06-11 09:18:44 +00:00
John Gilmore 73b8f10233 New feature: --stabs prints out a .stab section from an ELF file.
Installed under #ifdef ELF_STAB_DISPLAY so it can be easily disabled,
since it requires bfd-internals header files and such.
1992-06-11 08:23:11 +00:00
Steve Chamberlain aa0a709adc Wed Jun 10 07:53:24 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* objdump.c(display_info), patches from
	mohring@informatik.tu-muenchen.de to print the table much more
	nicely.
1992-06-10 14:57:25 +00:00
David D. Zuhn 6ba70f641e new file from bothner, fixes sparc cross-disassembly core dumps 1992-06-08 07:46:10 +00:00
Mark Eichin 9752f9fdcd use byacc instead of bison. 1992-06-04 19:10:06 +00:00
Per Bothner 7aea847a9e * arlex.l: Don't include <sysdep.h> (unneeded conflicts).
Add declaration of strdup().
1992-05-27 20:06:01 +00:00
Per Bothner 82108c11a9 * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
rules, since these are used when building a distribution.
	* Makefile.in (arlex.c):  Don't re-direct output, since that
	leaves a bogus output files if it fails.
1992-05-22 22:38:13 +00:00
Per Bothner 45212e5e5c * Makefile.in: Better lex support.
* Makefile.in (dist):  Generate flex and bison outputs
	for distribution.
1992-05-22 20:44:24 +00:00
Per Bothner 31f62b8976 * arlex.l: Make work with lex, for what it's worth. 1992-05-22 20:41:25 +00:00
Roland Pesch da52f26bc3 Refer to current version of Binutils (1.97). This will be
automatically synched one day, when Texinfo has at least trivial
macros.
1992-05-21 22:36:24 +00:00
Roland Pesch 27e94bd53c Correct reference to linker manual title (title was "GLD, the GNU linker";
now is "Using LD, the GNU linker").
1992-05-08 00:10:29 +00:00
Roland Pesch ea55afdefe *** empty log message *** 1992-05-07 19:35:26 +00:00
Roland Pesch 765a273ff9 Doc for (MRI-compatible) ar command language. 1992-05-07 19:33:40 +00:00
Steve Chamberlain d24fbb206e * arparse.y: make END call ar_end
* arsup.c (ar_end): added, deletes temp file if archive session
	aborted.
1992-05-07 01:06:34 +00:00
K. Richard Pixley 58137c4d79 FLEX -> LEX. use bison & flex from ../ if they exist 1992-05-06 18:11:09 +00:00
K. Richard Pixley 146a41ab3d remove temporary directory when finished 1992-05-06 18:10:11 +00:00
Per Bothner 5b07d69372 * Makefile.in: Bump to version 1.97.
* ar.c:  Declare errno for machines that need it.
1992-05-05 19:02:24 +00:00
John Gilmore 22923083bf * objdump.c (display_info): Handle error cases without coredump.
Close the dummy temporary file we open in the loop.
* Makefile.in (arsup.o):  Add kludge to build with Sun Make.
1992-05-05 06:31:59 +00:00
K. Richard Pixley 7d6cc102a2 added test-install target 1992-05-02 01:07:09 +00:00
K. Richard Pixley aef3999f1e keep sanity.sh 1992-05-01 23:30:01 +00:00
K. Richard Pixley dc76082997 sanity test 1992-05-01 23:22:07 +00:00
Steve Chamberlain 60c8001642 Add support for 386 disassembly 1992-05-01 22:45:45 +00:00
Steve Chamberlain 289f702dcd i386 disassembler stolen from GDB. Is it time to build a different
directory for these things ?
1992-05-01 22:41:28 +00:00
K. Richard Pixley d8e89b6b95 rework CFLAGS so that they can be passed on the make command line 1992-04-21 20:43:28 +00:00
Steve Chamberlain b7311408af Added EXTRACT command 1992-04-15 22:12:06 +00:00
Steve Chamberlain c0cc691258 Wed Apr 15 14:33:07 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* arsup.c, arsup.h, arparse.y, arlex.l: support for archive
	scripting language.
1992-04-15 21:36:37 +00:00
Steve Chamberlain 0ce51ae990 Dj renaming 1992-02-21 23:06:42 +00:00
Steve Chamberlain 154bf0e891 DJ renaming 1992-02-21 23:06:30 +00:00
Per Bothner d17c317cfe Hack so it Sanitizes cleanly. 1992-02-16 22:42:44 +00:00
Per Bothner 6f34472d93 * Makefile.in: Bump version to 1.96, and remove -beta
suffix from distribution name.
	* m68k-pinsn.c:  New macro COERCE_SIGNED_CHAR to extract
	the signed value of a character (even if chars are unsigned).
	* sparc-pinsn.c:  Add new operand types.
1992-02-16 20:58:45 +00:00
Steve Chamberlain 65cceb7879 * objdump.c (disassemble_data): don't print a section's contents
if it's not loadable (eg bss)
1992-02-06 20:15:19 +00:00
Steve Chamberlain 3bdb6bf8c4 * m68k-pinsn.c (print_insn_arg): fixed so that -ve branch
displacements don't get printed as large +ve ones.
1992-01-28 19:12:16 +00:00
Steve Chamberlain d20f480f8a * copy.c, nm.c, objdump.c, size.c : changed to use the
new reloc scheme.
1992-01-24 22:49:24 +00:00
John Gilmore e6e4459c34 Make `make' output more readable. 1991-12-30 14:10:34 +00:00
John Gilmore 5d13867674 Make it sanitize v9 out of sparc-pinsn.c. 1991-12-17 14:43:59 +00:00
Michael Tiemann 5f4d1571fa Add missing handlers for v9 operands. 1991-12-15 22:04:01 +00:00
Michael Tiemann 76d89cb115 Format inner print loop according to emacs. Code changes will follow
(but be easier to diff).
1991-12-15 20:46:21 +00:00
Steve Chamberlain 311894ea71 Added configdos.bat, makefile.dos 1991-12-12 03:18:12 +00:00
Steve Chamberlain db40ba149d Initial revision 1991-12-12 00:53:23 +00:00
Steve Chamberlain 4b5ea3622d * ar.c: added "b" to fopens for dos
* configdj.bat, makefile.dos new files from DJ
1991-12-12 00:46:32 +00:00
Steve Chamberlain 5a77e9160f * bucomm.h: created to hold prototypes of bucomm.c
* objdump.h: created to hold prototyes of objdump.c
	* am29k-pinsn.c: include objdump.h
	* ar.c: include bucomm.h, get ar.h from the right place and
	include libbfd.h
	* bucomm.c: defunize bfd_fatal
	* copy.c: include bucomm.h, lint.
	* i960-pinsn.h: include bucomm.h
	* m68k-pinsn.h: lint
	* nm.c: include bucomm.h, lint
	* objdump.c: lint
	* sparc-pinsn.c: include objdump.h
1991-12-08 01:14:09 +00:00
Steve Chamberlain 381ed933d3 Initial revision 1991-12-08 01:13:52 +00:00
K. Richard Pixley 5d845d3707 Fri Dec 6 23:02:14 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: added standards.text support.  install using
	  INSTALL_PROGRAM and INSTALL_DATA.

	* configure.in: configure now does all of it's work from objdir so
	  make file existence tests against ${srcdir}.

Thu Dec  5 22:46:22 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
	  and mandir now keyed off datadir by default.
1991-12-07 07:04:11 +00:00
Steve Chamberlain bdce0211a3 Sat Nov 30 18:58:40 1991 Steve Chamberlain (sac at cygnus.com)
* am29k-pinsn.c m68k-pinsn.c nm.c sparc-pinsn.c: now point to where
	the header files have moved to.
1991-12-01 02:59:19 +00:00
Steve Chamberlain 4aa58a0a29 Updated to point to where the header files are now 1991-12-01 02:58:37 +00:00
Per Bothner d08a5233d9 Various improvements. 1991-11-18 20:06:48 +00:00
Per Bothner 782d79636d * Makefile.in: Bump to version 1.92.
* version.c, Makefile.in:  Get version string from Makefile.
	* copy.c, is-strip.c, not-strip.c, maybe-strip.c, Makefile.in:
	Make the same change that we earlier did for ar/ranlib:
	Generate two different binaries for strip and copy and use
	a global variable with different values to distinguish
	ostrip from copy.  (-1 means to use argv[0] to decide,
	so you can get the old behavior, but it is no longer the default).
	* copy.c (copy_file):  Set EXEC_P of output bfd if input is so.
	* copy.c (main):  If is_strip==-1, compare last 5 chars
	of argv[0], not the whole path.
	* copy.c (main): Return 0, not 1.
	* copy.c (setup_sections):  Fix due to change in bfd_make_section
	now failing if asked for a duplicate section.
	* strip.c, ostrip.c:  Removed obsolete files.
	* ar.c, not-ranlib.c, maybe-ranlib.c:
	Change encoding of is_ranlib variable to be consistent
	with is_strip for strip.copy (i.e -1 to means use argv[0]).
1991-11-18 08:04:14 +00:00
Per Bothner cf0cdb8751 Initial revision 1991-11-18 08:04:02 +00:00
Roland Pesch c83497f545 .Sanitize: reflect someone's apocopation of binutils.texi[nfo] name
Makefile.in: improve texi2roff workarounds
1991-11-15 23:34:35 +00:00
Roland Pesch 6141fd50d6 Remove '-' prefix from makeinfo invocation. There are no info errors
in doc here; if any creep in I want a bug report.
1991-11-14 01:11:52 +00:00
K. Richard Pixley de53632ceb build and install info; install other correctly 1991-11-14 00:14:57 +00:00
K. Richard Pixley 9abcc3b8c4 added info dir menu hooks 1991-11-14 00:11:15 +00:00
Roland Pesch 2226a09076 (1) repair Makefile targets involving "binutils.texinfo" to use
instead new short name "binutils.texi" (which presumably someone
changed for SysV short-name file systems).

(2) use [what I understand to be] current conventions for $srcdir,
makeinfo -o.

(3) more filtering of roff'able target forms of doc.
1991-11-14 00:06:25 +00:00
K. Richard Pixley c72af73543 Initial revision 1991-11-13 19:01:53 +00:00
Per Bothner 68a2b608ed * ar.c (get_pos_bfd): Previous fix was missing a "break". 1991-11-13 00:19:34 +00:00
Steve Chamberlain f79edb02ab Added the $(MINUS_G) flag so that debugging can be turned off 1991-11-11 17:51:21 +00:00
Steve Chamberlain bb5ae298fc Now runs write_armap, even when listing contents. 1991-11-09 01:07:40 +00:00
Steve Chamberlain 66f3e59427 Fixed bug printing 29050 instructions. 1991-11-09 00:13:31 +00:00
Roland Pesch ec34e28bb4 Fix missing brackets, parens, discovered during man-page conversion. 1991-11-08 00:31:44 +00:00
K. Richard Pixley 84396dcf34 install man pages too 1991-11-08 00:14:07 +00:00
Steve Chamberlain 86c18d92d2 *** empty log message *** 1991-11-07 16:57:21 +00:00
Steve Chamberlain 05b47bfbff Added nm.1, objdump.1, ranlib.1, size.1 and strip.1 1991-11-06 09:06:02 +00:00
Roland Pesch df22f46905 Initial revision 1991-11-05 23:35:16 +00:00
Roland Pesch 2c8df22dde Initial revision 1991-11-05 23:19:25 +00:00
Roland Pesch 75470b8ee1 Fix for slight formatting error discovered while converting man pages. 1991-11-05 22:53:44 +00:00
Roland Pesch 5ad691d474 Initial revision 1991-11-05 22:52:54 +00:00
Roland Pesch 19450a0c52 Initial revision 1991-11-05 22:43:50 +00:00
Roland Pesch 503b93500b Initial revision 1991-11-05 22:29:15 +00:00
Roland Pesch 0f6863a5c7 Initial revision 1991-11-05 22:18:44 +00:00
Steve Chamberlain c3a0b87a43 Added README to .Sanitize
Made Makefile.in install using ddestdir
1991-11-05 20:53:19 +00:00
K. Richard Pixley 40773f7f3f find include files 1991-11-05 00:06:29 +00:00
Per Bothner b27d204648 * Makefile.in ($(DIST_NAME).tar.Z), TODO: Various fixes.
* ar.c (get_pos_bfd): Fix to handling of before/after
	positioning options.
	* bucomm.c (fatal):  MISSING_VFPRINTF is no longer an issue,
	since libiberty contains vfprintf etc if otherwise missing.
	* m68k-pinsn.c (print_insn_arg):  Support BB/BW/BL
	type operands, as used by branch instructions.
	* nm.c:  Delegate printing of symbols to BFD,
	by using bfd_print_symbol to do the formatting.
1991-11-03 22:58:48 +00:00
Roland Pesch 715eb31fa9 *** empty log message *** 1991-11-01 01:46:59 +00:00
Roland Pesch 9f06bb91f2 Minor corrections from proofreading pass for WRS. 1991-10-29 21:27:01 +00:00
Steve Chamberlain 0885eef129 Don't care about an unlink failure 1991-10-29 07:13:23 +00:00
Steve Chamberlain 5f0e876707 * ar.c (write_archive.c): added unlink before rename since some
systems can't rename onto an existant file.
1991-10-28 19:22:12 +00:00
Steve Chamberlain 7e3091046d * nm.c: now doesn't crash if a symbol with no section and no
SEC_ABS appears.
1991-10-21 16:48:10 +00:00
Per Bothner d8474a9bc1 * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
	* strip.c: Add or update Copyright notice.
	* TODO:  Add note on 'nm -a'.
	* version.c: Update version number to 1.90.
	* Makefile.in: Fix making of documentation for dist.
1991-10-16 18:57:08 +00:00
Roland Pesch 0c10ff03a5 New targets binutils.mm, binutils.me 1991-10-15 00:35:13 +00:00
John Gilmore d7cce023da Avoid Sun Make VPATH bugs by adding dependencies. 1991-10-12 05:44:58 +00:00
Roland Pesch 6b58372076 * Makefile.in: add target "binutils.ms" 1991-10-11 23:11:17 +00:00
Roland Pesch abd4aaa9cb * binutils.texinfo: minor restructuring for texi2roff comfort.
(said "makeinfo" rather than "texi2roff" by mistake in CVS log for binutils.
This one's right.  Good thing, since this one's the distributed log...
1991-10-11 19:52:56 +00:00
Roland Pesch 15c1f44db6 More literal adherence to "standard" texinfo usage of @tex, @title, @author,
etc., for makeinfo's comfort.
1991-10-11 19:50:14 +00:00
John Gilmore d7381d0cb0 Restructure configuration scheme for bfd, binutils, ld.
* include/sys/h-*.h:  Move to bfd/hosts/h-*.h.
* configure.in:  Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
Change some config names to match other dirs.
* *.c:  Include bfd.h before sysdep.h, so ansidecl and PROTO()
get defined first.
* Makefile.in:  Use -I. to get sysdep.h.
1991-10-11 11:24:04 +00:00
John Gilmore 7eff5bcf96 Use -I. to get sysdep.h. 1991-10-11 11:22:25 +00:00
John Gilmore 2a5f387b08 Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 1991-10-11 11:22:05 +00:00
K. Richard Pixley 1a31570390 updating 1991-10-10 11:59:25 +00:00
Per Bothner 3f51b6cf18 * nm.c (print_symbols): Handle NULL name field of symbol.
* Makefile.in: Removed spurious comment.
1991-10-10 05:44:37 +00:00
Roland Pesch 843b88bafe Oops... forgot 1.9 -> 1.90 last time around... 1991-10-10 00:56:38 +00:00
Roland Pesch 8706a92ce1 Warn 'ar q' doesn't update archive ST index. 1991-10-10 00:48:05 +00:00
Roland Pesch c9629e6eac * binutils.texinfo: minor typos, phrasing, formatting fixes. 1991-10-08 23:55:58 +00:00
Per Bothner 398eef0a8d * configure.in: Get host file from ../bfd/config, not config. 1991-10-08 22:15:27 +00:00
Roland Pesch b7a11ec217 * Makefile.in: new targets binutils.dvi, binutils.info 1991-10-08 22:01:41 +00:00
Roland Pesch 050f05e73f Tue Oct 8 13:58:59 1991 Roland H. Pesch (pesch at cygnus.com)
* binutils.texinfo: remove most remaining FIXME's, delete
	references to __.SYMDEF by name
1991-10-08 20:59:54 +00:00
Steve Chamberlain 71e83453e5 Tue Oct 8 10:23:44 1991 Steve Chamberlain (steve at cygnus.com)
* objdump.c (print_address) Print addresses nicely.
1991-10-08 18:07:33 +00:00
Roland Pesch f036c5d55f Two formatting bugfixes. 1991-10-08 02:28:43 +00:00
Roland Pesch 2f3c1742f7 Updated sketchy doc for devo versions. FIXMEs remain. 1991-10-08 02:22:16 +00:00
John Gilmore 598f2864d2 Remove configure and config.sub from the expected list. 1991-10-08 01:50:59 +00:00
John Gilmore aa41241ff4 Add binutils.texinfo, and change *-ranlib.o to *-ranlib.c. 1991-10-08 01:48:04 +00:00
Per Bothner 8539db10f4 Fixed typo (for RANLIB_PROG).
Started writing rules for making a tar file.
1991-10-08 00:56:23 +00:00
Per Bothner 06a97fbd00 * ar.c, Makefile.in, new files {is,not,maybe}-ranlib.c:
Make two different binaries for ar and ranlib, instead of
	distinguishing them at run time using argv[0].
	(Old behavior is still available if you "make ar_with_ranlib",
	but it is not the default.)
	* ranlib.sh (new):  An alternative one-line
	shell implementation of ranlib.
1991-10-07 23:14:30 +00:00
Per Bothner ef82baf8c5 Initial revision 1991-10-07 23:14:25 +00:00
John Gilmore e779a58cf4 Cope with renames of a few BFD types & enums. 1991-10-05 04:50:54 +00:00
Roland Pesch 0a5403df39 *** empty log message *** 1991-10-05 02:08:34 +00:00
Roland Pesch de5fd53b81 Initial revision 1991-10-05 02:07:51 +00:00
K. Richard Pixley f1eb48b62e no more configure on which to depend 1991-10-02 07:24:45 +00:00
K. Richard Pixley 5a168a17ee resync 1991-10-02 04:15:56 +00:00
K. Richard Pixley b9fe720d06 steves h8 patches 1991-10-02 04:01:08 +00:00