binutils-gdb.git
31 years ago* config/unix-gdb.exp (gdb_load): Add eof to expect statement.
Jim Kingdon [Tue, 10 Aug 1993 21:09:41 +0000 (21:09 +0000)]
* config/unix-gdb.exp (gdb_load): Add eof to expect statement.

31 years ago* config/unix-gdb.exp (gdb_load): Add eof to expect statement.
Jim Kingdon [Tue, 10 Aug 1993 20:56:52 +0000 (20:56 +0000)]
* config/unix-gdb.exp (gdb_load): Add eof to expect statement.

31 years ago * objfiles.h (struct objfile): Clean up comments for
Jim Kingdon [Tue, 10 Aug 1993 19:57:41 +0000 (19:57 +0000)]
* objfiles.h (struct objfile): Clean up comments for
{obj,sym}_private to clarify what they are private to.

31 years ago * gdbint.texinfo (Getting Started): Use @itemize, not @table.
Jim Kingdon [Tue, 10 Aug 1993 19:05:52 +0000 (19:05 +0000)]
* gdbint.texinfo (Getting Started): Use @itemize, not @table.

* gdbint.texinfo (Top): Add name to @top line, and re-write the
paragraph which follows.

* gdbint.texinfo (Host): Use @code not @samp for Makefile
variables.  Looks better and avoids overful hbox.

31 years ago * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
Fred Fish [Tue, 10 Aug 1993 18:42:20 +0000 (18:42 +0000)]
* gdb.t17/interrupt.exp:  Set up xfail for *-*-sysv4*, in chain of
xfails for other systems.  Match a missing 'Continuing.' as an
explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.

31 years agoAdded new files.
Ian Lance Taylor [Tue, 10 Aug 1993 17:50:28 +0000 (17:50 +0000)]
Added new files.

31 years agoCheckpoint of NLM conversion program.
Ian Lance Taylor [Tue, 10 Aug 1993 17:49:44 +0000 (17:49 +0000)]
Checkpoint of NLM conversion program.

