binutils-gdb.git
30 years ago * section.c (SEC_COFF_SHARED_LIBRARY): Renamed from
Ian Lance Taylor [Tue, 10 May 1994 18:29:19 +0000 (18:29 +0000)]
* section.c (SEC_COFF_SHARED_LIBRARY): Renamed from
SEC_SHARED_LIBRARY for clarity.  Changed all uses.
* bfd-in2.h: Rebuilt.
* coffcode.h (sec_to_styp_flags): If SEC_COFF_SHARED_LIBRARY is
set, set STYP_NOLOAD.
* coffgen.c (coff_section_from_bfd_index): Don't get an assertion
failure because of a bad shared library.

30 years agoTue May 10 11:20:54 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Tue, 10 May 1994 18:26:39 +0000 (18:26 +0000)]
Tue May 10 11:20:54 1994  Stan Shebs  (shebs@andros.cygnus.com)

* configure.in (sparclite): Match on sparclite*-*-*.

30 years agoTypo.
Ian Lance Taylor [Tue, 10 May 1994 02:04:58 +0000 (02:04 +0000)]
Typo.

30 years ago * linker.c: Add missing comment terminator.
Bill Cox [Tue, 10 May 1994 01:58:35 +0000 (01:58 +0000)]
* linker.c: Add missing comment terminator.

30 years ago * linker.c (_bfd_generic_link_add_one_symbol): If hashp and *hashp
Ian Lance Taylor [Mon, 9 May 1994 23:22:00 +0000 (23:22 +0000)]
* linker.c (_bfd_generic_link_add_one_symbol): If hashp and *hashp
are not NULL, assume the caller has already looked up the symbol
in the hash table and has stored the entry in *hashp.
(generic_link_add_symbol_list): Set h to NULL before calling
_bfd_generic_link_add_one_symbol.
* ecoff.c (ecoff_link_add_externals): Likewise.

30 years ago * readline.c (_rl_set_screen_size): Don't compile if __GO32__ is
Ian Lance Taylor [Mon, 9 May 1994 23:01:56 +0000 (23:01 +0000)]
* readline.c (_rl_set_screen_size): Don't compile if __GO32__ is
defined.
* rltty.c (control_meta_key): Likewise.
* parens.c: If __GO32__ is defined, undefine FD_SET.
* signals.c: Include SIGWINCH handling in the set of things which
is not done if HANDLE_SIGNALS is not set.

30 years ago * display.c: If __GO32__ is defined, include <sys/pc.h>.
Ian Lance Taylor [Mon, 9 May 1994 22:36:24 +0000 (22:36 +0000)]
* display.c: If __GO32__ is defined, include <sys/pc.h>.

30 years ago * readline.c (readline_default_bindings): Don't compile if
Ian Lance Taylor [Mon, 9 May 1994 22:31:26 +0000 (22:31 +0000)]
* readline.c (readline_default_bindings): Don't compile if
__GO32__ is defined.
* rltty.c (rltty_set_default_bindings): Likewise.

