Commit Graph

339 Commits

Author SHA1 Message Date
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