Per Bothner
3ae36cb686
* objdump.c (syms2): Removed unused variable.
...
* objdump.c (remove_useless_symbols): New function.
* objdump.c (comp): Simplify.
* objdump.c (dis-assemble_data): Make simpler and more
efficient how we filter out useless symbols: Just filter
BEFORE the sort (using remove_useless_symbols).
* objdump.c (objdump_print_address): Simplify.
Change output syntax to match gdb.
1993-06-18 21:37:21 +00:00
David D. Zuhn
c8fee4a53e
canonicalize install.sh location
1993-06-18 00:35:08 +00:00
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
Per Bothner
f63e502ba1
* objcopy.c (copy_object): Fix bad size passed to xmalloc().
1993-06-11 00:34:26 +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
6c69b6bde1
* biutils.texi: revised c++filt chapter
1993-05-28 00:00:59 +00:00
Ian Lance Taylor
4447efa217
* Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS.
1993-05-27 00:28:16 +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 MacKenzie
386803c0be
Improve error messages.
1993-05-21 19:39:15 +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
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
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
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
3e7f73db77
* Makefile.in: Changed check target to use DejaGnu.
1993-04-08 05:23:39 +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
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
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
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
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
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
David D. Zuhn
b19753b911
include file handling changes
1992-11-08 00:01:46 +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
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
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