30 years ago * elfcode.h: Include bfdlink.h. Added several new functions to do
Ian Lance Taylor [Mon, 9 May 1994 16:58:36 +0000 (16:58 +0000)]
* elfcode.h: Include bfdlink.h.  Added several new functions to do
linking.
(ELF_R_TYPE): Define.
(bfd_add_to_strtab): Return unsigned long.  Change check for
realloc failure.
(elf_fake_sections): Check return value of bfd_add_to_strtab.
(elf_compute_section_file_positions): Add link_info argument.
Call elf_backend_begin_write_processing hook and prep_headers
here.  Only call swap_out_syms if link_info is NULL.  Set up
.shstrtab section here.  Pass dosyms argument to
assign_file_positions_except_relocs.  Set output_has_begun flag.
(assign_file_positions_for_symtab_and_strtabs): Add dosyms
argument, and use it to control setting .symtab and .strtab file
positions.
(assign_file_positions_except_relocs): Add dosyms argument, and
pass it on.
(prep_headers): Check return value of bfd_add_to_strtab.
(swap_out_syms): Likewise.  Also, don't set up .shstrtab here.
(NAME(bfd_elf,write_object_contents)): Some calls moved into
elf_compute_section_file_positions.
(elf_set_section_contents): Likewise.
(elf_slurp_symbol_table): SHN_LORESERV corrected to SHN_LORESERVE.
* libelf.h: Include bfdlink.h.
(struct elf_backend_data): Add fields collect,
elf_add_symbol_hook, elf_backend_relocate_section.
(struct bfd_elf_section_data): Add field rel_hashes.
(struct elf_obj_tdata): Remove fields internal_syms and symbols.
Add field sym_hashes.
(obj_symbols, obj_internal_syms): Remove definitions.
(elf_sym_hashes): Define.
(struct elf_link_hash_entry): Define.
(struct elf_link_hash_table): Define.
(elf_link_hash_lookup): Define.
(elf_link_hash_traverse): Define.
(elf_hash_table): Define.
(_bfd_elf_link_hash_table_create): Declare.
(bfd_elf32_bfd_link_add_symbols): Declare.
(bfd_elf32_bfd_final_link): Declare.
(bfd_elf64_bfd_link_add_symbols): Declare.
(bfd_elf64_bfd_final_link): Declare.
* elf.c: Include bfdlink.h.
(elf_link_hash_newfunc): New function.
(_bfd_elf_link_hash_table_create): New function.
* elf32-target.h (elf_backend_relocate_section): If not defined,
define as 0 and use generic linker.  Otherwise, use ELF backend
linker.
(elf_backend_collect): If not defined, define as false.
(elf_backend_add_symbol_hook): If not defined, define as 0.
(elf32_bed): Initialize new fields.
* elf64-target.h: Same changes as elf32-target.h.
* elf32-i386.c: Include bfdlink.h.
(elf_i386_relocate_section): New function.
(elf_backend_relocate_section): Define.
* elf32-sparc.c: Include bfdlink.h.
(elf_info_to_howto): Change type of dst from Elf32_Internal_Rela
to Elf_Internal_Rela (they're the same type anyhow).
(elf_sparc_relocate_section): New function.
(elf_backend_relocate_section): Define.
* elf32-mips.c (elf_backend_collect): Define.

30 years agoRemove Delta68 support. Could not get copyright assignment for it.
Ian Lance Taylor [Mon, 9 May 1994 16:36:38 +0000 (16:36 +0000)]
Remove Delta68 support.  Could not get copyright assignment for it.
From now on, I'll get that first.

30 years agoFix typo in last change.
Steve Chamberlain [Mon, 9 May 1994 16:10:34 +0000 (16:10 +0000)]
Fix typo in last change.

30 years agoRemove debugging code.
Jim Kingdon [Sun, 8 May 1994 15:22:51 +0000 (15:22 +0000)]
Remove debugging code.

30 years agokeep gld960c.em
Ken Raeburn [Sun, 8 May 1994 05:38:24 +0000 (05:38 +0000)]
keep gld960c.em

30 years agokeep gld960coff.sh
Ken Raeburn [Sun, 8 May 1994 05:37:58 +0000 (05:37 +0000)]
keep gld960coff.sh

30 years agodeal with file renaming, new files
Ken Raeburn [Sun, 8 May 1994 05:37:17 +0000 (05:37 +0000)]
deal with file renaming, new files

30 years agoremove unneeded files
Ken Raeburn [Sun, 8 May 1994 05:21:37 +0000 (05:21 +0000)]
remove unneeded files

30 years agonote file renaming
Ken Raeburn [Sun, 8 May 1994 05:21:18 +0000 (05:21 +0000)]
note file renaming

30 years agoAdd a major mode for the breakpoints window.
Jim Kingdon [Sun, 8 May 1994 01:59:01 +0000 (01:59 +0000)]
Add a major mode for the breakpoints window.

30 years agoFix typo in gdb-goto-first-gdb-instance.
Jim Kingdon [Sun, 8 May 1994 01:21:24 +0000 (01:21 +0000)]
Fix typo in gdb-goto-first-gdb-instance.

Re-write gdb-look-for-tagged-buffer to avoid recursion (I was getting
errors because of too much nesting, obviously elisp lacks tail
recursion optimization)

Fix toggle-bp-this-line for new ways of communicating with gdb and
rename to gdb-toggle-bp-this-line.

30 years ago * a29k-dis.c (print_insn): Print 'x' type operand in hex.
Steve Chamberlain [Sun, 8 May 1994 00:19:06 +0000 (00:19 +0000)]
* a29k-dis.c (print_insn): Print 'x' type operand in hex.
* h8300-dis.c (bfd_h8_disassemble): Print 16bit rels correctly.
* sh-dis.c (print_insn_sh): Don't recur endlessly if delay
slot insn is in a delay slot.
* z8k-opc.h: (resflg): Fix patterns.
* h8500-opc.h Fix CR insn patterns.

30 years agoDisable single quote strings.
Steve Chamberlain [Sat, 7 May 1994 23:51:30 +0000 (23:51 +0000)]
Disable single quote strings.

30 years agoDie.
Steve Chamberlain [Sat, 7 May 1994 23:48:50 +0000 (23:48 +0000)]
Die.

30 years ago * configure.in (target==go32): Don't build gdb.
Steve Chamberlain [Sat, 7 May 1994 23:48:27 +0000 (23:48 +0000)]
* configure.in (target==go32): Don't build gdb.
* dosrel: New directory.

30 years agoRestore changelog entries clobbered by last checkin.
Stan Shebs [Sat, 7 May 1994 20:11:44 +0000 (20:11 +0000)]
Restore changelog entries clobbered by last checkin.

30 years agoRestore changes clobbered by last check in.
Ian Lance Taylor [Sat, 7 May 1994 05:01:09 +0000 (05:01 +0000)]
Restore changes clobbered by last check in.

30 years agoIt's mh-lynxrs6k, not mh-lynxosrs6k.
Ian Lance Taylor [Sat, 7 May 1994 04:58:52 +0000 (04:58 +0000)]
It's mh-lynxrs6k, not mh-lynxosrs6k.

30 years agoNo, this file really should have been removed, not recreated.
Ian Lance Taylor [Sat, 7 May 1994 04:57:38 +0000 (04:57 +0000)]
No, this file really should have been removed, not recreated.

30 years agovarious changes for lynx.rs, ericsson, BNR.
David Henkel-Wallace [Sat, 7 May 1994 00:34:19 +0000 (00:34 +0000)]
various changes for lynx.rs, ericsson, BNR.

30 years ago * configure.in (host==go32): Configure dosrel too.
Steve Chamberlain [Fri, 6 May 1994 21:25:45 +0000 (21:25 +0000)]
* configure.in (host==go32): Configure dosrel too.
* Makefile.in (INTALL_TARGET): Call INSTALL_LAST last.
(HOST_CC, HOST_PREFIX, HOST_PREFIX_1): Undefine, they should
be set by incoming names or templates.
(INSTALL_LAST): New rule.
* config/mh-go32: New fragment.

30 years ago * config/go32.mh: New makefile fragment for go32 crossing.
Steve Chamberlain [Fri, 6 May 1994 21:14:49 +0000 (21:14 +0000)]
    * config/go32.mh: New makefile fragment for go32 crossing.
* configure.in (host==go32): Use new fragment.

30 years ago * config/mh-go32: New fragment.
Steve Chamberlain [Fri, 6 May 1994 20:40:19 +0000 (20:40 +0000)]
    * config/mh-go32: New fragment.
* configure.in (host==go32): Use go32 fragment.

30 years agoFri May 6 13:30:22 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Fri, 6 May 1994 20:39:25 +0000 (20:39 +0000)]
Fri May  6 13:30:22 1994  Stan Shebs  (shebs@andros.cygnus.com)

