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
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
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
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
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
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
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
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 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
David Henkel-Wallace
0b0b5dbac1
Support -program_suffix (and make -program_prefix actually work).
1992-07-10 18:37:35 +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
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
Roland Pesch
ea55afdefe
*** empty log message ***
1992-05-07 19:35:26 +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
dc76082997
sanity test
1992-05-01 23:22:07 +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
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
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
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
Steve Chamberlain
86c18d92d2
*** empty log message ***
1991-11-07 16:57:21 +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