7093 Commits

Author SHA1 Message Date
5f9a2245d8 make target selection fully configurable 1993-08-07 22:38:22 +00:00
379dd96582 * 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.
1993-08-07 20:27:19 +00:00
d8ab5dbf82 * 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.
1993-08-07 14:47:55 +00:00
9ea71abfcf * 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.
1993-08-07 14:46:21 +00:00
dcdfa32cec cleanups 1993-08-07 01:35:00 +00:00
b83bde3970 gpl -> lgpl 1993-08-07 01:12:47 +00:00
06dd4b5d10 update from FSF 1993-08-07 00:24:31 +00:00
3c14065d00 update from FSF 1993-08-07 00:06:35 +00:00
31f55aa540 clean up error messages 1993-08-06 20:13:28 +00:00
493a259370 add hp300bsd to default target vector 1993-08-06 20:11:42 +00:00
70bec8b806 * ecoff.c (ecoff_set_symbol_info): Removed special handling for
scBss and scSBss symbols, since it was wrong.
1993-08-06 20:04:22 +00:00
153cb9ade3 * 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.
1993-08-06 19:29:57 +00:00
b114e49215 changes to write.c, obj-elf.c, tc-sparc.c 1993-08-06 19:27:43 +00:00
d37258ccdd v9 changes 1993-08-06 19:24:28 +00:00
014e4e9981 * Makefile.in (coff-mips.o, coff-alpha.o): Don't depend on
coffcode.h.
1993-08-06 19:17:36 +00:00
c39fcfdca8 * coffcode.h (sec_to_styp_flags): Inspired by mb@tti.COM (Michael
Bloom): Only set STYP_BSS for SEC_ALLOC sections.
1993-08-06 19:12:47 +00:00
3d2330f897 * configure.in (mips-*-riscos*, mips-*-sysv*): New (untested)
targets, using ecoff and mips-big.
1993-08-06 18:46:17 +00:00
3353630442 * scripttempl/mips.sc: Always define _ftext, _fdata, _fbss.
(BSS_VAR): Removed; now always define _fbss.
	* emulparams/mipsidt.sh, emulparams/mipsidtl.sh (BSS_VAR):
	Removed.
1993-08-06 18:35:03 +00:00
8c11363a29 * ecoff.c (ecoff_slurp_armap): From Arne Henrik Juul
<arnej@kari.fm.unit.no>: Handle a COFF style armap.
1993-08-06 16:39:44 +00:00
9242112213 (md_apply_fix): Fill in values for BFD_RELOC_{32,64}, not zeros.
(md_pseudo_table): Handle .uaxword.
1993-08-06 16:10:40 +00:00
11a0aaa785 * 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".
1993-08-06 15:20:49 +00:00
ac32a7e7df * config/tc-mips.c (mips_ip): From davidj@ICSI.Berkeley.EDU (David
Johnson): Added case for 'C' for coprocessor instruction codes.
1993-08-06 15:14:31 +00:00
a61a4125ed * hpux-core.c: Cast return value from bfd_zalloc. 1993-08-06 15:06:23 +00:00
e917bef39f * ser-go32.c: Define job_control variable. 1993-08-06 07:25:02 +00:00
80b4aa1c07 * ser-go32.c: Define job_control variable. 1993-08-06 07:11:16 +00:00
5dd8d83fdf use mh-hp300 1993-08-05 23:15:04 +00:00
b39a398da5 handle z8k-coff 1993-08-05 22:57:13 +00:00
867a1b8a18 error fixes and clarifications 1993-08-05 22:49:26 +00:00
a9cad59194 new file for hp300 hosts 1993-08-05 22:46:44 +00:00
071689e1ad * sparc-dis.c: Include ansidecl.h before opcodes/sparc.h. 1993-08-05 22:16:40 +00:00
b23f674392 (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.
1993-08-05 21:21:30 +00:00
b12193c073 Makefile.in, bfd-in.h, reloc, elf32-i386, elfcode changes 1993-08-05 19:23:43 +00:00
038de4933e * 29k-share/udi/udip2soc.c: Include sys/types.h before sys/file.h. 1993-08-05 19:06:24 +00:00
b66b07a292 regenerated 1993-08-05 18:36:19 +00:00
e74034d81a 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.
1993-08-05 18:32:50 +00:00
1fa5371efb rewrite comment -- bfd-in2.h is generated too 1993-08-05 18:27:16 +00:00
a49880c83d add i386-elf relocs (from Meissner) 1993-08-05 18:24:21 +00:00
15db204498 (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.
1993-08-05 18:20:20 +00:00
a824e46eac * config/i386/tm-i386bsd.h (NUM_REGS): There are only 10, not 11. 1993-08-05 17:53:42 +00:00
8b97737768 * 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.
1993-08-05 17:22:58 +00:00
f4dfe788b8 * config/unix-gdb.exp (gdb_exit): Add "wait". 1993-08-05 17:21:51 +00:00
273aa9471d read.c change; yesterdays elf/sparc changes 1993-08-05 17:14:11 +00:00
b31f2abb70 (emit_expr): Use BFD_RELOC_64 fr 8-byte expressions. 1993-08-05 17:07:22 +00:00
d625b3987a * inflow.c: Put all uses of F_GETFL and F_SETFL in #ifdef F_GETFL. 1993-08-05 16:08:22 +00:00
a9a2f22fe0 don't use $$(CC_FOR_TARGET) because that ends up being bash execute command
syntax; use $(CC_FOR_TARGET) instead.
1993-08-05 15:03:45 +00:00
8d9ec7b631 * 29k-share/udi/udip2soc.c: Include fcntl.h not sys/fcntl.h. 1993-08-05 14:28:32 +00:00
7c6a9e798c Changes to add dejagnu testsuite support 1993-08-05 04:16:43 +00:00
671fe6e9a3 New files for ld testsuites 1993-08-05 04:14:51 +00:00
8bf66be8aa add missing newlines in messages 1993-08-05 02:52:17 +00:00
ebdb7db782 fix line numbers 1993-08-05 02:47:20 +00:00