* Makefile.in (kdb): Remove old init.c creation commands.
* configure.in (sparclite): Match on sparclite*.
* sparclite/aload.c (main): Only change section addresses for
a.out format object files.

30 years ago * config/i386/go32.mh: Define CC.
Steve Chamberlain [Fri, 6 May 1994 20:28:55 +0000 (20:28 +0000)]
* config/i386/go32.mh: Define CC.

30 years agoFri May 6 11:56:54 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Fri, 6 May 1994 19:52:23 +0000 (19:52 +0000)]
Fri May  6 11:56:54 1994  Stan Shebs  (shebs@andros.cygnus.com)

* gdbserver/Makefile.in: Remove irrelevant definitions and
comments inherited from the gdb Makefile.
(BFD_DIR, BFD, BFD_SRC, BFD_CFLAGS): Add from gdb Makefile.
(VERSION): Update to 4.12.3.
(gdbserver): Remove any existing executable first.
(distclean, realclean): Remove nm.h.
* gdbserver/low-lynx.c: Add Sparc Lynx support.
* gdbserver/low-sparc.c, gdbserver/low-sun3.c (sys/wait.h):
Don't use absolute pathname.

30 years agosupport for Xgo32X.
Steve Chamberlain [Fri, 6 May 1994 19:27:57 +0000 (19:27 +0000)]
support for Xgo32X.

30 years ago * config/go32.mh : New file for Xgo32X.
Steve Chamberlain [Fri, 6 May 1994 19:25:31 +0000 (19:25 +0000)]
* config/go32.mh : New file for Xgo32X.

30 years ago * ldfile.c (ldfile_open_command_file): Set bfd_error_system_call
Ian Lance Taylor [Fri, 6 May 1994 19:21:00 +0000 (19:21 +0000)]
* ldfile.c (ldfile_open_command_file): Set bfd_error_system_call
before calling einfo, since we are reporting an fopen failure.
From jrs@world.std.com (Rick Sladkey).

30 years ago * configure.in: Use "e" rather than "em_" as prefix for
Ian Lance Taylor [Fri, 6 May 1994 19:16:30 +0000 (19:16 +0000)]
* configure.in: Use "e" rather than "em_" as prefix for
emulations.

30 years ago * config/go32.mh: XX support.
Steve Chamberlain [Fri, 6 May 1994 18:53:44 +0000 (18:53 +0000)]
* config/go32.mh: XX support.

From bill
* Makefile.in: Build sysdep.h without causing worrying but
harmless error message.

30 years ago * gasp.c: Include libiberty.h.
Ian Lance Taylor [Fri, 6 May 1994 18:39:04 +0000 (18:39 +0000)]
* gasp.c: Include libiberty.h.
(main): Remove unused variable i.

30 years ago * nlmcode.h (nlm_swap_auxiliary_headers_in): Rework custom header
Ian Lance Taylor [Fri, 6 May 1994 17:37:39 +0000 (17:37 +0000)]
* nlmcode.h (nlm_swap_auxiliary_headers_in): Rework custom header
handling for latest suggested format.
(nlm_swap_auxiliary_headers_out): Likewise.
(nlm_compute_section_file_positions): Likewise.

