Commit graph

21 commits

Author SHA1 Message Date
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
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
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
Per Bothner
a51d4b418b * Makefile.in: Let's call it version 2.0. 1992-09-03 21:14:53 +00:00
Rob Savoye
5c670bc122 Added -V option to print version number. 1992-08-19 03:45:36 +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
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
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
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
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
John Gilmore
2a5f387b08 Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first. 1991-10-11 11:22:05 +00:00
Steve Chamberlain
21214e8e88 Use the new architecture functions 1991-10-01 03:50:57 +00:00
Steve Chamberlain
7ed4093abc *** empty log message *** 1991-05-21 00:14:16 +00:00
Steve Chamberlain
fc5d607456 Mon May 20 16:14:07 1991 Steve Chamberlain (steve at cygint.cygnus.com)
* Changed some types to work with 64 bit object files
1991-05-20 23:15:15 +00:00
Steve Chamberlain
23565c68dc C
VS: ----------------------------------------------------------------------
1991-05-12 07:34:24 +00:00
John Gilmore
1417a2cd1c Fix =&'s in copy.c 1991-05-04 05:22:47 +00:00
David Henkel-Wallace
ad19c0a2d1 Fixed some bd in which temp files and directory were left around.
Dir itself has a short enough name to function under sysv.
1991-04-08 20:40:37 +00:00
Steve Chamberlain
b6fc45ca4c *** empty log message *** 1991-04-04 17:55:47 +00:00
Steve Chamberlain
b473cf198e If stripping, don't copy reloc info 1991-03-26 22:05:50 +00:00
Steve Chamberlain
617cd57142 Now returns correct status. 1991-03-26 20:52:21 +00:00
David Henkel-Wallace
c074abeebc Back from Intel with Steve 1991-03-21 21:29:07 +00:00