* nlmconv.c, nlmconv.h, nlmheader.y: New files for program to
convert object files into NetWare Loadable Modules.
* Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv.
(PROGS): Add NLMCONV_PROG.
(nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New
targets.

31 years ago * libnlm.h (struct nlm_backend_data): Added mach field.
Ian Lance Taylor [Tue, 10 Aug 1993 17:41:17 +0000 (17:41 +0000)]
* libnlm.h (struct nlm_backend_data): Added mach field.
(nlm_machine): New accessor macro.
* nlm.c (nlm_mkobject): Set architecture and machine from backend
information.
* nlm32-i386.c (nlm32_i386_backend): Initialize new mach field.

31 years ago * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
Fred Fish [Tue, 10 Aug 1993 17:31:45 +0000 (17:31 +0000)]
* gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
Only issue warning for missing executables if -all option is used.

31 years ago * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
Fred Fish [Tue, 10 Aug 1993 16:58:44 +0000 (16:58 +0000)]
* gdb.stabs/wierd.exp:  Only issue warning for missing wierd.o
file if -all option is used.  It's like an unpredictable XFAIL.

31 years agoReplace calls to sort with shell code
David MacKenzie [Tue, 10 Aug 1993 16:35:12 +0000 (16:35 +0000)]
Replace calls to sort with shell code

31 years agoconfigure.in: Include aout32.o for any a.out/b.out formats.
Ken Raeburn [Tue, 10 Aug 1993 16:23:32 +0000 (16:23 +0000)]
configure.in: Include aout32.o for any a.out/b.out formats.

31 years agomention that [section] is no longer supported
David MacKenzie [Tue, 10 Aug 1993 16:12:30 +0000 (16:12 +0000)]
mention that [section] is no longer supported

31 years agosupport COFF on ELF systems
David MacKenzie [Tue, 10 Aug 1993 05:01:12 +0000 (05:01 +0000)]
support COFF on ELF systems

31 years agoMoved the function hashname from stabsread.c to buildsym.c, since
Stan Shebs [Mon, 9 Aug 1993 23:49:18 +0000 (23:49 +0000)]
Moved the function hashname from stabsread.c to buildsym.c, since
it's a general-purpose function.

31 years agoadd support for dosutils
David D. Zuhn [Mon, 9 Aug 1993 23:07:09 +0000 (23:07 +0000)]
add support for dosutils

31 years ago * gdbcore.h: New variable gnutarget.
Jim Kingdon [Mon, 9 Aug 1993 21:36:49 +0000 (21:36 +0000)]
* gdbcore.h: New variable gnutarget.
* core.c: Add commands to set and show it.
* Callers to bfd_*open*: Pass gnutarget instead of NULL as target.
* environ.c (set_in_environ): For GNUTARGET, use set_gnutarget not
putenv.

31 years ago * remote-udi.c: Make udi_ops extern rather than trying forward
Jim Kingdon [Mon, 9 Aug 1993 21:12:01 +0000 (21:12 +0000)]
* remote-udi.c: Make udi_ops extern rather than trying forward
declaration of a static variable.

31 years agoinclude elf doc
Ken Raeburn [Mon, 9 Aug 1993 20:31:30 +0000 (20:31 +0000)]
include elf doc

31 years agoadd @finalout
David MacKenzie [Mon, 9 Aug 1993 20:23:53 +0000 (20:23 +0000)]
add @finalout

31 years agoconfig/m88k-coff.mt (DEFAULT_VEC -> DEFAULT_VECTOR): renamed.
K. Richard Pixley [Mon, 9 Aug 1993 20:17:40 +0000 (20:17 +0000)]
config/m88k-coff.mt (DEFAULT_VEC -> DEFAULT_VECTOR): renamed.

31 years ago * bfd-in.h (bfd_get_architecture, bfd_get_machine): Removed
Ian Lance Taylor [Mon, 9 Aug 1993 20:08:16 +0000 (20:08 +0000)]
* bfd-in.h (bfd_get_architecture, bfd_get_machine): Removed
obsolete macros.
* bfd-in2.h: Updated.

31 years ago * hppab-nat.c: Define ptrace to call_ptrace and pass the 5th arg
Jim Kingdon [Mon, 9 Aug 1993 20:07:25 +0000 (20:07 +0000)]
* hppab-nat.c: Define ptrace to call_ptrace and pass the 5th arg
there, rather than using an ANSI C specific macro.

31 years ago * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
Jim Kingdon [Mon, 9 Aug 1993 19:52:37 +0000 (19:52 +0000)]
* gdb.t15/funcargs.exp: Add comments that hppa xfails are only
for dynamically linked binaries.

31 years agocode changes to syms.c bfd.c
Ken Raeburn [Mon, 9 Aug 1993 19:27:43 +0000 (19:27 +0000)]
code changes to syms.c bfd.c

31 years agoregenerated
Ken Raeburn [Mon, 9 Aug 1993 19:25:56 +0000 (19:25 +0000)]
regenerated

31 years ago * 29k-share/udi/udr.c: Include fcntl.h not sys/fcntl.h. Also put
Jim Kingdon [Mon, 9 Aug 1993 19:17:04 +0000 (19:17 +0000)]
* 29k-share/udi/udr.c: Include fcntl.h not sys/fcntl.h.  Also put
sys/types.h near the top (just on general principles).

31 years agosanitize targets.c
Ken Raeburn [Mon, 9 Aug 1993 19:16:24 +0000 (19:16 +0000)]
sanitize targets.c

31 years ago * ecoff.c (ecoff_slurp_armap): Correct bug in initialization of
Ian Lance Taylor [Mon, 9 Aug 1993 18:32:39 +0000 (18:32 +0000)]
* ecoff.c (ecoff_slurp_armap): Correct bug in initialization of
stringbase.

31 years ago * environ.c (set_in_environ): Remove G960BASE and G960BIN; they are
Jim Kingdon [Mon, 9 Aug 1993 17:49:27 +0000 (17:49 +0000)]
* environ.c (set_in_environ): Remove G960BASE and G960BIN; they are
no longer used.

31 years ago * write.c (merge_data_into_text): Define only if BFD_ASSEMBLER is
Ken Raeburn [Mon, 9 Aug 1993 17:40:58 +0000 (17:40 +0000)]
* write.c (merge_data_into_text): Define only if BFD_ASSEMBLER is
defined or BFD is not.
(relax_and_size_all_segments): Declare local variable fragP.

31 years ago * gdbcore.h: New variable gnutarget.
Jim Kingdon [Mon, 9 Aug 1993 16:53:32 +0000 (16:53 +0000)]
* gdbcore.h: New variable gnutarget.
* core.c: Add commands to set and show it.
* Callers to bfd_*open*: Pass gnutarget instead of NULL as target.
* environ.c (set_in_environ): For GNUTARGET, use set_gnutarget not
putenv.

* symtab.c (decode_line_1): Give error on unmatched single quote.

31 years ago* ser-unix.c (hardwire_send_break) [HAVE_SGTTY]: Use select not usleep.
Jim Kingdon [Sun, 8 Aug 1993 21:02:37 +0000 (21:02 +0000)]
* ser-unix.c (hardwire_send_break) [HAVE_SGTTY]: Use select not usleep.

31 years ago * remote.c: Add comments about 'd', 'r', and unrecognized requests.
Jim Kingdon [Sun, 8 Aug 1993 20:11:10 +0000 (20:11 +0000)]
* remote.c: Add comments about 'd', 'r', and unrecognized requests.

* inflow.c (terminal_init_inferior): Don't muck with tty state if
gdb_has_a_terminal() is false.

31 years ago * gdb.t20/inherit.exp: Change message for "print tagless struct"
Jim Kingdon [Sun, 8 Aug 1993 19:27:10 +0000 (19:27 +0000)]
* gdb.t20/inherit.exp: Change message for "print tagless struct"
to state that this is a known bug in old versions of g++.

31 years agoremove unused test
David MacKenzie [Sun, 8 Aug 1993 19:22:54 +0000 (19:22 +0000)]
remove unused test

31 years ago* Makefile.in ({dist,real}clean): Use $(MAKE), not make.
Jim Kingdon [Sun, 8 Aug 1993 17:47:17 +0000 (17:47 +0000)]
* Makefile.in ({dist,real}clean): Use $(MAKE), not make.

31 years ago * dwarfread.c (record_minimal_symbol): Remove prototype and
Fred Fish [Sun, 8 Aug 1993 17:14:06 +0000 (17:14 +0000)]
* dwarfread.c (record_minimal_symbol):  Remove prototype and
function.
* dwarfread.c (add_partial_symbol):  Remove code to add minimal
symbols and remove comment about limitations.  Experiments show
that now that gdb handles the ELF symtab better for creating
minimal symbols, that no additional information is added by
examining the DWARF information, and in fact, given the
limitations, the DWARF code was actually making things worse.

31 years ago * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
Jim Kingdon [Sun, 8 Aug 1993 16:16:35 +0000 (16:16 +0000)]
* gdb.t17/interrupt.exp:  Add xfail for 386 bsd. Accept echoed newline
while waiting for `Continuing'.

31 years agocleanup
David MacKenzie [Sun, 8 Aug 1993 02:14:01 +0000 (02:14 +0000)]
cleanup

31 years ago * elfread.c (elf_symtab_read): Properly sort out the bss symbols
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.

31 years agoadd pointer to config/README
David MacKenzie [Sat, 7 Aug 1993 22:45:02 +0000 (22:45 +0000)]
add pointer to config/README

31 years agodocument bfdsumm.texi
David MacKenzie [Sat, 7 Aug 1993 22:43:02 +0000 (22:43 +0000)]
document bfdsumm.texi

31 years agomake target selection fully configurable
David MacKenzie [Sat, 7 Aug 1993 22:38:22 +0000 (22:38 +0000)]
make target selection fully configurable

31 years ago * elfread.c (elf_symtab_read): Properly sort out the bss symbols
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.

31 years ago * gdb.t10/nodebug.exp: Expect to find local/global 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.

31 years ago * elfcode.h (elf_object_p): Add comment about what this function
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.

31 years agocleanups
David MacKenzie [Sat, 7 Aug 1993 01:35:00 +0000 (01:35 +0000)]
cleanups

31 years agogpl -> lgpl
David MacKenzie [Sat, 7 Aug 1993 01:12:47 +0000 (01:12 +0000)]
gpl -> lgpl

31 years agoupdate from FSF
David MacKenzie [Sat, 7 Aug 1993 00:24:31 +0000 (00:24 +0000)]
update from FSF

31 years agoupdate from FSF
David MacKenzie [Sat, 7 Aug 1993 00:06:35 +0000 (00:06 +0000)]
update from FSF

31 years agoclean up error messages
David MacKenzie [Fri, 6 Aug 1993 20:13:28 +0000 (20:13 +0000)]
clean up error messages

31 years agoadd hp300bsd to default target vector
David MacKenzie [Fri, 6 Aug 1993 20:11:42 +0000 (20:11 +0000)]
add hp300bsd to default target vector

31 years ago * ecoff.c (ecoff_set_symbol_info): Removed special handling for
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.

31 years ago* libelf.h (NAME): Provide a default definition, that's neither
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.

31 years agochanges to write.c, obj-elf.c, tc-sparc.c
Ken Raeburn [Fri, 6 Aug 1993 19:27:43 +0000 (19:27 +0000)]
changes to write.c, obj-elf.c, tc-sparc.c

31 years agov9 changes
Ken Raeburn [Fri, 6 Aug 1993 19:24:28 +0000 (19:24 +0000)]
v9 changes

31 years ago * Makefile.in (coff-mips.o, coff-alpha.o): Don't depend on
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.

31 years ago * coffcode.h (sec_to_styp_flags): Inspired by mb@tti.COM (Michael
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.

31 years ago * configure.in (mips-*-riscos*, mips-*-sysv*): New (untested)
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.

31 years ago * scripttempl/mips.sc: Always define _ftext, _fdata, _fbss.
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.

31 years ago * ecoff.c (ecoff_slurp_armap): From Arne Henrik Juul
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.

31 years ago(md_apply_fix): Fill in values for BFD_RELOC_{32,64}, not zeros.
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.

31 years ago * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Took
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".

31 years ago * config/tc-mips.c (mips_ip): From davidj@ICSI.Berkeley.EDU (David
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.

31 years ago* hpux-core.c: Cast return value from bfd_zalloc.
Jim Kingdon [Fri, 6 Aug 1993 15:06:23 +0000 (15:06 +0000)]
* hpux-core.c: Cast return value from bfd_zalloc.

31 years ago* ser-go32.c: Define job_control variable.
Jim Kingdon [Fri, 6 Aug 1993 07:25:02 +0000 (07:25 +0000)]
* ser-go32.c: Define job_control variable.

31 years ago* 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.

31 years agouse mh-hp300
David D. Zuhn [Thu, 5 Aug 1993 23:15:04 +0000 (23:15 +0000)]
use mh-hp300

31 years agohandle z8k-coff
David D. Zuhn [Thu, 5 Aug 1993 22:57:13 +0000 (22:57 +0000)]
handle z8k-coff

31 years agoerror fixes and clarifications
David MacKenzie [Thu, 5 Aug 1993 22:49:26 +0000 (22:49 +0000)]
error fixes and clarifications

31 years agonew file for hp300 hosts
David D. Zuhn [Thu, 5 Aug 1993 22:46:44 +0000 (22:46 +0000)]
new file for hp300 hosts

31 years ago* sparc-dis.c: Include ansidecl.h before opcodes/sparc.h.
Jim Kingdon [Thu, 5 Aug 1993 22:16:40 +0000 (22:16 +0000)]
* sparc-dis.c: Include ansidecl.h before opcodes/sparc.h.

31 years ago(write_object_file): Test DEBUG_SYMS instead of DEBUG for verifying sym chain.
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.

31 years agoMakefile.in, bfd-in.h, reloc, elf32-i386, elfcode changes
Ken Raeburn [Thu, 5 Aug 1993 19:23:43 +0000 (19:23 +0000)]
Makefile.in, bfd-in.h, reloc, elf32-i386, elfcode changes

31 years ago* 29k-share/udi/udip2soc.c: Include sys/types.h before sys/file.h.
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.

31 years agoregenerated
Ken Raeburn [Thu, 5 Aug 1993 18:36:19 +0000 (18:36 +0000)]
regenerated

31 years agoWed Jun 23 06:05:58 1993 Michael Meissner (meissner@osf.org)
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.

31 years agorewrite comment -- bfd-in2.h is generated too
Ken Raeburn [Thu, 5 Aug 1993 18:27:16 +0000 (18:27 +0000)]
rewrite comment -- bfd-in2.h is generated too

31 years agoadd i386-elf relocs (from Meissner)
Ken Raeburn [Thu, 5 Aug 1993 18:24:21 +0000 (18:24 +0000)]
add i386-elf relocs (from Meissner)

31 years ago(BFD_LIBS): Always include elf.o.
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.

31 years ago* config/i386/tm-i386bsd.h (NUM_REGS): There are only 10, not 11.
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.

31 years ago * nlmcode.h (nlm_get_reloc_upper_bound): Test return value
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.

31 years ago* config/unix-gdb.exp (gdb_exit): Add "wait".
Jim Kingdon [Thu, 5 Aug 1993 17:21:51 +0000 (17:21 +0000)]
* config/unix-gdb.exp (gdb_exit): Add "wait".

31 years agoread.c change; yesterdays elf/sparc changes
Ken Raeburn [Thu, 5 Aug 1993 17:14:11 +0000 (17:14 +0000)]
read.c change; yesterdays elf/sparc changes

31 years ago(emit_expr): Use BFD_RELOC_64 fr 8-byte expressions.
Ken Raeburn [Thu, 5 Aug 1993 17:07:22 +0000 (17:07 +0000)]
(emit_expr): Use BFD_RELOC_64 fr 8-byte expressions.

31 years ago* inflow.c: Put all uses of F_GETFL and F_SETFL in #ifdef F_GETFL.
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.

31 years agodon't use $$(CC_FOR_TARGET) because that ends up being bash execute command
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.

31 years ago* 29k-share/udi/udip2soc.c: Include fcntl.h not sys/fcntl.h.
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.

31 years agoChanges to add dejagnu testsuite support
Jeffrey Wheat [Thu, 5 Aug 1993 04:16:43 +0000 (04:16 +0000)]
Changes to add dejagnu testsuite support

31 years agoNew files for ld testsuites
Jeffrey Wheat [Thu, 5 Aug 1993 04:14:51 +0000 (04:14 +0000)]
New files for ld testsuites

31 years agoadd missing newlines in messages
David MacKenzie [Thu, 5 Aug 1993 02:52:17 +0000 (02:52 +0000)]
add missing newlines in messages

31 years agofix line numbers
David MacKenzie [Thu, 5 Aug 1993 02:47:20 +0000 (02:47 +0000)]
fix line numbers

31 years ago * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
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.

31 years ago * inflow.c (pass_signal): Signal handlers take one int arg;
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().

31 years agomake failure nonfatal
David MacKenzie [Thu, 5 Aug 1993 00:20:27 +0000 (00:20 +0000)]
make failure nonfatal

31 years agov9 changes
Ken Raeburn [Wed, 4 Aug 1993 23:11:31 +0000 (23:11 +0000)]
v9 changes

31 years ago* obj-elf.c (obj_elf_stab_generic, in disabled code): If
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.

31 years ago * libnlm.h (nlm_backend_data): Added nlm_mangle_relocs.
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.

31 years agoKeep h8300h.sc
Steve Chamberlain [Wed, 4 Aug 1993 17:24:11 +0000 (17:24 +0000)]
Keep h8300h.sc