30 years agoem_->e, mips-idtl->mipsl-idt name changes
Ken Raeburn [Fri, 6 May 1994 06:55:54 +0000 (06:55 +0000)]
em_->e, mips-idtl->mipsl-idt name changes

30 years ago* emultempl/generic.em: Use "e" rather than "em_" as prefix for filename.
Ken Raeburn [Fri, 6 May 1994 06:55:35 +0000 (06:55 +0000)]
* emultempl/generic.em: Use "e" rather than "em_" as prefix for filename.
* emultempl/gld960.em, emultempl/gld960c.em, emultempl/lnk960.em,
emultempl/hppaelf.em, emultempl/m88kbcs.em, emultempl/vanilla.em: Ditto.
* Makefile.in: Changed all generated file names.
(ldemul-list.h): Depend on Makefile, not config.status.  Changed sed patterns
to handle new filenames.

30 years ago* config/mipsl-idt.mt: Renamed from mips-idtl.mt.
Ken Raeburn [Fri, 6 May 1994 06:54:15 +0000 (06:54 +0000)]
* config/mipsl-idt.mt: Renamed from mips-idtl.mt.
* configure.in: Adjusted.

30 years agoThu May 5 20:23:36 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Fri, 6 May 1994 03:31:15 +0000 (03:31 +0000)]
Thu May  5 20:23:36 1994  Stan Shebs  (shebs@andros.cygnus.com)

* stabs.texinfo (Stab Section Basics): Add comment about alignment
of stabs-in-coff sections.

30 years ago* emulparams/gld960coff.sh: New file.
Ken Raeburn [Fri, 6 May 1994 00:40:18 +0000 (00:40 +0000)]
* emulparams/gld960coff.sh: New file.

Patches from Ralph Campbell:
* emulparams/mipsbsd.sh (OUTPUT_FORMAT): Fix name to have `a.out'
instead of `aout'.

30 years ago* config/cf-h8300h.mt: Renamed from coff-h8300h.mt, to make it unique in 8.3.
Ken Raeburn [Fri, 6 May 1994 00:39:32 +0000 (00:39 +0000)]
* config/cf-h8300h.mt: Renamed from coff-h8300h.mt, to make it unique in 8.3.

* config/i960coff.mt: New file.

Patches from Ralph Campbell:
* config/mipsbsd.mh: New file.

30 years ago* config/mh-lynxrs6k: Renamed from mh-lynxosrs6k, to make it unique in 8.3
Ken Raeburn [Fri, 6 May 1994 00:12:22 +0000 (00:12 +0000)]
* config/mh-lynxrs6k: Renamed from mh-lynxosrs6k, to make it unique in 8.3
naming schemes.
* configure.in (appdirs): New variable.  Currently empty, but will be used in
gas distribution.  If nonempty, lists a set of directories at least one of
which must get configured, or top level configuration is considered to have
failed.
(rs6000-*-lynxos*): Use new file name.

30 years ago* config/mh-lynxrs6k: Renamed from mh-lynxosrs6k, to make it unique in 8.3
Ken Raeburn [Fri, 6 May 1994 00:11:03 +0000 (00:11 +0000)]
* config/mh-lynxrs6k: Renamed from mh-lynxosrs6k, to make it unique in 8.3
naming schemes.

30 years agoNote deleted files.
Ken Raeburn [Fri, 6 May 1994 00:03:20 +0000 (00:03 +0000)]
Note deleted files.

30 years ago* symbols.c (symbol_new) [BFD_ASSEMBLER]: Don't permit additions to the symbol
Ken Raeburn [Fri, 6 May 1994 00:03:11 +0000 (00:03 +0000)]
* symbols.c (symbol_new) [BFD_ASSEMBLER]: Don't permit additions to the symbol
table if it's already been set in the output bfd.
(symbol_begin) [! EMIT_SECTION_SYMBOLS] [RELOC_REQUIRES_SYMBOL]: Don't use
bfd_abs_section.symbol for gas absolute symbol.

30 years agodoc/Makefile.in (distclean, clean-dvi, clean-info): Delete gasp files too.
Ken Raeburn [Fri, 6 May 1994 00:00:41 +0000 (00:00 +0000)]
doc/Makefile.in (distclean, clean-dvi, clean-info): Delete gasp files too.

30 years agogprof.h, Makefile.in changes
Ken Raeburn [Thu, 5 May 1994 23:25:12 +0000 (23:25 +0000)]
gprof.h, Makefile.in changes

30 years ago(TRUE, FALSE): Always use undef before defining them.
Ken Raeburn [Thu, 5 May 1994 23:24:57 +0000 (23:24 +0000)]
(TRUE, FALSE): Always use undef before defining them.

30 years ago(install-info): Check for gprof.info in build dir, fall back to srcdir. Depend
Ken Raeburn [Thu, 5 May 1994 23:24:33 +0000 (23:24 +0000)]
(install-info): Check for gprof.info in build dir, fall back to srcdir.  Depend
on it.

30 years agosyslex.l, objdump.c/config changes
Ken Raeburn [Thu, 5 May 1994 22:53:04 +0000 (22:53 +0000)]
syslex.l, objdump.c/config changes

