Ian Lance Taylor
f516798679
* ieee.c: New file with code to read IEEE debugging information.
...
* budbg.h (parse_ieee): Declare.
* rddbg.c (read_debugging_info): Handle IEEE flavour files.
(read_ieee_debugging_info): New static function.
* Makefile.in: Rebuild dependencies.
(CFILES): Add ieee.c.
(OBJDUMP_OBJS): Add ieee.o.
1996-01-04 21:35:04 +00:00
Jeff Law
dcd6706b1a
* nm.c ( long_options): Add "--defined-only" option.
...
(usage): Update for new "--defined-only" option.
(filter_symbols): Handle "--defined-only".
Part of mentor vm work.
1995-12-30 17:02:06 +00:00
Ian Lance Taylor
428e7fb4c2
* arparse.y: Include "bucomm.h", not <sysdep.h>.
...
* nlmheader.y: Don't include "sysdep.h".
1995-12-29 21:02:02 +00:00
Ian Lance Taylor
5d0bc3b9df
* nm.c (print_symdef_entry): Check return value of
...
bfd_get_elt_at_index.
1995-12-26 23:20:35 +00:00
Michael Meissner
7920c1d195
Build dlltool if config is powerpc*-*-win*
1995-12-23 16:05:03 +00:00
Steve Chamberlain
445604d7eb
* dlltool.c (fill_ordinals): Start from 1 if no other instructions
...
given.
1995-12-15 15:52:56 +00:00
Ian Lance Taylor
64c4b2ad86
* Makefile.in (clean): Remove $(DEMANGLER_PROG).1. From Ronald
...
F. Guilmette <rfg@monkeys.com>.
1995-12-12 17:08:17 +00:00
Stan Shebs
f44f761453
* mac-binutils.r: Fix copyright and version strings.
...
* Makefile.in (version): Remove, no longer used.
1995-12-11 22:35:35 +00:00
Stan Shebs
67e69d7e9e
* mpw-make.sed (install, install-only): Edit in Mac-specific
...
install procedure.
1995-12-01 22:44:24 +00:00
Kim Knuttila
b10f8e5e5c
PowerPC changes
1995-12-01 02:08:19 +00:00
David Edelsohn
799de4c4a0
* dlltool.c (fill_ordinals): Don't reference d_export_vec if
...
there are no exported functions.
1995-11-29 01:25:25 +00:00
Ian Lance Taylor
390ddfdb61
* configure: Regenerate with autoconf 2.7.
1995-11-27 18:06:54 +00:00
Ian Lance Taylor
20dec772cd
* dlltool.c (fill_ordinals): Start assigning ordinals at 1.
...
PR 8500.
1995-11-22 20:47:19 +00:00
Ian Lance Taylor
53e174d692
* Makefile.in (EXPECT): Use $$r, not $${rootme}.
...
(check): Set r, not rootme.
1995-11-22 18:18:21 +00:00
Ian Lance Taylor
53fb794b31
* configure.in: Use BFD_NEED_DECLARATION.
...
* acconfig.h: Put NEED_DECLARATION_FPRINTF in @TOP@ section.
* configure, config.in: Rebuild with autoconf 2.6.
1995-11-21 23:23:10 +00:00
Ken Raeburn
b218076e59
version 2.6
1995-11-16 10:12:33 +00:00
Ian Lance Taylor
6922e654db
* dlltool.c: Use FOPEN_* macros rather than "r" or "w".
1995-11-14 23:03:25 +00:00
Ian Lance Taylor
6d93c36004
* dlltool.c (fill_ordinals): Correct memset call.
1995-11-14 22:20:12 +00:00
Stan Shebs
d101d7bf06
* mpw-make.sed (DEMANGLER_PROG): Edit out attempts to do anything
...
with the man page.
1995-11-12 21:03:38 +00:00
Ian Lance Taylor
ec0cfbaa08
* arsup.c (ar_open): Cast malloc return value.
1995-11-08 16:34:56 +00:00
Kim Knuttila
206dc163b9
Small PPC support changes
1995-11-07 20:47:48 +00:00
Ian Lance Taylor
ae0daa111e
* configure.in: Don't treat rs6000-*-lynx* specially.
...
* configure: Rebuild.
* config/rslynx: Remove.
* Makefile.in: Remove @target_makefile_fragment@.
1995-11-07 19:04:29 +00:00
Ian Lance Taylor
28b5eb12a3
* bucomm.h: Include <sys/types.h>.
...
* ar.c: Don't include <sys/types.h> or <stdio.h>.
* bucomm.c, dlltool.c, nlmconv.c, objcopy.c, objdump.c: Likewise.
1995-11-06 20:03:01 +00:00
Ian Lance Taylor
0140d7463d
* objdump.c: Include <sys/types.h>.
1995-11-03 19:11:41 +00:00
Ian Lance Taylor
293129ca0e
Permit user to override DEMANGLER_PROG from command line. From
...
Manfred Hollstein <manfred@lts.sel.alcatel.de>.
* Makefile.in ($(DEMANGLER_PROG)): Depend upon
$(DEMANGLER_PROG).1.
(install): Don't depend upon $(DEMANGLER_PROG).1. Only install
$(DEMANGLER_PROG).1 if $(DEMANGLER_PROG) is not empty.
1995-11-03 17:44:16 +00:00
Ian Lance Taylor
97f264c0e6
Wed Nov 1 15:04:57 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
...
* Makefile.in (syslex.o): add -I$(srcdir) if compiling in a
separate directory.
1995-11-01 20:06:30 +00:00
Ian Lance Taylor
c5ba27591a
* objdump.c (objdump_print_value): New static function.
...
(objdump_print_address): Use it. If we need the right section for
the symbol, and we can't find it, print an offset from the section
rather than using a symbol from some other section.
PR 8251.
1995-10-30 19:34:02 +00:00
Steve Chamberlain
356c68ff62
Thu Oct 26 10:23:14 1995 steve chamberlain <sac@slash.cygnus.com>
...
* dlltool.c (no_idata4, no_idata5): New.
(arm_jtab): Use correct encoding of jump instruction.
(usage, main, make_head, make_tail): Act on no_idata4, no_idata5.
1995-10-28 08:35:43 +00:00
Stan Shebs
e78d175068
* mpw-make.sed: Edit paths to generated y.tab.[ch] files.
1995-10-25 19:12:25 +00:00
Ian Lance Taylor
8490169d21
* binutils.texi: Change --with-targets to --enable-targets.
1995-10-20 22:42:21 +00:00
Fred Fish
934641476c
* Makefile.in: Remove extraneous tab on otherwise empty line,
...
which confuses many non-GNU versions of "make".
1995-10-20 20:58:45 +00:00
Steve Chamberlain
87b1a0733b
Fri Oct 13 11:04:37 1995 steve chamberlain <sac@slash.cygnus.com>
...
* deflex.l: Allow quoting of IDs.
* defparse.y (%union): string deleted.
(command): DESCRIPTION takes ID.
* dlltool.c (gen_def_file): Quote outgoing name if
necessary. Preserve NONAME.
(gen_lib_file): Run ranlib.
(workout_prefix): Deleted.
(main, usage, long_options): Add --as, --ranlib, --ar options.
1995-10-13 18:08:46 +00:00
Steve Chamberlain
f051e1b0af
Wed Oct 11 13:36:13 1995 steve chamberlain <sac@slash.cygnus.com>
...
* dlltool.c (mtable): HOW_ALIGN_LONG, new.
(d_ord): Deleted.
(d_low_ord, d_high_ord, d_named_funcs): New.
(gen_exp_file): Create noname entries correctly.
(gen_lib_file): Dump exports alphabetically.
(process_duplicates): Count nonamed functions.
(fill_ordinals): Keep track of highest ord too.
(mangle_defs): Create alphabetically ordered list of names.
1995-10-11 20:40:45 +00:00
Steve Chamberlain
be92df36be
Tue Oct 10 09:39:09 1995 steve chamberlain <sac@slash.cygnus.com>
...
* Makefile.in (TOOL_PROGS): Include DLLTOOL_PROG.
1995-10-10 16:39:35 +00:00
Steve Chamberlain
531f86b422
Mon Oct 9 13:06:31 1995 steve chamberlain <sac@slash.cygnus.com>
...
* dlltool.c (add_underscore): New.
(xlate): Use new name.
(main, usage): Update.
1995-10-09 20:08:13 +00:00
Ken Raeburn
5740d9dfb6
Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* nm.c (print_symname): Don't try to demangle an empty name.
* objdump.c (slurp_symtab): Reset symcount if there are no symbols.
(slurp_dynamic_symtab): Likewise, for dynsymcount.
(disassemble_data): Fix memory leak: free sorted_syms when done.
(display_bfd): Likewise, for syms and dynsyms.
(dump_relocs): Don't print header before possibly generating an error message.
(dump_dynamic_relocs): Likewise.
* ar.1, nm.1, objdump.1, size.1, strings.1, strip.1: Fix typos and formatting
bugs.
1995-10-06 20:48:58 +00:00
Ken Raeburn
5d62609f95
* sysinfo.y: Eliminate unused terminals "[" and "]" and unused nonterminal
...
"name". One s/r conflict remains.
1995-10-06 18:12:45 +00:00
Ian Lance Taylor
fd9609c3e8
* ar.c (do_quick_append): Comment out.
...
(replace_members): Add quick argument.
(main): Don't call do_quick_append.
(open_inarch): Don't call quick_append to create an empty archive.
Instead call bfd_openw/bfd_set_format/bfd_close.
1995-10-06 16:02:43 +00:00
Ken Raeburn
4840bb6d59
* bucomm.c: Always include time.h.
1995-10-06 02:21:05 +00:00
Ian Lance Taylor
db552bdadc
* objdump.c (compare_symbols): Sort gnu_compiled and gcc2_compiled
...
symbols after other symbols with the same value. Likewise for
symbols which look like file names.
(objdump_print_address): Always chose the first reasonable symbol
with a given value.
PR 8148.
1995-10-05 21:31:58 +00:00
Ian Lance Taylor
243b35d7a1
* arsup.c (ar_save): Use rename, not unlink/link/unlink.
1995-10-04 02:39:59 +00:00
Ian Lance Taylor
a19f84a79b
* strings.c (main): Exit with zero status if no files are given
...
and standard input is read.
1995-10-02 16:11:07 +00:00
Steve Chamberlain
7e3fa3b249
* dlltool.c: (gen_exp_file): Always emit a .reloc section if relocatable.
...
(imp_name_lab): New.
(gen_def_file): New.
(gen_lib_file): Use imp_name_lab.
(main): Initialize imp_name_lab.
1995-09-28 22:51:39 +00:00
Ian Lance Taylor
27fca56f98
* configure.in: Call AC_HEADER_SYS_WAIT.
...
* configure: Rebuild.
* config.in: Rebuild.
* dlltool.c: Include "libiberty.h" and "bucomm.h". Don't include
<stdio.h>, <stdlib.h>, or <string.h>. Don't include <wait.h>.
Include <sys/types.h>. Use HAVE_SYS_WAIT_H to control whether to
include <sys/wait.h> or define the wait macros by hand. Don't
declare xmalloc.
(gen_lib_file): Don't assume that sprintf returns the number of
characters; use strlen instead.
1995-09-25 16:22:43 +00:00
Ian Lance Taylor
8f4670da40
* objdump.c (disassemble_data): Don't use the old BFD based
...
disassembler interface. Make info a const pointer.
1995-09-22 21:19:38 +00:00
Ian Lance Taylor
aa21a2a9ec
* objdump.c (start_address): New variable.
...
(stop_address): New variable.
(usage): Mention --start-address and --stop-address.
(OPTION_START_ADDRESS, OPTION_STOP_ADDRESS): Define.
(long_options): Add "start-address" and "stop-address".
(disassemble_data): Handle start_address and stop_address.
(dump_data, dump_reloc_set): Likewise.
(main): Don't set seenflag for -l. Handle OPTION_START_ADDRESS
and OPTION_STOP_ADDRESS.
* objcopy.c (parse_vma): Move to bucomm.c.
* bucomm.c (parse_vma): New function, moved in from objcopy.c.
* bucomm.h (parse_vma): Declare.
* binutils.texi, objdump.1: Document new objdump options.
PR 7983.
1995-09-13 22:38:55 +00:00
Ian Lance Taylor
4977f3b47e
* Makefile.in (maintainer-clean): New target.
1995-09-12 22:23:17 +00:00
Ian Lance Taylor
a9a14e9171
* ar.c (replace_members): Don't call write_archive if nothing
...
changed.
1995-09-12 19:31:03 +00:00
Ian Lance Taylor
746cffcf6a
* objdump.c (disassemble_data): Add casts to avoid gcc warnings.
1995-09-12 16:39:12 +00:00
Ian Lance Taylor
320d4f291f
* config.in: Rename from config.h.in.
...
* configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
Check for config.h:config.in when creating stamp-h.
* configure: Rebuild.
* Makefile.in (stamp-h): Depend upon config.in rather than
config.h.in. Set CONFIG_HEADERS to config.h:config.in when
calling config.status.
1995-09-07 17:12:26 +00:00