David MacKenzie [Sun, 8 Aug 1993 02:14:01 +0000 (02:14 +0000)]
cleanup
Fred Fish [Sun, 8 Aug 1993 00:30:07 +0000 (00:30 +0000)]
* elfread.c (elf_symtab_read): Properly sort out the bss symbols
from the data symbols and give them the correct minimal_symbol_type.
Add file static symbols to the minimal symbol table, not just
global symbols. Add absolute symbols as well (like _edata, _end).
Redo stabs-in-elf special symbol handling now that file static
symbols are entered into the into the minimal symbol table.
David MacKenzie [Sat, 7 Aug 1993 22:45:02 +0000 (22:45 +0000)]
add pointer to config/README
David MacKenzie [Sat, 7 Aug 1993 22:43:02 +0000 (22:43 +0000)]
document bfdsumm.texi
David MacKenzie [Sat, 7 Aug 1993 22:38:22 +0000 (22:38 +0000)]
make target selection fully configurable
Fred Fish [Sat, 7 Aug 1993 20:27:19 +0000 (20:27 +0000)]
* elfread.c (elf_symtab_read): Properly sort out the bss symbols
from the data symbols and give them the correct minimal_symbol_type.
Add file static symbols to the minimal symbol table, not just
global symbols. Ignore symbols that are section names and file names.
* dwarfread.c (add_partial_symbol): Add comment about limitations
of DWARF symbols for distinquishing data from bss when adding
minimal symbols. Add file local symbols to minimal symbols.
Fred Fish [Sat, 7 Aug 1993 14:47:55 +0000 (14:47 +0000)]
* gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
in text, data, and bss.
* gdb.t10/nodebug.c: Add local and global test variables for
initialized and uninitialized data.
Fred Fish [Sat, 7 Aug 1993 14:46:21 +0000 (14:46 +0000)]
* elfcode.h (elf_object_p): Add comment about what this function
does and to watch out for side effects. Add FIXME for memory leaks.
Fix comment about checking for matching byte order. Preserve
pointer to old tdata (if any), and restore it if we don't match
file with target vector. If we are going to use goto's, use them
consistently and maintainably.
* nlmcode.h (nlm_object_p): Expand comments about leaked memory
to note that the problem is even more serious than just leaked
memory. Replace goto with more traditional return.
David MacKenzie [Sat, 7 Aug 1993 01:35:00 +0000 (01:35 +0000)]
cleanups
David MacKenzie [Sat, 7 Aug 1993 01:12:47 +0000 (01:12 +0000)]
gpl -> lgpl
David MacKenzie [Sat, 7 Aug 1993 00:24:31 +0000 (00:24 +0000)]
update from FSF
David MacKenzie [Sat, 7 Aug 1993 00:06:35 +0000 (00:06 +0000)]
update from FSF
David MacKenzie [Fri, 6 Aug 1993 20:13:28 +0000 (20:13 +0000)]
clean up error messages
David MacKenzie [Fri, 6 Aug 1993 20:11:42 +0000 (20:11 +0000)]
add hp300bsd to default target vector
Ian Lance Taylor [Fri, 6 Aug 1993 20:04:22 +0000 (20:04 +0000)]
* ecoff.c (ecoff_set_symbol_info): Removed special handling for
scBss and scSBss symbols, since it was wrong.
Ken Raeburn [Fri, 6 Aug 1993 19:29:57 +0000 (19:29 +0000)]
* libelf.h (NAME): Provide a default definition, that's neither
for 32 bits nor for 64.
Tue Jun 15 14:38:32 1993 Michael Meissner (meissner@osf.org)
* libelf.h (elf_hash): Change declaration to bfd_elf_hash, since
that is what is in elf.c.
Ken Raeburn [Fri, 6 Aug 1993 19:27:43 +0000 (19:27 +0000)]
changes to write.c, obj-elf.c, tc-sparc.c
Ken Raeburn [Fri, 6 Aug 1993 19:24:28 +0000 (19:24 +0000)]
v9 changes
Ian Lance Taylor [Fri, 6 Aug 1993 19:17:36 +0000 (19:17 +0000)]
* Makefile.in (coff-mips.o, coff-alpha.o): Don't depend on
coffcode.h.
Ian Lance Taylor [Fri, 6 Aug 1993 19:12:47 +0000 (19:12 +0000)]
* coffcode.h (sec_to_styp_flags): Inspired by mb@tti.COM (Michael
Bloom): Only set STYP_BSS for SEC_ALLOC sections.
Ian Lance Taylor [Fri, 6 Aug 1993 18:46:17 +0000 (18:46 +0000)]
* configure.in (mips-*-riscos*, mips-*-sysv*): New (untested)
targets, using ecoff and mips-big.
Ian Lance Taylor [Fri, 6 Aug 1993 18:35:03 +0000 (18:35 +0000)]
* scripttempl/mips.sc: Always define _ftext, _fdata, _fbss.
(BSS_VAR): Removed; now always define _fbss.
* emulparams/mipsidt.sh, emulparams/mipsidtl.sh (BSS_VAR):
Removed.
Ian Lance Taylor [Fri, 6 Aug 1993 16:39:44 +0000 (16:39 +0000)]
* ecoff.c (ecoff_slurp_armap): From Arne Henrik Juul
<arnej@kari.fm.unit.no>: Handle a COFF style armap.
Ken Raeburn [Fri, 6 Aug 1993 16:10:40 +0000 (16:10 +0000)]
(md_apply_fix): Fill in values for BFD_RELOC_{32,64}, not zeros.
(md_pseudo_table): Handle .uaxword.
Ian Lance Taylor [Fri, 6 Aug 1993 15:20:49 +0000 (15:20 +0000)]
* mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Took
coprocessor instructions out of #if 0, and made them use new
argument type "C".
Ian Lance Taylor [Fri, 6 Aug 1993 15:14:31 +0000 (15:14 +0000)]
* config/tc-mips.c (mips_ip): From davidj@ICSI.Berkeley.EDU (David
Johnson): Added case for 'C' for coprocessor instruction codes.
Jim Kingdon [Fri, 6 Aug 1993 15:06:23 +0000 (15:06 +0000)]
* hpux-core.c: Cast return value from bfd_zalloc.
Jim Kingdon [Fri, 6 Aug 1993 07:25:02 +0000 (07:25 +0000)]
* ser-go32.c: Define job_control variable.
Jim Kingdon [Fri, 6 Aug 1993 07:11:16 +0000 (07:11 +0000)]
* ser-go32.c: Define job_control variable.
David D. Zuhn [Thu, 5 Aug 1993 23:15:04 +0000 (23:15 +0000)]
use mh-hp300
David D. Zuhn [Thu, 5 Aug 1993 22:57:13 +0000 (22:57 +0000)]
handle z8k-coff
David MacKenzie [Thu, 5 Aug 1993 22:49:26 +0000 (22:49 +0000)]
error fixes and clarifications
David D. Zuhn [Thu, 5 Aug 1993 22:46:44 +0000 (22:46 +0000)]
new file for hp300 hosts
Jim Kingdon [Thu, 5 Aug 1993 22:16:40 +0000 (22:16 +0000)]
* sparc-dis.c: Include ansidecl.h before opcodes/sparc.h.
Ken Raeburn [Thu, 5 Aug 1993 21:21:30 +0000 (21:21 +0000)]
(write_object_file): Test DEBUG_SYMS instead of DEBUG for verifying sym chain.
(merge_data_into_text, relax_and_size_all_segments): New fns, split out from
write_object_file.
Ken Raeburn [Thu, 5 Aug 1993 19:23:43 +0000 (19:23 +0000)]
Makefile.in, bfd-in.h, reloc, elf32-i386, elfcode changes
Jim Kingdon [Thu, 5 Aug 1993 19:06:24 +0000 (19:06 +0000)]
* 29k-share/udi/udip2soc.c: Include sys/types.h before sys/file.h.
Ken Raeburn [Thu, 5 Aug 1993 18:36:19 +0000 (18:36 +0000)]
regenerated
Ken Raeburn [Thu, 5 Aug 1993 18:32:50 +0000 (18:32 +0000)]
Wed Jun 23 06:05:58 1993 Michael Meissner (meissner@osf.org)
* elfcode.h (elf_write_object_contents): Don't drop core if
elf_symbol_from returns a NULL pointer when processing a non-elf
symbol, use a 0 size instead.
Tue Jun 15 14:38:32 1993 Michael Meissner (meissner@osf.org)
* elfcode.h (elf_hash): Delete macro mapping elf_hash to
bfd_elf32_hash, since the hash table is independent of the 32/64
bit system.
Ken Raeburn [Thu, 5 Aug 1993 18:27:16 +0000 (18:27 +0000)]
rewrite comment -- bfd-in2.h is generated too
Ken Raeburn [Thu, 5 Aug 1993 18:24:21 +0000 (18:24 +0000)]
add i386-elf relocs (from Meissner)
Ken Raeburn [Thu, 5 Aug 1993 18:20:20 +0000 (18:20 +0000)]
(BFD_LIBS): Always include elf.o.
(BFD32_BACKENDS): Don't include elf.o here.
(ofiles): Delete references to ofiles2 and ofiles3.
(do_clean): Delete ofiles.
(BFDIN_H): Changed references to $(srcdir)/bfd-in2.h.
(stmp-bfd.h): Use bfd.h-new as temporary name, not bfd.h2.
(headers): Use bfd-in2.h-new as temporary name, not bfd.h-new.
Jim Kingdon [Thu, 5 Aug 1993 17:53:42 +0000 (17:53 +0000)]
* config/i386/tm-i386bsd.h (NUM_REGS): There are only 10, not 11.
Fred Fish [Thu, 5 Aug 1993 17:22:58 +0000 (17:22 +0000)]
* nlmcode.h (nlm_get_reloc_upper_bound): Test return value
of nlm_slurp_symbol_table as boolean, not pointer.
* nlmcode.h (nlm_canonicalize_reloc): Test return value
of nlm_slurp_reloc_fixups as boolean, not pointer.
Jim Kingdon [Thu, 5 Aug 1993 17:21:51 +0000 (17:21 +0000)]
* config/unix-gdb.exp (gdb_exit): Add "wait".
Ken Raeburn [Thu, 5 Aug 1993 17:14:11 +0000 (17:14 +0000)]
read.c change; yesterdays elf/sparc changes
Ken Raeburn [Thu, 5 Aug 1993 17:07:22 +0000 (17:07 +0000)]
(emit_expr): Use BFD_RELOC_64 fr 8-byte expressions.
Jim Kingdon [Thu, 5 Aug 1993 16:08:22 +0000 (16:08 +0000)]
* inflow.c: Put all uses of F_GETFL and F_SETFL in #ifdef F_GETFL.
Mark Eichin [Thu, 5 Aug 1993 15:03:45 +0000 (15:03 +0000)]
don't use $$(CC_FOR_TARGET) because that ends up being bash execute command
syntax; use $(CC_FOR_TARGET) instead.
Jim Kingdon [Thu, 5 Aug 1993 14:28:32 +0000 (14:28 +0000)]
* 29k-share/udi/udip2soc.c: Include fcntl.h not sys/fcntl.h.
Jeffrey Wheat [Thu, 5 Aug 1993 04:16:43 +0000 (04:16 +0000)]
Changes to add dejagnu testsuite support
Jeffrey Wheat [Thu, 5 Aug 1993 04:14:51 +0000 (04:14 +0000)]
New files for ld testsuites
David MacKenzie [Thu, 5 Aug 1993 02:52:17 +0000 (02:52 +0000)]
add missing newlines in messages
David MacKenzie [Thu, 5 Aug 1993 02:47:20 +0000 (02:47 +0000)]
fix line numbers
Fred Fish [Thu, 5 Aug 1993 01:36:43 +0000 (01:36 +0000)]
* gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
compilers don't grok it.
* gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
with small octal ints rather than character constants, which
are signed and might not fit if first promoted to int.
Fred Fish [Thu, 5 Aug 1993 01:33:45 +0000 (01:33 +0000)]
* inflow.c (pass_signal): Signal handlers take one int arg;
supply an unused one to make it type compatible as an arg to
signal().
David MacKenzie [Thu, 5 Aug 1993 00:20:27 +0000 (00:20 +0000)]
make failure nonfatal
Ken Raeburn [Wed, 4 Aug 1993 23:11:31 +0000 (23:11 +0000)]
v9 changes
Ken Raeburn [Wed, 4 Aug 1993 23:10:43 +0000 (23:10 +0000)]
* obj-elf.c (obj_elf_stab_generic, in disabled code): If
debug section is new, allocate an extra 12 bytes at its start. If
".stabs" type is N_SO, fill in filename symbol field of that first
entry. Return early if "goof", to simplify later code slightly.
(adjust_stab_sections): New function.
(elf_frob_file): Apply adjust_stab_sections to each section.
* obj-elf.c (obj_elf_section, obj_elf_previous): No longer static.
* obj-elf.h (obj_elf_section, obj_elf_previous): Declare.
* tc-sparc.c (md_pseudo_table): Call them for "pushsection"
and "popsection", and call cons for "uaword" and "uahalf".
* obj-elf.c (obj_elf_version): Use English in error messages.
* tc-sparc.c (md_apply_fix, case BFD_RELOC_64): New case,
parallel to BFD_RELOC_32.
(tc_gen_reloc): Accept BFD_RELOC_64.
Ian Lance Taylor [Wed, 4 Aug 1993 20:25:53 +0000 (20:25 +0000)]
* libnlm.h (nlm_backend_data): Added nlm_mangle_relocs.
(nlm_mangle_relocs_func): New macro.
* nlm32-i386.c (nlm_i386_write_reloc): Rewrote correctly.
(nlm_i386_mangle_relocs): New function.
* nlmcode.h (nlm_compute_section_file_positions): Move all common
symbols into the .bss section.
(nlm_set_section_contents): Call the mangle_relocs function.
(nlm_write_object_contents): Treat a reloc against any defined
symbol as an internal reloc. Fix bug in external reloc counting.
Get the offset and debugging type right for .bss symbols. Only
output debugging symbols for defined symbols.
Steve Chamberlain [Wed, 4 Aug 1993 17:24:11 +0000 (17:24 +0000)]
Keep h8300h.sc
Steve Chamberlain [Wed, 4 Aug 1993 17:23:30 +0000 (17:23 +0000)]
Keep h8300h.em
Steve Chamberlain [Wed, 4 Aug 1993 17:19:22 +0000 (17:19 +0000)]
Keep m88kbcs.em
Ian Lance Taylor [Wed, 4 Aug 1993 16:36:10 +0000 (16:36 +0000)]
* coff-h8500.c (rtype2howto): Do an fprintf to stderr rather than
using printf.
* coff-z8k.c (rtype2howto): Likewise.
* coffcode.h (dummy_reloc16_extra_cases): Likewise.
* elf32-i386.c (TRACE): Likewise.
* hp300hpux.c (convert_sym_type, swap_std_reloc_in): Likewise.
* rs6000-core.c (rs6000coff_get_section_contents): Likewise.
* coffgen.c (coff_print_symbol): Do an fprintf to the file
argument rather than using printf.
David Edelsohn [Wed, 4 Aug 1993 05:12:50 +0000 (05:12 +0000)]
Rename sigm insn to sir.
Change impdep insn from [1+2],d to 1,2,d.
Ian Lance Taylor [Wed, 4 Aug 1993 01:37:25 +0000 (01:37 +0000)]
With these changes, the binutils mostly work on the Alpha, except for
objdump -r.
* coffswap.h: Added macros used when accessing several fields;
default is the same as before.
(coff_swap_aouthdr_{in,out}): Handle the Alpha ECOFF fields.
* coff-alpha.c: Defined macros to use the right sizes in
coffswap.h.
* libecoff.h: Backend information is now in target vector, not
BFD. Start of backend information is COFF backend information.
* coff-alpha.c, coff-mips.c: Changed accordingly.
* ecoff.c (ecoff_mkobject): New function.
(ARMAP_START): Changed into backend information, since Alpha uses
a different name.
(ecoff_slurp_armap): Don't overlay archive header.
* bfd.c: Include libcoff.h.
Ian Lance Taylor [Wed, 4 Aug 1993 01:35:35 +0000 (01:35 +0000)]
* config/mips/tm-mips.h: Include bfd.h before coff/sym.h.
Fred Fish [Wed, 4 Aug 1993 01:29:26 +0000 (01:29 +0000)]
* gdb.t09/Makefile.in (clean): Remove corefile.
Fred Fish [Wed, 4 Aug 1993 01:17:30 +0000 (01:17 +0000)]
* Makefile.in (ALLCONFIG): Add config/i386/i386nw.mt,
config/m68k/delta68.mh, config/m68k/delta68.mt,
config/m68k/dpx2.mh, config/m68k/dpx2.mt, config/mips/riscos.mh,
config/mips/news-mips.mh.
* Makefile.in (ALLPARAM): Add config/i386/nm-symmetry.h,
config/i386/tm-i386nw.h, config/m68k/nm-delta68.h,
config/m68k/tm-delta68.h, config/m68k/xm-delta68.h,
config/m68k/nm-dpx2.h, config/m68k/tm-dpx2.h,
config/m68k/xm-dpx2.h, config/mips/xm-makeva.h.
* Makefile.in (ALLDEPFILES): Add dpx2-nat.c.
David MacKenzie [Wed, 4 Aug 1993 00:39:19 +0000 (00:39 +0000)]
fix doc bug
David MacKenzie [Wed, 4 Aug 1993 00:28:19 +0000 (00:28 +0000)]
fix syntax error
David MacKenzie [Tue, 3 Aug 1993 23:37:45 +0000 (23:37 +0000)]
make a common extern
David MacKenzie [Tue, 3 Aug 1993 23:09:03 +0000 (23:09 +0000)]
add more info about -warn-common
David MacKenzie [Tue, 3 Aug 1993 22:47:28 +0000 (22:47 +0000)]
add -warn-common option
Fred Fish [Tue, 3 Aug 1993 22:22:13 +0000 (22:22 +0000)]
* nlm_slurp_symbol_table: Don't use '&' on arrays.
Ian Lance Taylor [Tue, 3 Aug 1993 20:27:06 +0000 (20:27 +0000)]
* mipsread.c: Updated for BFD ECOFF changes. Now gets the
swapping routines and external structure sizes via the
ecoff_backend information. No longer includes coff/mips.h.
Ian Lance Taylor [Tue, 3 Aug 1993 20:25:58 +0000 (20:25 +0000)]
* config/obj-ecoff.c: Updated for BFD ECOFF changes. Now gets the
swapping routines and external structure sizes via the
ecoff_backend information. No longer includes coff/mips.h.
Ian Lance Taylor [Tue, 3 Aug 1993 20:24:54 +0000 (20:24 +0000)]
* ecoff.h: New file.
* alpha.h, mips.h: Moved common information into ecoff.h. Moved
external structure definitions in from ecoff-ext.h.
* ecoff-ext.h: Removed; information now in alpha.h and mips.h.
Ian Lance Taylor [Tue, 3 Aug 1993 20:22:47 +0000 (20:22 +0000)]
* ecoff.c: New file for generic ECOFF functions.
* ecoffswap.h: New file for ECOFF swapping functions which differ
only slightly for different targets.
* libecoff.h: Added prototypes for ecoff.c functions.
(ecoff_backend_data): New structure.
(ecoff_tdata): Added backend_data field. Changed external data
pointers to be PTR rather than to a particular struct.
(ecoff_symbol_struct): Moved in from coff-mips.c.
* coff-alpha.c, coff-mips.c: Moved common functions into ecoff.c.
Added ECOFF backend structures. Include ecoffswap.h.
* coff-msym.c: Removed; superseded by ecoffswap.h.
* bfd.c: Include coff/internal.h.
* Makefile.in (BFD_LIBS): Removed coff-mips.o and coff-msym.o.
Added ecoff.o.
(BFD64_BACKENDS): Added coff-alpha.o.
(CFILES): Removed coff-msym.c. Added ecoff.c.
(bfd.o): Added dependency on $(INCDIR)/coff/sym.h.
(coff-mips.o): Added dependency on ecoffswap.h and coff/ecoff.h.
(ecoff.o, coff-alpha.o): New targets.
(coff-msym.o): Removed target.
Fred Fish [Tue, 3 Aug 1993 18:02:19 +0000 (18:02 +0000)]
* Makefile.in (SFILES): Add thread.c
David Edelsohn [Tue, 3 Aug 1993 17:25:23 +0000 (17:25 +0000)]
* remote-sp64sim.c (simif_create_inferior): Add FIXME regarding
sim_set_args return code.
Stu Grossman [Tue, 3 Aug 1993 08:51:51 +0000 (08:51 +0000)]
Keep server.h.
John Gilmore [Tue, 3 Aug 1993 06:36:30 +0000 (06:36 +0000)]
* elf32-hppa.h, hosts/*: Remove (one more time) all occurrances
of EXFUN in the BFD sources. Heave ho!
K. Richard Pixley [Tue, 3 Aug 1993 00:59:45 +0000 (00:59 +0000)]
Bumped version to 4.9.4.
K. Richard Pixley [Tue, 3 Aug 1993 00:55:55 +0000 (00:55 +0000)]
Added remote-bug.c.
David MacKenzie [Tue, 3 Aug 1993 00:33:38 +0000 (00:33 +0000)]
don't list objfiles... as an option
K. Richard Pixley [Mon, 2 Aug 1993 23:54:27 +0000 (23:54 +0000)]
* remote-monitor.c: updated copyright.
(bug_ops, monitor_desc): now static.
(monitor_desc): in several places, check and/or set to NULL.
* remote-hms.c (hms_files_info): Add the appropriate items where
missing in the printf call.
* remote-bug.c: new file for m88k bug support.
* config/m88k/m88k.mt (TDEPFILES): added remote-bug.o.
Fred Fish [Mon, 2 Aug 1993 23:29:32 +0000 (23:29 +0000)]
Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitly
added to the list by Sanitize, unless Sanitize knows it needs to keep it.
Steve Chamberlain [Mon, 2 Aug 1993 22:54:01 +0000 (22:54 +0000)]
* h8300-tdep.c: Use new variable h8300hmode.
Steve Chamberlain [Mon, 2 Aug 1993 22:52:34 +0000 (22:52 +0000)]
Use variable h8300hmode.
Jim Kingdon [Mon, 2 Aug 1993 22:41:50 +0000 (22:41 +0000)]
* valops.c (typecmp): If we are passing a non-reference to a function
which takes a reference, pass the address.
(value_arg_coerce): Don't use COERCE_ENUM; we don't want to dereference
references here.
Ian Lance Taylor [Mon, 2 Aug 1993 22:28:25 +0000 (22:28 +0000)]
* config/obj-ecoff.c (get_tag): Save tag name in permanent memory
and in hash_ptr->string.
Jim Kingdon [Mon, 2 Aug 1993 22:13:32 +0000 (22:13 +0000)]
* thread.c (thread_switch): Define as static.
(add_thread): Cast return value from xmalloc.
John Gilmore [Mon, 2 Aug 1993 21:46:23 +0000 (21:46 +0000)]
Move enum outside of struct defn to avoid warnings.
Ian Lance Taylor [Mon, 2 Aug 1993 21:39:05 +0000 (21:39 +0000)]
* app.c (do_scrub_next_char): Reset state to 0 after .appline if
file name is not seen.
Steve Chamberlain [Mon, 2 Aug 1993 21:19:38 +0000 (21:19 +0000)]
Configure for h8300h too.
Jim Kingdon [Mon, 2 Aug 1993 19:21:04 +0000 (19:21 +0000)]
* gdbtypes.c (fill_in_vptr_fieldno): Call check_stub_type.
* gdbtypes.{c,h}: Improve comments on vptr_fieldno.
David D. Zuhn [Mon, 2 Aug 1993 19:18:38 +0000 (19:18 +0000)]
remove some conflicting decls
Fred Fish [Mon, 2 Aug 1993 19:03:15 +0000 (19:03 +0000)]
(I could have sworn I checked this change in a couple days ago, but it
showed up in a cvs diff, so here it is again...)
* README: Elaborate on gdb C++ support and cfront support.
David D. Zuhn [Mon, 2 Aug 1993 18:58:17 +0000 (18:58 +0000)]
add support for CONFIG_SHELL
This page took 0.038365 seconds and 4 git commands to generate.