30 years ago* Makefile.in (objdump.o): Deleted special rule.
Ken Raeburn [Thu, 5 May 1994 22:52:31 +0000 (22:52 +0000)]
* Makefile.in (objdump.o): Deleted special rule.
* configure.in: Don't bother building ARCHDEFS variable for Makefile.
* objdump.c (ARCH_*): Deleted handling.
(disassemble_data): Call `disassembler' from opcodes library.

30 years ago(yywrap): Define as function if not defined as a macro.
Ken Raeburn [Thu, 5 May 1994 22:51:27 +0000 (22:51 +0000)]
(yywrap): Define as function if not defined as a macro.

30 years ago * config/tc-mips.c (mips_emit_delays): Make call to
Ian Lance Taylor [Thu, 5 May 1994 22:22:24 +0000 (22:22 +0000)]
* config/tc-mips.c (mips_emit_delays): Make call to
mips_no_prev_insn unconditional.

30 years ago* config/obj-coff*.*: Merged coffbfd versions into coff versions, with a single
Ken Raeburn [Thu, 5 May 1994 21:38:25 +0000 (21:38 +0000)]
* config/obj-coff*.*: Merged coffbfd versions into coff versions, with a single
"#ifdef BFD_ASSEMBLER" controlling most of it for now.  Deleted obj-coffbfd.*
files.
* configure.in: Always use obj-coff.* for COFF targets.

30 years ago* config/default.exp: Renamed from unix-gas.exp.
Ken Raeburn [Thu, 5 May 1994 21:34:11 +0000 (21:34 +0000)]
* config/default.exp: Renamed from unix-gas.exp.

30 years agoThu May 5 12:00:22 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Thu, 5 May 1994 19:07:10 +0000 (19:07 +0000)]
Thu May  5 12:00:22 1994  Stan Shebs  (shebs@andros.cygnus.com)

* rs6000-nat.c (vmap_ldinfo): Don't fail if fstat returns an
error.

30 years ago* configure.in (mips*-dec-bsd*): New target; do build linker.
Ken Raeburn [Thu, 5 May 1994 05:27:24 +0000 (05:27 +0000)]
* configure.in (mips*-dec-bsd*): New target; do build linker.
(mips*-*-bsd*): New target; don't build linker.

30 years ago * infrun.c (proceed, normal_stop, wait_for_inferior), breakpoint.c
Jim Kingdon [Thu, 5 May 1994 04:35:09 +0000 (04:35 +0000)]
* infrun.c (proceed, normal_stop, wait_for_inferior), breakpoint.c
(print_it_normal): Add annotations for the inferior starting and
stopping, and for all the various messages related to how it
stopped.

* printcmd.c (do_one_display): Annotate.
* stack.c (print_frame_info): Annotate printing of stack frames.

30 years ago * annotate.texi: Change edition to 0.5 and date to May 1994.
Jim Kingdon [Thu, 5 May 1994 04:25:03 +0000 (04:25 +0000)]
* annotate.texi: Change edition to 0.5 and date to May 1994.
Add index.
(Frames): New node, for frame annotation.
(Displays): New node, for display annotation.

30 years ago * remote.c (get_offsets): Handle case where stub doesn't support
Stu Grossman [Thu, 5 May 1994 01:18:26 +0000 (01:18 +0000)]
* remote.c (get_offsets):  Handle case where stub doesn't support
qOffsets message.

30 years ago Add partial support for g++ code compiled with -fvtable-thunks.
Per Bothner [Thu, 5 May 1994 00:19:33 +0000 (00:19 +0000)]
Add partial support for g++ code compiled with -fvtable-thunks.
* c-valprint.c (c_val_print):  Add vtblprint support
when using thunks.
* cp-valprint.c (cp_is_vtbl_member):  A vtable can be an array of
pointers (if using thunks) as well as array of structs (otherwise).
* cp-valprint.c (vtbl_ptr_name_old, vtbl_ptr_name):  Move to global
level, and make the latter non-static (so define_symbol can use it).
* stabsread.c (define_symbol):  If the type being defined is a
pointer type named "__vtbl_ptr_type", set the TYPE_NAME to that name.
* symtab.h (VTBL_PREFIX_P):  Allow "_VT" as well as "_vt".
* values.c (value_virtual_fn_field):  Handle thunks.
* values.c (value_headof):  Minor efficiency hack.
* values.c (value_headof):   Incomplete thunk support.  FIXME.

30 years ago * chardefs.h, rldefs.h: Move decls of string funcs from chardefs.h
Stu Grossman [Wed, 4 May 1994 21:42:06 +0000 (21:42 +0000)]
* chardefs.h, rldefs.h:  Move decls of string funcs from chardefs.h
to rldefs.h so that they don't pollute apps that include
readline.h.
* history.c:  include rldefs.h to get decls of string funcs.

30 years ago* config/te-dpx2.h (TARGET_FORMAT, REGISTER_PREFIX_OPTIONAL): Define.
Ken Raeburn [Wed, 4 May 1994 20:24:51 +0000 (20:24 +0000)]
* config/te-dpx2.h (TARGET_FORMAT, REGISTER_PREFIX_OPTIONAL): Define.
* configure.in (m68k-bull-sysv3*): Enable.

30 years ago * config/m68k.mt (EMUL): Set to m68kaout.
Ian Lance Taylor [Wed, 4 May 1994 20:22:15 +0000 (20:22 +0000)]
* config/m68k.mt (EMUL): Set to m68kaout.
* emulparams/m68kaout.sh: New file.
* Makefile.in (ALL_EMULATIONS): Add em_m68kaout.o.
(em_m68kaout.c): New target.

30 years ago * config/tc-m68k.h (TARGET_FORMAT): If not TE_SUN3, define as
Ian Lance Taylor [Wed, 4 May 1994 19:58:58 +0000 (19:58 +0000)]
* config/tc-m68k.h (TARGET_FORMAT): If not TE_SUN3, define as
"a.out-zero.big".

30 years agoFor PR 1927.
Ian Lance Taylor [Wed, 4 May 1994 19:37:36 +0000 (19:37 +0000)]
For PR 1927.

Changed m68k-aout to set flags to 0; m68k-sunos still uses 1.
* aout0.c: New file.
* targets.c (aout0_big_vec): Declare.
(bfd_target_vector): Add aout0_big_vec.
* config.bfd (m68*-*-aout*): Use m68k-0aout, not m68k-aout.
* config/m68k-aout.mt (SELECT_VECS): Removed.
* config/m68k-0aout.mt: New file.
* configure.in (aout0_big_vec): New target vector: use aout0.o,
aout32.o and stab-syms.o.
* Makefile.in: Rebuilt dependencies.
(BFD32_BACKENDS): Add aout0.o.
(CFILES): Add aout0.c.

* libaout.h (struct aout_backend_data): Add field exec_hdr_flags.
* aout-target.h (MY_exec_hdr_flags): If not defined, define as 0.
MY(backend_data): Initialize exec_hdr_flags field.
* aoutf1.h (sunos_32_set_arch_mach): Make static.
(aout32_sunos4_write_object_contents): Set flags from backend
info.
(MY_exec_hdr_flags): If not defined, define as 1.
(sunos4_aout_backend): Initialize exec_hdr_flags field.
* aout-encap.c (encap_write_object_contents): Set flags from
backend info.
(MY_exec_hdr_flags): Define as N_FLAGS_COFF_ENCAPSULATE.
* hp300hpux.c (MY_exec_hdr_flags): Define as 0x2.
(MY(write_object_contents)): Set flags from backend info.
* i386aout.c (MY(backend_data)): Initialize exec_hdr_flags field.
* i386mach3.c (MY(backend_data)): Likewise.
* mipsbsd.c (MY(backend_data)): Likewise.
* sparclynx.c (NAME(aout,sparclynx_write_object_contents)): Set
flags from backend info.
(sparclynx_aout_backend): Initialize exec_hdr_flags field.

30 years agoWed May 4 12:15:11 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Wed, 4 May 1994 19:19:44 +0000 (19:19 +0000)]
Wed May  4 12:15:11 1994  Stan Shebs  (shebs@andros.cygnus.com)

* configure.in (rs6000-bull-bosx*): New configuration, RS/6000
variant.

Fixes PR 4903.

30 years agocoff_gnu deletion
Ken Raeburn [Wed, 4 May 1994 17:38:50 +0000 (17:38 +0000)]
coff_gnu deletion

30 years agonot used
Ken Raeburn [Wed, 4 May 1994 17:33:50 +0000 (17:33 +0000)]
not used

30 years ago* config.bfd (i386-*-gnu*): Treat like i386-*-mach*.
Ken Raeburn [Wed, 4 May 1994 17:31:36 +0000 (17:31 +0000)]
* config.bfd (i386-*-gnu*): Treat like i386-*-mach*.
(m68*-apollo-*): Treat all Apollo configs the same, don't handle BSD specially.

30 years agoFor PR 4906.
Ian Lance Taylor [Wed, 4 May 1994 16:14:00 +0000 (16:14 +0000)]
For PR 4906.

* ldlang.c (lang_size_sections): If dot moves because of an
assignment, don't try to insert a pad into the absolute output
section, just change the address of the default memory region
instead.

30 years ago * Makefile.in (mostlyclean): Remove cdtest.tmp, cdtest-ur,
Ian Lance Taylor [Wed, 4 May 1994 16:00:30 +0000 (16:00 +0000)]
* Makefile.in (mostlyclean): Remove cdtest.tmp, cdtest-ur,
cdtest-ur.out, and cdtest-ur.tmp.

30 years ago * config/obj-coffbfd.c (fixup_segment): Make common symbol and PC
Ian Lance Taylor [Wed, 4 May 1994 15:31:17 +0000 (15:31 +0000)]
* config/obj-coffbfd.c (fixup_segment): Make common symbol and PC
relative adjustments when TE_LYNX is defined as well as when
TC_I386 is defined.

30 years ago * valprint.c (print_longest): Clarify comment about use_local.
Jim Kingdon [Wed, 4 May 1994 15:24:41 +0000 (15:24 +0000)]
* valprint.c (print_longest): Clarify comment about use_local.
* printcmd.c, defs.h (print_address_numeric), callers in
symmisc.c, symfile.c, stack.c, source.c, remote.c, infcmd.c,
cp-valprint.c, core.c, ch-valprint.c, c-valprint.c, breakpoint.c,
exec.c: New argument use_local.
* source.c (identify_source_line): Use filtered output.  Use
print_address_numeric.

30 years ago * core.c (memory_error), symtab.c (cplusplus_hint, decode_line_1),
Jim Kingdon [Wed, 4 May 1994 14:20:32 +0000 (14:20 +0000)]
* core.c (memory_error), symtab.c (cplusplus_hint, decode_line_1),
language.c (type_error, range_error): Use filtered output.
* utils.c (error_begin): Update comment to tell people to use
filtered output.

30 years ago * Makefile.in (HFILES_WITH_SRCDIR): List bfd.h.
Jim Kingdon [Wed, 4 May 1994 14:04:34 +0000 (14:04 +0000)]
* Makefile.in (HFILES_WITH_SRCDIR): List bfd.h.
(HFILES_NO_SRCDIR): List gdbcore.h not gdbcore_h, so as not to get
bfd.h.

30 years ago * remote.texi (MIPS Remote): Say that set timeout doesn't apply
Jim Kingdon [Wed, 4 May 1994 13:28:23 +0000 (13:28 +0000)]
* remote.texi (MIPS Remote): Say that set timeout doesn't apply
when waiting for your program to stop.

30 years agoadjust_symtab, as.h changes
Ken Raeburn [Wed, 4 May 1994 07:08:44 +0000 (07:08 +0000)]
adjust_symtab, as.h changes

30 years agoi386-gnu config, coff sync, i960 coff changes
Ken Raeburn [Wed, 4 May 1994 06:32:20 +0000 (06:32 +0000)]
i386-gnu config, coff sync, i960 coff changes

30 years ago(i386-*-gnu*): New target, handled like i386-mach.
Ken Raeburn [Wed, 4 May 1994 06:29:30 +0000 (06:29 +0000)]
(i386-*-gnu*): New target, handled like i386-mach.

30 years ago* obj-coff.h (TARGET_FORMAT) [TC_I960]: Select little endian version.
Ken Raeburn [Wed, 4 May 1994 06:19:26 +0000 (06:19 +0000)]
* obj-coff.h (TARGET_FORMAT) [TC_I960]: Select little endian version.

* obj-coffbfd.h (TARGET_FORMAT) [TC_I960]: Ditto.

* obj-coff.c (coff_frob_section): Round up the size of every section to a
multiple of the alignment, so that BFD doesn't surprise us.

Eliminate many simple differences between the two COFF back ends:

* obj-coffbfd.c: Removed all uses of DEFUN and DEFUN_VOID.  Made minor
stylistic changes, deleted some register declarations.
(stack_top): Deleted.
(symbol_to_chars): Use absolute_section and reg_section instead of the
corresponding SEG_* symbols.
(obj_coff_endef, tag_find_or_make, fixup_segment): Likewise.
(stack typedef, stack_init, stack_delete, stack_push, stack_pop): Moved to just
after pseudo-op table.  All functions now static.
(stack_delete): Removed declaration.
(tag_init, tag_insert, tag_find_or_make, tag_find): Moved to just after stack
functions.
* obj-coffbfd.h: Reordered some declarations and macros.
(stack_init, stack_delete, stack_push, stack_pop): Don't declare.
(stack typedef): Deleted.
(SYMBOLS_NEED_BACKPOINTERS): Always undef then define; don't test.
(SYM_AUXENT): New macro.
(SA_GET_*, SA_SET_*): Define in terms of SYM_AUXENT when feasible.
(SF_GET_*, SF_SET_*): Define in terms of SF_GET when feasible.
(SA_GET_SYM_TAGNDX, SA_GET_SYM_ENDNDX, SA_SET_SYM_TAGNDX, SA_SET_SYM_ENDNDX,
object_headers typedef, data_section_header, text_section_header): Delete
non-BFD_HEADERS versions, since we always define that symbol now.

* obj-coff.c (stack_top): Deleted.
(obj_coff_endef, obj_coff_dim, obj_coff_line, obj_coff_size, obj_coff_scl,
obj_coff_tag, obj_coff_type, obj_coff_val): Change argument name from "ignored"
to "ignore".
(obj_coff_val): Use frag_now_fix.
(obj_pseudo_table): Removed IGNORE_DEBUG version, since it doesn't get used.
(stack typedef, stack_init, stack_delete, stack_push, stack_pop): Moved to just
after pseudo-op table.  All functions now static.
(tag_init, tag_insert, tag_find_or_make, tag_find): Moved to just after stack
functions.
* obj-coff.h: Reordered some declarations and macros.  Protected against
multiple inclusions.
(stack_init, stack_delete, stack_push, stack_pop): Don't declare.
(stack typedef): Deleted.
(SYMBOLS_NEED_BACKPOINTERS): Always undef then define; don't test.
(stdoutput): Deleted declaration.
(TARGET_FORMAT) [TC_I386]: Don't define if already defined.

30 years ago* configure.in (i[34]86-*-sco*): Move to be with other i386 targets.
Ken Raeburn [Wed, 4 May 1994 05:45:43 +0000 (05:45 +0000)]
* configure.in (i[34]86-*-sco*): Move to be with other i386 targets.
(romp-*-*): New target.  Skip various binary utilities.
(vax-*-*): New target.  Don't build newlib.
(vax-*-vms): Renamed from *-*-vms.  Don't build opcodes or newlib.

30 years ago * cache.c: Rewrote to work correctly.
Ian Lance Taylor [Tue, 3 May 1994 23:58:06 +0000 (23:58 +0000)]
* cache.c: Rewrote to work correctly.
* libbfd.h: Rebuilt.
* opncls.c (bfd_cache_init, bfd_open_file): Don't declare.
(bfd_fdopenr): Check return value of bfd_cache_init.

30 years ago * procfs.c (procfs_wait): Reinstate code which deduces the signal
Jim Kingdon [Tue, 3 May 1994 15:13:26 +0000 (15:13 +0000)]
* procfs.c (procfs_wait): Reinstate code which deduces the signal
from the fault, #ifndef FAULTED_USE_SIGINFO.
* config/sparc/tm-sun4sol2.h: Define FAULTED_USE_SIGINFO.

30 years agoRemove obsolete files. Add mt-slite to .Sanitize.
Ian Lance Taylor [Tue, 3 May 1994 00:15:24 +0000 (00:15 +0000)]
Remove obsolete files.  Add mt-slite to .Sanitize.

30 years agoKill three year old cruft.
Steve Chamberlain [Mon, 2 May 1994 23:20:10 +0000 (23:20 +0000)]
Kill three year old cruft.

30 years agoKeep Lynx linker scripts.
Stan Shebs [Mon, 2 May 1994 22:51:34 +0000 (22:51 +0000)]
Keep Lynx linker scripts.

30 years ago * subsegs.h (segment_info_type): Use fix_tail field even if
Ian Lance Taylor [Mon, 2 May 1994 21:26:55 +0000 (21:26 +0000)]
* subsegs.h (segment_info_type): Use fix_tail field even if
BFD_ASSEMBLER.
* subsegs.c (subseg_change): Initialize fix_tail field.
(subseg_get): Likewise.
* write.c (frags_chained): New static variable.
(fix_new_internal): If frags_chained is set, use fix_root and
fix_tail from seg_info (now_seg), rather than frchain_now.
(chain_frchains_together_1): Set fix_tail field.
(chain_frchains_together): Set frags_chained.

30 years ago * annotate.texi (Breakpoint Info): Document annotation of header
Jim Kingdon [Sat, 30 Apr 1994 01:31:49 +0000 (01:31 +0000)]
* annotate.texi (Breakpoint Info): Document annotation of header
fields and record annotation.

30 years ago * breakpoint.c (breakpoint_1): Annotate each field of the headers.
Jim Kingdon [Sat, 30 Apr 1994 01:30:28 +0000 (01:30 +0000)]
* breakpoint.c (breakpoint_1): Annotate each field of the headers.
Explicitly annotate each record.

30 years agoFri Apr 29 15:56:18 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Sat, 30 Apr 1994 00:04:43 +0000 (00:04 +0000)]
Fri Apr 29 15:56:18 1994  Stan Shebs  (shebs@andros.cygnus.com)

* xcoffexec.c: Reformat to standards and lint.
(language.h): Include.
(exec_close): Declare arg "quitting".
(file_command): Declare arg "from_tty".
(map_vmap): Cast xmalloc result to PTR.
* rs6000-nat.c: Reformat to standards and lint.
(exec_one_dummy_insn): Use char array for saved instruction.
(fixup_breakpoints): Declare.
(vmap_ldinfo): Be more informative in fatal error messages.
(xcoff_relocate_symtab): Define to return void.
* xcoffsolib.h: Reformat to standards, improve comments.
* config/rs6000/nm-rs6000.h (xcoff_relocate_symtab): Declare.

30 years agoFri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Fri, 29 Apr 1994 21:41:14 +0000 (21:41 +0000)]
Fri Apr 29 14:26:35 1994  Stan Shebs  (shebs@andros.cygnus.com)

* Makefile.in (RUNTEST): Default to just "runtest".

30 years ago * cf-m68klynx.c (CALC_ADDEND): Check for PC relative relocs by
Ian Lance Taylor [Fri, 29 Apr 1994 19:09:51 +0000 (19:09 +0000)]
* cf-m68klynx.c (CALC_ADDEND): Check for PC relative relocs by
enumerating them, since the reloc type can not serve as an index
into the m68k COFF howto_table.

30 years agolint.
Steve Chamberlain [Fri, 29 Apr 1994 16:51:18 +0000 (16:51 +0000)]
lint.