external/binutils.git
30 years ago* nlm/Makefile.in: Get rid of NWINCLUDES.
J.T. Conklin [Sat, 1 Oct 1994 00:25:13 +0000 (00:25 +0000)]
* nlm/Makefile.in: Get rid of NWINCLUDES.
* config/{alpha,powerpc}/gdbserve.mt: define NWINCLUDES.

30 years ago* gdbserver/low-lynx.c (create_inferior): Pass all 4 args to ptrace.
Jim Kingdon [Fri, 30 Sep 1994 23:02:22 +0000 (23:02 +0000)]
* gdbserver/low-lynx.c (create_inferior): Pass all 4 args to ptrace.

30 years ago * lynx-nat.c (child_wait): Use status.w_status, not status, in
Jim Kingdon [Fri, 30 Sep 1994 22:53:36 +0000 (22:53 +0000)]
* lynx-nat.c (child_wait): Use status.w_status, not status, in
arithmetic.  status is a `union wait'.

30 years agoyesterday's gdbinit changes
Ken Raeburn [Fri, 30 Sep 1994 20:22:59 +0000 (20:22 +0000)]
yesterday's gdbinit changes

30 years ago * elfcode.h (elf_bfd_final_link): Remove assertion when a non
Ian Lance Taylor [Fri, 30 Sep 1994 17:13:08 +0000 (17:13 +0000)]
* elfcode.h (elf_bfd_final_link): Remove assertion when a non
        SEC_IN_MEMORY section is found in dynobj.  This can happen when
linking PIC compiled code.

30 years ago * config/nm-lynx.h (PTRACE_ARG3_TYPE): Define to int, not char *.
Jim Kingdon [Fri, 30 Sep 1994 13:58:58 +0000 (13:58 +0000)]
* config/nm-lynx.h (PTRACE_ARG3_TYPE): Define to int, not char *.

* lynx-nat.c (child_wait): Pass fourth argument to ptrace.

30 years ago * configure.in (configdirs): Change binutils.all to binutils-all.
Ian Lance Taylor [Fri, 30 Sep 1994 03:49:54 +0000 (03:49 +0000)]
* configure.in (configdirs): Change binutils.all to binutils-all.

30 years agooptionally configure libgui (--enable-gdbgui)
Thomas Lord [Fri, 30 Sep 1994 00:36:58 +0000 (00:36 +0000)]
optionally configure libgui (--enable-gdbgui)

30 years ago(all): Depend on .gdbinit.
Ken Raeburn [Thu, 29 Sep 1994 23:03:07 +0000 (23:03 +0000)]
(all): Depend on .gdbinit.
(.gdbinit): Rebuild from gdbinit.in by running config.status.

30 years ago* write.c (print_fixup): Print source location on first line. Show fx_r_type
Ken Raeburn [Thu, 29 Sep 1994 23:00:45 +0000 (23:00 +0000)]
* write.c (print_fixup): Print source location on first line.  Show fx_r_type
and fx_addsy fields.

30 years agofix typu
Ken Raeburn [Thu, 29 Sep 1994 20:51:57 +0000 (20:51 +0000)]
fix typu

30 years ago* reloc.c (bfd_install_relocation): Change type of data to bfd_byte *, to go
Ken Raeburn [Thu, 29 Sep 1994 20:39:27 +0000 (20:39 +0000)]
* reloc.c (bfd_install_relocation): Change type of data to bfd_byte *, to go
along with yesterday's change.

30 years ago* elf.c (bfd_elf_print_symbol): Moved here from elf_print_symbol in elfcode.h.
Ken Raeburn [Thu, 29 Sep 1994 20:36:24 +0000 (20:36 +0000)]
* elf.c (bfd_elf_print_symbol): Moved here from elf_print_symbol in elfcode.h.
(case bfd_print_symbol_all): Print symbol's size field, except for common
symbols; print their alignment.
* elfcode.h (elf_print_symbol): Deleted.
* libelf.h (bfd_elf_print_symbol): Declare.
(bfd_elf{32,64}_print_symbol): Replace declarations with macros.

30 years ago* syms.c (bfd_print_symbol_vandf): Show BSF_LOCAL and BSF_GLOBAL in one column.
Ken Raeburn [Thu, 29 Sep 1994 20:29:54 +0000 (20:29 +0000)]
* syms.c (bfd_print_symbol_vandf): Show BSF_LOCAL and BSF_GLOBAL in one column.
Use the column freed up to show BSF_FUNCTION and BSF_FILE.

30 years ago * VMS does not permits `.' in directory names. Renamed
Ian Lance Taylor [Thu, 29 Sep 1994 16:46:53 +0000 (16:46 +0000)]
* VMS does not permits `.' in directory names.  Renamed
binutils.all to binutils-all.

30 years agomissed this file
Ian Lance Taylor [Thu, 29 Sep 1994 16:42:43 +0000 (16:42 +0000)]
missed this file

30 years ago * VMS does not permits `.' in directory names. Renamed
Ian Lance Taylor [Thu, 29 Sep 1994 16:39:01 +0000 (16:39 +0000)]
* VMS does not permits `.' in directory names.  Renamed
ld.bootstrap to ld-bootstrap, ld.cdtest to ld-cdtest, and
ld.scripts to ld-scripts.

30 years ago * syms.c (stt): Add .rdata and .rodata.
Ian Lance Taylor [Thu, 29 Sep 1994 16:30:12 +0000 (16:30 +0000)]
* syms.c (stt): Add .rdata and .rodata.
PR 5714.

30 years ago* xcoffread.c (read_xcoff_symtab): Fix comment for yesterday's change.
Jim Kingdon [Thu, 29 Sep 1994 15:26:16 +0000 (15:26 +0000)]
* xcoffread.c (read_xcoff_symtab): Fix comment for yesterday's change.

30 years ago * coffread.c (complete_symtab): If last_source_file is set upon
Jim Kingdon [Thu, 29 Sep 1994 15:09:51 +0000 (15:09 +0000)]
* coffread.c (complete_symtab): If last_source_file is set upon
entry, free it.

30 years ago * hpread.c (hpread_read_array_type): Do not change the type code
Jeff Law [Thu, 29 Sep 1994 05:03:18 +0000 (05:03 +0000)]
* hpread.c (hpread_read_array_type): Do not change the type code
to TYPE_CODE_PTR for "char foo[]".  Just make it a zero length
array type.

30 years ago * hpread.c (hpread_type_translate): Handle T_UNS_LONG types with
Jeff Law [Thu, 29 Sep 1994 04:26:50 +0000 (04:26 +0000)]
* hpread.c (hpread_type_translate): Handle T_UNS_LONG types with
lengths other than 32bits (HP C 9.69 represents an "unsigned char"
as an T_UNS_LONG with length 8).

30 years ago * gas/hppa/reloc/reduce.s: Renamed from relocreduce.s
Jeff Law [Thu, 29 Sep 1994 03:29:07 +0000 (03:29 +0000)]
* gas/hppa/reloc/reduce.s: Renamed from relocreduce.s
* gas/hppa/reloc/reduce2.s: Renamed from relocreduce2.s
* gas/hppa/reloc/r_no_reloc.s: Renamed from r_no_relocbug.s
* gas/hppa/reloc/reloc.exp: Changed accordingly.

30 years ago * gas/hppa/reloc/reduce.s: Renamed from relocreduce.s
Jeff Law [Thu, 29 Sep 1994 03:25:03 +0000 (03:25 +0000)]
* gas/hppa/reloc/reduce.s: Renamed from relocreduce.s
* gas/hppa/reloc/reduce2.s: Renamed from relocreduce2.s
* gas/hppa/reloc/r_no_reloc.s: Renamed from r_no_relocbug.s

30 years agomisc changes to configure.in, gdbinit.in, as.h, symbols.c
Ken Raeburn [Wed, 28 Sep 1994 23:24:07 +0000 (23:24 +0000)]
misc changes to configure.in, gdbinit.in, as.h, symbols.c

30 years agoMove "break abort" to end, in case gdb complains.
Ken Raeburn [Wed, 28 Sep 1994 23:16:59 +0000 (23:16 +0000)]
Move "break abort" to end, in case gdb complains.

30 years agoforgot to hit ^x^s after deleting "#if 1" lines
Ken Raeburn [Wed, 28 Sep 1994 20:31:32 +0000 (20:31 +0000)]
forgot to hit ^x^s after deleting "#if 1" lines

30 years ago(resolve_symbol_value, case O_symbol): Don't do any processing if add_symbol is
Ken Raeburn [Wed, 28 Sep 1994 20:27:31 +0000 (20:27 +0000)]
(resolve_symbol_value, case O_symbol): Don't do any processing if add_symbol is
undefined or in expr_section.
(resolve_symbol_value, case O_add): For symbol plus constant-valued symbol,
convert to O_symbol and re-reduce.
(S_GET_VALUE): If symbol needs resolving, resolve it.

(indent_level): No longer static.
(print_symbol_value_1): Don't print frag address if it matches
zero_address_frag.  Don't print "resolving" if already resolved.  Print segment
name.  Don't call print_expr_1 on an undefined symbol.
(print_expr_1): Fix whitespace before printing X_add_number.

30 years ago * Makefile.in (arparse.c): Don't ignore errors from mv.
Ian Lance Taylor [Wed, 28 Sep 1994 19:53:22 +0000 (19:53 +0000)]
* Makefile.in (arparse.c): Don't ignore errors from mv.
(sysinfo.c): Likewise.  Also, depend upon arparse.c, to prevent a
parallel make from trying to build both arparse.c and sysinfo.c
simultaneously.
(nlmheader.c): Similar change.
(arparse.h): Separate target from arparse.c, so that a parallel
make does not try to build both at once.  Depend upon arparse.c.
(sysinfo.h): Similar change.

30 years ago * Makefile.in (gasp.o): Depends upon config.h.
Ian Lance Taylor [Wed, 28 Sep 1994 19:28:24 +0000 (19:28 +0000)]
* Makefile.in (gasp.o): Depends upon config.h.

30 years agowrite.c changes, Makefile.in version update
Ken Raeburn [Wed, 28 Sep 1994 19:22:46 +0000 (19:22 +0000)]
write.c changes, Makefile.in version update

30 years agoupdated version to 2.4.90
Ken Raeburn [Wed, 28 Sep 1994 19:21:20 +0000 (19:21 +0000)]
updated version to 2.4.90

30 years ago(fix_new_exp): Handle O_add by creating an expression-valued symbol, and
Ken Raeburn [Wed, 28 Sep 1994 19:20:11 +0000 (19:20 +0000)]
(fix_new_exp): Handle O_add by creating an expression-valued symbol, and
calling fix_new_exp recursively.
(adjust_reloc_syms): If a fixup's symbol value is a sum of an undefined symbol
and a constant, fold the constant into the fixup, and refer to the undefined
symbol directly.  Then process the fixup again from scratch.
(write_object_file): Before calling adjust_reloc_syms, make a pass through the
symbol list trying to resolve values.

(print_fixup): New routine, for debugging.
(write_relocs): Call bfd_install_relocation.  Deleted various hacks for working
around problems with bfd_perform_relocation.

30 years ago* expr.c (make_expr_symbol): No longer static. Use symbol_create, not
Ken Raeburn [Wed, 28 Sep 1994 19:09:16 +0000 (19:09 +0000)]
* expr.c (make_expr_symbol): No longer static.  Use symbol_create, not
symbol_new, for symbols holding expression values.
* expr.h (make_expr_symbol): Move declaration here.

30 years ago * xcoffread.c (read_xcoff_symtab, case C_FILE):
Jim Kingdon [Wed, 28 Sep 1994 18:02:00 +0000 (18:02 +0000)]
* xcoffread.c (read_xcoff_symtab, case C_FILE):
Set main_aux before using it.

30 years ago * gas/mips/beq.d, gas/mips/beq.s: Test that unconditional branch
Ian Lance Taylor [Wed, 28 Sep 1994 17:42:30 +0000 (17:42 +0000)]
* gas/mips/beq.d, gas/mips/beq.s: Test that unconditional branch
overflows are correctly converted to jumps.

30 years ago * config/tc-mips.c: Include subsegs.h.
Ian Lance Taylor [Wed, 28 Sep 1994 17:41:07 +0000 (17:41 +0000)]
* config/tc-mips.c: Include subsegs.h.
(md_apply_fix): If an unconditional b or bal overflows, and we are
not assembling PIC code, replace it with a j or jal.

30 years ago* xcoffexec.c (exec_close): If quitting, don't call clear_symtab_users.
Jim Kingdon [Wed, 28 Sep 1994 17:37:32 +0000 (17:37 +0000)]
* xcoffexec.c (exec_close): If quitting, don't call clear_symtab_users.

30 years ago * reloc.c (bfd_install_relocation): Cast data_start to bfd_byte *
Ian Lance Taylor [Wed, 28 Sep 1994 17:36:42 +0000 (17:36 +0000)]
* reloc.c (bfd_install_relocation): Cast data_start to bfd_byte *
before trying to add values to it.

30 years ago * xcoffread.c (read_xcoff_symtab): Process XTY_LD symbols we were
Jim Kingdon [Wed, 28 Sep 1994 17:18:59 +0000 (17:18 +0000)]
* xcoffread.c (read_xcoff_symtab): Process XTY_LD symbols we were
ignoring before.  But continue to ignore XMC_DS.

30 years ago * configure.in: Use mt-m68k for m68k*-*-aout* and m68k*-*-coff*,
Ian Lance Taylor [Wed, 28 Sep 1994 17:07:26 +0000 (17:07 +0000)]
* configure.in: Use mt-m68k for m68k*-*-aout* and m68k*-*-coff*,
not for m68k-*-*.

30 years ago * objdump.c (disassemble_data): Pass the reloc buffer to free, not
Ian Lance Taylor [Wed, 28 Sep 1994 17:06:41 +0000 (17:06 +0000)]
* objdump.c (disassemble_data): Pass the reloc buffer to free, not
the pointer used to loop over the relocs.

30 years ago * config/default.exp: Set variables as and nm. Create tmpdir if
Ian Lance Taylor [Wed, 28 Sep 1994 16:21:32 +0000 (16:21 +0000)]
* config/default.exp: Set variables as and nm.  Create tmpdir if
it does not already exist.
* ld.bootstrap/bootstrap.exp: Don't create tmpdir here.
* ld.cdtest/cdtest.exp: Likewise.
* ld.scripts/defined.exp: Likewise.  Also, don't set as and nm
here.  Change perror for no variables found to fail.
* ld.scripts/script.exp: New test.
* ld.scripts/script.t, ld.scripts/script.s: New files.

30 years ago * config/tc-mips.c (md_apply_fix): Correct branch overflow test.
Ian Lance Taylor [Wed, 28 Sep 1994 15:55:31 +0000 (15:55 +0000)]
* config/tc-mips.c (md_apply_fix): Correct branch overflow test.
Use as_bad_where and as_warn_where rather than as_bad and as_warn.

30 years ago * hpread.c (struct hpread_symfile_info): Delete have_module field
Jeff Law [Wed, 28 Sep 1994 06:42:24 +0000 (06:42 +0000)]
* hpread.c (struct hpread_symfile_info): Delete have_module field
and accessor macro.  Minor indentation fix.
(hpread_build_psymtabs, case K_MODULE):  Only start a new psymtab
and reset state variables have_name & texthigh if pst is NULL.
(hpread_build_psymtabs, case K_SRCFILE): Only reset the name of a
partial symbol table if pst is non-NULL.  If pst is NULL, then
start a new psymtab.
(hpread_process_one_debug_symbol, case K_MODULE): Now empty.
(hpread_process_one_debug_symbol, case K_SRCFILE): Simplify and
correct handling of subfiles.

30 years agoAdd libgloss.
Rob Savoye [Wed, 28 Sep 1994 01:31:45 +0000 (01:31 +0000)]
Add libgloss.

30 years ago * ld.scripts: New directory.
Ian Lance Taylor [Wed, 28 Sep 1994 00:06:27 +0000 (00:06 +0000)]
* ld.scripts: New directory.
* ld.scripts/defined.exp, ld.scripts/defined.s: New files.
* ld.scripts/defined.t: New file.
* lib/ld.exp (default_ld_simple_link): New function.
(default_ld_assemble, default_ld_nm): New functions.
* config/default.exp: Rename from unix-ld.exp.
(ld_simple_link, ld_assemble, ld_nm): New functions.

30 years agoDon't nuke hppapro.mt.
Rob Savoye [Tue, 27 Sep 1994 23:59:48 +0000 (23:59 +0000)]
Don't nuke hppapro.mt.

30 years ago * ldexp.c (fold_name): For DEFINED case, don't try to look up the
Ian Lance Taylor [Tue, 27 Sep 1994 22:41:51 +0000 (22:41 +0000)]
* ldexp.c (fold_name): For DEFINED case, don't try to look up the
name in the hash table during the first phase--the hash table does
not even exist at that point, much less have the right value.
PR 5699.

30 years ago * Makefile.in (CC): Define.
Ian Lance Taylor [Tue, 27 Sep 1994 22:25:04 +0000 (22:25 +0000)]
* Makefile.in (CC): Define.
(CXX): Move definition, change from g++ to gcc.
(EXPECT, RUNTEST): Copy definitions from top level Makefile.in.
(RUNTEST_CC, RUNTEST_CFLAGS): Remove.
(RUNTEST_CXX, RUNTEST_CXXFLAGS): Remove.
(CC_FOR_TARGET, CXX_FOR_TARGET): Copy from top level Makefile.in.
(.cc.o): Comment out.
(testdir): Remove.
(site.exp): Don't create testdir or set tmpdir.
(check): Run checks even if not running native.  Use CC_FOR_TARGET
instead of RUNTEST_CC, and likewise for CXX.
(cdtest targets): Comment out.
* config/solaris2.mh (HOSTING_LIBS): Only mention crtend.o once.
* cdtest-bar.cc, cdtest-foo.cc, cdtest-foo.h: Remove.
* cdtest-main.cc, cdtest.exp: Remove.

30 years ago * config/unix-ld.exp: Set ld using findfile.
Ian Lance Taylor [Tue, 27 Sep 1994 22:23:51 +0000 (22:23 +0000)]
* config/unix-ld.exp: Set ld using findfile.
* lib/ld.exp (default_ld_relocate): Return a value.  Change format
of log messages.
(default_ld_compile): Likewise.
(default_ld_link): Likewise.  Also, don't include $BFDLIB and
$LIBIBERTY in link.
* ld.bootstrap/bootstrap.exp: Rewrite.
* ld.cdtest/cdtest.exp: Rewrite.
* ld.cdtest/cdtest-foo.cc: Update from top level ld directory.
* ld.cdtest/cdtest-foo.h: Likewise.
* ld.cdtest/cdtest-main.cc: Likewise.

30 years agoDon't nuke libgloss anymore.
Rob Savoye [Tue, 27 Sep 1994 22:10:17 +0000 (22:10 +0000)]
Don't nuke libgloss anymore.

30 years ago * emulparams/elf32bmip.sh: Rename from elf32mipb.sh to avoid DOS
Ian Lance Taylor [Mon, 26 Sep 1994 22:08:57 +0000 (22:08 +0000)]
* emulparams/elf32bmip.sh: Rename from elf32mipb.sh to avoid DOS
file naming problems.
* emulparams/elf32lmip.sh: Rename from elf32mipl.sh.
* Makefile.in (ALL_EMULATIONS): Rename eelf32mipb.o to
eelf32bmip.o and eelf32mipl.o to eelf32lmip.o.
(eelf32bmip.c): Rename from eelf32mipb.c.  Use elf32bmip.sh.
(eelf32lmip.c): Rename from eelf32mipl.c.  Use elf32lmip.sh.
* config/mipsb-elf32.mt (EMUL): Use elf32bmip, not elf32mipb.
* config/mipsl-elf32.mt (EMUL): Use elf32lmip, not elf32mipl.

30 years ago * gas/mips: Add test cases for PIC code, both SVR4 style and
Ian Lance Taylor [Mon, 26 Sep 1994 21:43:26 +0000 (21:43 +0000)]
* gas/mips: Add test cases for PIC code, both SVR4 style and
-membedded-pic style.

30 years agocomment fix
Ian Lance Taylor [Mon, 26 Sep 1994 19:03:29 +0000 (19:03 +0000)]
comment fix

30 years agoSimplify targets by undoing change (with no ChangeLog entry) of June 8
Ian Lance Taylor [Mon, 26 Sep 1994 18:57:43 +0000 (18:57 +0000)]
Simplify targets by undoing change (with no ChangeLog entry) of June 8

30 years ago * genscripts.sh: Always search /usr/local/TARGET/lib.
Ian Lance Taylor [Mon, 26 Sep 1994 18:00:10 +0000 (18:00 +0000)]
* genscripts.sh: Always search /usr/local/TARGET/lib.

30 years ago * scripttempl/elf.sc: If -N is set, force DATA_ADDR to be ".".
Ian Lance Taylor [Mon, 26 Sep 1994 15:41:20 +0000 (15:41 +0000)]
* scripttempl/elf.sc: If -N is set, force DATA_ADDR to be ".".

30 years ago * elfcode.h (assign_file_positions_except_relocs): Align the
Ian Lance Taylor [Mon, 26 Sep 1994 15:40:12 +0000 (15:40 +0000)]
* elfcode.h (assign_file_positions_except_relocs): Align the
section VMA and the file position even if D_PAGED is not set.

30 years ago * bfd-in.h (bfd_seek): Change declaration to not mark fp const.
Ian Lance Taylor [Mon, 26 Sep 1994 15:01:59 +0000 (15:01 +0000)]
* bfd-in.h (bfd_seek): Change declaration to not mark fp const.
* bfd-in2.h: Rebuild.
* libbfd.c (bfd_seek): Don't mark parameters const, to avoid
conflicts with declaration.

30 years ago * defs.h (misc_command_type): Remove trailing comma from
Peter Schauer [Mon, 26 Sep 1994 10:02:43 +0000 (10:02 +0000)]
* defs.h (misc_command_type):  Remove trailing comma from
enumerator list.

30 years ago * hppa-tdep.c (frame_saved_pc): Fix thinko in code to dig saved pc
Jeff Law [Mon, 26 Sep 1994 05:22:21 +0000 (05:22 +0000)]
* hppa-tdep.c (frame_saved_pc): Fix thinko in code to dig saved pc
out of an interrupt frame.

30 years agotipo
Ian Lance Taylor [Mon, 26 Sep 1994 02:48:36 +0000 (02:48 +0000)]
tipo

30 years ago * infcmd.c (do_registers_info) [INVALID_FLOAT]: Only use if
Stan Shebs [Sun, 25 Sep 1994 21:13:24 +0000 (21:13 +0000)]
* infcmd.c (do_registers_info) [INVALID_FLOAT]: Only use if
defined.
* values.c (unpack_double) [INVALID_FLOAT]: Ditto.
* mips-tdep.c (mips_print_register): Don't test float validity.
* config/a29k/tm-a29k.h, config/alpha/tm-alpha.h,
config/arm/tm-arm.h, config/convex/tm-convex.h,
config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
config/i386/tm-i386v.h, config/i386/tm-sun386.h,
config/i960/tm-i960.h, config/m68k/tm-m68k.h,
config/m88k/tm-m88k.h, config/mips/tm-mips.h,
config/ns32k/tm-merlin.h, config/ns32k/tm-nbsd.h,
config/ns32k/tm-ns32km3.h, config/ns32k/tm-umax.h,
config/pa/tm-hppa.h, config/pyr/tm-pyr.h,
config/rs6000/tm-rs6000.h, config/sh/tm-sh.h,
config/sparc/tm-sparc.h, config/z8k/tm-z8k.h (INVALID_FLOAT):
Remove definition.

30 years ago * TODO: Remove item about adding general multi-threaded stuff;
Jim Kingdon [Sun, 25 Sep 1994 13:21:22 +0000 (13:21 +0000)]
* TODO: Remove item about adding general multi-threaded stuff;
this is done.
Remove item about specifying arbitrary locations of stack frames
(this works on some machines).
Remove item about debugging functions without a frame pointer
(this works on some machines).
Remove item about re-writing macros which handle frame chaining and
frameless functions.  They have been re-written at least once
since that item was written.
Remove item about gdb catching SIGINT when attached; this is done.
Remove item about having list_command not read symbols--why bother?

30 years ago * TODO: Append contents of Projects file.
Stan Shebs [Sun, 25 Sep 1994 00:47:28 +0000 (00:47 +0000)]
* TODO: Append contents of Projects file.
* Projects: Remove.

30 years agoNo longer need to keep/lose any MPW stuff
Stan Shebs [Sat, 24 Sep 1994 21:29:22 +0000 (21:29 +0000)]
No longer need to keep/lose any MPW stuff

30 years ago * mpw-make.in (config.h): Add defines from ho-mpw.h directly.
Stan Shebs [Sat, 24 Sep 1994 21:27:44 +0000 (21:27 +0000)]
* mpw-make.in (config.h): Add defines from ho-mpw.h directly.
* config/ho-mpw.h: Remove.

30 years ago * mpw-build.in (all): Display start and end times.
Stan Shebs [Sat, 24 Sep 1994 21:23:04 +0000 (21:23 +0000)]
* mpw-build.in (all): Display start and end times.

30 years ago * corelow.c (add_solib_stub): Remove copying of to_sections,
Peter Schauer [Sat, 24 Sep 1994 09:00:50 +0000 (09:00 +0000)]
* corelow.c (add_solib_stub):  Remove copying of to_sections,
pass current_target to SOLIB_ADD. The Sep 10 change failed
if SOLIB_ADD errored out, or if SOLIB_ADD was trying to access
target memory.
* corelow.c (core_open):  After reading the shared libraries,
copy the modified to_sections vector from current_target to
core_ops, so that core_close can free it later.
* config/rs6000/nm-rs6000.h, rs6000-nat.c (xcoff_relocate_core):
Pass down target parameter from SOLIB_ADD and use it instead of
directly accessing core_ops.

30 years agotypo fixes from pat rankin
Ken Raeburn [Fri, 23 Sep 1994 22:56:48 +0000 (22:56 +0000)]
typo fixes from pat rankin

30 years ago* solib.c: *BSD systems need <a.out.h> to be included before
J.T. Conklin [Fri, 23 Sep 1994 22:30:31 +0000 (22:30 +0000)]
* solib.c: *BSD systems need <a.out.h> to be included before
  <link.h>.

* i386b-nat.c: Add i386_float_info(), etc.
* config/i386/nm-nbsd.h: #define FLOAT_INFO.

* config/nm-nbsd.h: New file, for generic NetBSD native support.
* config/i386/nm-nbsd.h: Use it.
* config/sparc/nm-nbsd.h: Use it.
* config/ns32k/nm-nbsd.h: Use it.

* configure.in (i386-*-netbsd): Use config/i386/nbsd.m[ht].
  (ns32k-*-netbsd): Use config/ns32k/nbsd.m[ht].
* config/i386/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}:
  New files, support for NetBSD/i386.
* config/ns32k/{nbsd.mh,nbsd.mh,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}:
  New files, support for NetBSD/ns32k.

30 years agosome news
Ken Raeburn [Fri, 23 Sep 1994 19:44:17 +0000 (19:44 +0000)]
some news

30 years ago * elfcode.h (map_program_segments): Don't abort if we allocated
Ian Lance Taylor [Fri, 23 Sep 1994 19:19:41 +0000 (19:19 +0000)]
* elfcode.h (map_program_segments): Don't abort if we allocated
too much space for the program header, only if we allocated too
little.

30 years agocfree -> free
Ken Raeburn [Fri, 23 Sep 1994 19:12:14 +0000 (19:12 +0000)]
cfree -> free

30 years ago * gas/mips: New directory with MIPS specific test cases.
Ian Lance Taylor [Fri, 23 Sep 1994 19:10:21 +0000 (19:10 +0000)]
* gas/mips: New directory with MIPS specific test cases.

30 years ago * symbols.h (copy_symbol_attributes): Declare.
Ian Lance Taylor [Fri, 23 Sep 1994 18:54:40 +0000 (18:54 +0000)]
* symbols.h (copy_symbol_attributes): Declare.

30 years ago * lexsup.c (parse_args): Add support for -a for HP/UX
Ian Lance Taylor [Fri, 23 Sep 1994 16:31:32 +0000 (16:31 +0000)]
* lexsup.c (parse_args): Add support for -a for HP/UX
compatibility.

30 years ago * COPYING.NEWLIB: New file.
David Edelsohn [Fri, 23 Sep 1994 02:09:13 +0000 (02:09 +0000)]
* COPYING.NEWLIB: New file.

30 years agodelete -> remove
Ken Raeburn [Fri, 23 Sep 1994 02:06:14 +0000 (02:06 +0000)]
delete -> remove

30 years agoModified Files:
Kung Hsu [Thu, 22 Sep 1994 20:43:39 +0000 (20:43 +0000)]
Modified Files:
ChangeLog ecoff.c read.c

        * ecoff.c (ecoff_generate_asm_lineno): check if
        current_stabs_filename is NULL before strcmp.
        * read.c (read_a_source_file): fxi a bug in generate_asm_lineno
        checking.

30 years agovms, ho-*.h, sym attr changes just checked in
Ken Raeburn [Wed, 21 Sep 1994 22:23:30 +0000 (22:23 +0000)]
vms, ho-*.h, sym attr changes just checked in

30 years agoCombine two existing mechanisms for copying symbol attributes, and fix a bug:
Ken Raeburn [Wed, 21 Sep 1994 22:21:25 +0000 (22:21 +0000)]
Combine two existing mechanisms for copying symbol attributes, and fix a bug:

* symbols.c (copy_symbol_attributes): New function.  Copies BFD symbol flags
and calls OBJ_COPY_SYMBOL_ATTRIBUTES.
(resolve_symbol_value, case O_symbol): Call it, if X_add_number is zero.  Don't
call obj_frob_forward_symbol.
* read.c (pseudo_set): Call copy_symbol_attributes, but only if X_add_number is
zero.
* config/obj-elf.h (obj_frob_forward_symbol): Deleted.

30 years agohost file changes
Ken Raeburn [Wed, 21 Sep 1994 22:18:06 +0000 (22:18 +0000)]
host file changes

30 years agovms changes from pat rankin
Ken Raeburn [Wed, 21 Sep 1994 22:17:23 +0000 (22:17 +0000)]
vms changes from pat rankin

30 years agodelete old host-specific files
Ken Raeburn [Wed, 21 Sep 1994 22:16:42 +0000 (22:16 +0000)]
delete old host-specific files

30 years ago * config/tc-ppc.c (ppc_current_block): New static variable.
Ian Lance Taylor [Wed, 21 Sep 1994 17:43:17 +0000 (17:43 +0000)]
* config/tc-ppc.c (ppc_current_block): New static variable.
(ppc_stabx): Set sy_tc.within of a C_STSYM symbol to
ppc_current_block.  Don't move around any stab symbol, just those
for common symbols.
(ppc_bs): Set ppc_current_block.
(ppc_es): Clear ppc_current_block.
(ppc_frob_symbol): Set the value of a C_STSYM symbol to the offset
from the csect of the enclosing block.
PR 5658.

30 years ago * config/tc-mips.c (insns_since_cache_access): Remove.
Ian Lance Taylor [Wed, 21 Sep 1994 17:03:04 +0000 (17:03 +0000)]
* config/tc-mips.c (insns_since_cache_access): Remove.
(append_insn): Remove setting of insns_since_cache_access, and
special 4600 handling; it turns out not to be required.
PR 5664.

30 years ago* .gdbinit: Add list-objfiles command.
Jim Kingdon [Wed, 21 Sep 1994 03:23:28 +0000 (03:23 +0000)]
* .gdbinit: Add list-objfiles command.

30 years ago* TODO: Reword item regarding NO_STD_REGS.
Jim Kingdon [Wed, 21 Sep 1994 03:23:01 +0000 (03:23 +0000)]
* TODO: Reword item regarding NO_STD_REGS.

30 years ago * coffread.c (record_minimal_symbol, coff_read_enum_type,
Jim Kingdon [Wed, 21 Sep 1994 03:02:48 +0000 (03:02 +0000)]
* coffread.c (record_minimal_symbol, coff_read_enum_type,
coff_read_struct_type): Allocate on symbol_obstack, not directly
via malloc/savestring.

30 years ago * mpw-config.in: Don't create host.h.
Stan Shebs [Wed, 21 Sep 1994 00:45:25 +0000 (00:45 +0000)]
* mpw-config.in: Don't create host.h.
* mpw-make.in (config.h): Add in contents of ho-mpw.h.
* config/ho-mpw.h (TRUE_FALSE_ALREADY_DEFINED, WANT_FOPEN_BIN,
HAVE_ERRNO_H): Define.

30 years ago * TODO: Add more items.
Stan Shebs [Tue, 20 Sep 1994 23:00:47 +0000 (23:00 +0000)]
* TODO: Add more items.
* tests: Remove the directory and all of its (obsolete) contents.

... config/rs6000/rs6000lynx.mh ...
        (REGEX, REGEX1, SYSV_DEFINE): No longer
define.

30 years ago * ld.h (args_type): Add new field endian.
Ian Lance Taylor [Tue, 20 Sep 1994 21:16:11 +0000 (21:16 +0000)]
* ld.h (args_type): Add new field endian.
* lexsup.c (parse_args): Handle -EB and -EL by setting
command_line.endian.
* ldgram.y (ifile_p1): Accept OUTPUT_FORMAT with three arguments.
* ldlang.c (lang_add_output_format): Add arguments big and little.
If command_line.endian is set, use it to select big or little
rather than the default.  Changed all callers.
* ldlang.h (lang_add_output_format): Update declaration.
* emulparams/elf32mipb.sh: Define BIG_OUTPUT_FORMAT and
LITTLE_OUTPUT_FORMAT.
* emulparams/elf32mipl.sh: Likewise.
* emulparams/mipsbig.sh: Likewise.
* emulparams/mipsbsd.sh: Likewise.
* emulparams/mipsidt.sh: Likewise.
* emulparams/mipsidtl.sh: Likewise.
* emulparams/mipslit.sh: Likewise.
* scripttempl/elf.sc: Define BIG_OUTPUT_FORMAT and
LITTLE_OUTPUT_FORMAT if not already defined.  Pass them to
OUTPUT_FORMAT.
* scripttempl/mips.sc: Pass BIG_OUTPUT_FORMAT and
LITTLE_OUTPUT_FORMAT to OUTPUT_FORMAT.
* scripttempl/mipsbsd.sc: Likewise.

30 years ago* libaout.h: Fix comment.
J.T. Conklin [Tue, 20 Sep 1994 20:20:12 +0000 (20:20 +0000)]
* libaout.h: Fix comment.
* ns32knbsd.h: Changed M_NS32K_NETBSD to M_532_NETBSD to match
  libaout.h.

30 years ago * config/tc-mips.c (md_shortopts): Remove E.
Ian Lance Taylor [Tue, 20 Sep 1994 20:16:24 +0000 (20:16 +0000)]
* config/tc-mips.c (md_shortopts): Remove E.
(md_longopts): Add EB and EL.
(md_parse_option): Handle -EB and -EL as separate options, rather
than as a single -E option with an argument.

30 years ago * coff-sh.c (rtype2howto): Remove; unused.
Ian Lance Taylor [Tue, 20 Sep 1994 19:24:50 +0000 (19:24 +0000)]
* coff-sh.c (rtype2howto): Remove; unused.
(coff_sh_relocate_section): Remove unused local variable rstat.
(reloc_processing): Comment out; unused.

30 years ago * Makefile.in (ALL_EMULATIONS): Add eelf32mipb.o and eelf32mipl.o.
Ian Lance Taylor [Tue, 20 Sep 1994 19:07:36 +0000 (19:07 +0000)]
* Makefile.in (ALL_EMULATIONS): Add eelf32mipb.o and eelf32mipl.o.
(eelf32mipl.c): New target.

30 years ago * configure.in (mips*el-elf*): New target.
Ian Lance Taylor [Tue, 20 Sep 1994 18:41:27 +0000 (18:41 +0000)]
* configure.in (mips*el-elf*): New target.
* config/mipsl-elf32.mt: New file.
* emulparams/elf32mipl.sh: New file.

30 years ago * coffread.c (init_stringtab): When copying length to stringtab,
Jim Kingdon [Tue, 20 Sep 1994 18:39:25 +0000 (18:39 +0000)]
* coffread.c (init_stringtab): When copying length to stringtab,
use target format, not host format, since that is what the rest of
the code assumes.