external/binutils.git
30 years ago * ecofflink.c: Extensive changes to compress and merge debugging
Ian Lance Taylor [Tue, 11 Jan 1994 16:23:41 +0000 (16:23 +0000)]
* ecofflink.c: Extensive changes to compress and merge debugging
information, and to write some of out directly rather than saving
it in memory.  Several new functions and structures, and new
arguments to existing functions.
* ecoff.c (ecoff_compute_reloc_file_positions): Compute
sym_filepos as well.
(ecoff_get_extr): Use ifdmap instead of ifdbase.
(ecoff_write_object_contents): Don't compute sym_filepos here.
Only output symbols if outsymbols is not NULL.
(ecoff_bfd_final_link): Adjust for changes in ecoff_debug_info and
bfd_ecoff_debug functions.  Write out debugging information here.
(ecoff_final_link_debug_accumulate): Adjust for changes in
bfd_ecoff_debug functions.
(ecoff_link_write_external): Use ifdmap rather than ifdbase.
* elf32-mips.c (mips_elf_read_ecoff_info): Read external symbols
first, to put them in the first memory buffer.  Clear fdr field.
(mips_elf_get_extr): Use pointer to unswapped external symbol.
(mips_elf_final_link): Adjust for changes in bfd_ecoff functions.
Preserve .text, .data and .bss even if they are empty.  Save
pointer to unswapped external symbol rather than copying it.
Don't free up the external symbols.
* libelf.h (elf_symbol_type): Change mips_extr to PTR.
* bfd-in.h (bfd_ecoff_debug_init, bfd_ecoff_debug_free): Declare.
(bfd_ecoff_debug_accumulate): Update declaration.
(bfd_ecoff_debug_accumulate_other): Rename declaration from
bfd_ecoff_debug_link_other and update.
(bfd_ecoff_write_accumulated_debug): Declare.
* bfd-in2.h: Rebuilt.
* Makefile.in: Rebuilt dependencies.

30 years ago* remote-mips.c (mips_wait): Fix typos (0x177 -> 0177, 0x377 -> 0377).
Jim Kingdon [Tue, 11 Jan 1994 15:04:02 +0000 (15:04 +0000)]
* remote-mips.c (mips_wait): Fix typos (0x177 -> 0177, 0x377 -> 0377).

30 years ago * config.bfd: Use ELF, not COFF for m88*-*-dgux*.
Jim Kingdon [Tue, 11 Jan 1994 14:13:55 +0000 (14:13 +0000)]
* config.bfd: Use ELF, not COFF for m88*-*-dgux*.
Combine m88k-*-* and m88110-*-* cases into m88*-*-*.

30 years ago* stack.c (frame_info): If FRAME_FIND_SAVED_REGS isn't defined,
John Gilmore [Tue, 11 Jan 1994 09:20:37 +0000 (09:20 +0000)]
* stack.c (frame_info):  If FRAME_FIND_SAVED_REGS isn't defined,
print a newline to end the display anyway.

30 years ago[Revise prev change -- this is how it's been running at Adobe, and it works
John Gilmore [Tue, 11 Jan 1994 09:13:25 +0000 (09:13 +0000)]
[Revise prev change -- this is how it's been running at Adobe, and it works
 there.]

* sparc-tdep.c (sparc_pop_frame):  Pop the fsr and csr (float and
coprocessor status regs) when popping a frame.  This fixes
float exceptions that occur after calling inferior functions.

* sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
Read and write the fsr (float status register) to/from the child
process along with the float regs.  Remove Peter Schauer's change
of May 24 '93, which has higher overhead and doesn't solve the
real problem (which was that FSR wasn't being set).

30 years ago* sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
John Gilmore [Tue, 11 Jan 1994 08:59:41 +0000 (08:59 +0000)]
* sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
Read and write the fsr (float status register) to/from the child
process.  This avoids random float exceptions when running under
GDB, and probably obsoletes Peter Schauer's change of May 24 '93
(which remains for safety).

30 years ago* a29k-tdep.c (examine_prologue): Don't worry if the ASGEQ
John Gilmore [Tue, 11 Jan 1994 07:45:48 +0000 (07:45 +0000)]
* a29k-tdep.c (examine_prologue):  Don't worry if the ASGEQ
stack overflow check isn't right after the register stack
adjustment instruction.  Metaware R2.3u compiler moves other
things in front of it.  This fix isn't perfect but is what's
running.

30 years ago * config/unix-gdb.exp: Remove gdb_unload cause it's already
Rob Savoye [Tue, 11 Jan 1994 05:16:50 +0000 (05:16 +0000)]
* config/unix-gdb.exp: Remove gdb_unload cause it's already
defined in lib/gdb.exp

30 years agoTweaked to work with either version of expect. removed gdb_unload proc
Rob Savoye [Tue, 11 Jan 1994 05:14:08 +0000 (05:14 +0000)]
Tweaked to work with either version of expect. removed gdb_unload proc
cause it's already in lib/gdb.exp.

30 years agoTweaked to work with either version of expect.
Rob Savoye [Tue, 11 Jan 1994 05:09:44 +0000 (05:09 +0000)]
Tweaked to work with either version of expect.

30 years ago* c-valprint.c (c_val_print): Treat TYPE_CODE_RANGE like TYPE_CODE_INT.
Jim Kingdon [Tue, 11 Jan 1994 04:54:53 +0000 (04:54 +0000)]
* c-valprint.c (c_val_print): Treat TYPE_CODE_RANGE like TYPE_CODE_INT.

30 years agoAdd alpha-nw.mt to things to keep
Jim Kingdon [Tue, 11 Jan 1994 04:14:32 +0000 (04:14 +0000)]
Add alpha-nw.mt to things to keep

30 years agoAdd udi2go32.c to things to keep
Jim Kingdon [Tue, 11 Jan 1994 04:14:15 +0000 (04:14 +0000)]
Add udi2go32.c to things to keep

30 years agoAdd TODO to things to keep
Jim Kingdon [Tue, 11 Jan 1994 04:13:54 +0000 (04:13 +0000)]
Add TODO to things to keep

30 years ago * config/alpha/alpha-netware.mt: Rename to alpha-nw.mt for 14
Jim Kingdon [Tue, 11 Jan 1994 04:12:20 +0000 (04:12 +0000)]
* config/alpha/alpha-netware.mt: Rename to alpha-nw.mt for 14
character filenames.
* configure.in: Change accordingly.

30 years ago * ldgram.y, ldlex.l: Make the space between -e, -u, and -y and
David MacKenzie [Tue, 11 Jan 1994 03:59:49 +0000 (03:59 +0000)]
* ldgram.y, ldlex.l: Make the space between -e, -u, and -y and
their arguments optional, for compatibility with the old GNU ld.

30 years agoSet lose_these_too correctly
Stan Shebs [Tue, 11 Jan 1994 02:55:30 +0000 (02:55 +0000)]
Set lose_these_too correctly

30 years ago * Makefile.in (install): Remove "@" which follows a backslash. In
Jim Kingdon [Tue, 11 Jan 1994 01:54:37 +0000 (01:54 +0000)]
* Makefile.in (install): Remove "@" which follows a backslash.  In
this position it just causes errors, not suppresses echoes.

30 years agoSet lose_these_too correctly
Stan Shebs [Tue, 11 Jan 1994 01:15:02 +0000 (01:15 +0000)]
Set lose_these_too correctly

30 years ago * m68k-stub.c, sparc-stub.c: removed spurious introduction of
Thomas Lord [Mon, 10 Jan 1994 23:56:49 +0000 (23:56 +0000)]
* m68k-stub.c, sparc-stub.c: removed spurious introduction of
_filtered io routines from these two files.

30 years agoRemove mt-hppa since it's no longer used/needed.
Jeff Law [Mon, 10 Jan 1994 21:58:43 +0000 (21:58 +0000)]
Remove mt-hppa since it's no longer used/needed.

30 years ago * gas/hppa/more.parse/parse.exp: procbug.s is no longer expected
Jeff Law [Mon, 10 Jan 1994 17:55:19 +0000 (17:55 +0000)]
    * gas/hppa/more.parse/parse.exp: procbug.s is no longer expected
        to fail.
        * gas/hppa/more.parse/procbug.s: Add missing .procend.

30 years ago * config/tc-hppa.c (pa_ip): Put check for missing label on .PROC
Jeff Law [Mon, 10 Jan 1994 17:54:01 +0000 (17:54 +0000)]
    * config/tc-hppa.c (pa_ip): Put check for missing label on .PROC
        here.  Handle case where label may be defined after the .PROC.
        (pa_proc): It is not an error if the procedure's label isn't
        defined before the .PROC directive.

30 years ago * som.c (hppa_som_gen_reloc_type): Fix handling of LT and RT
Jeff Law [Mon, 10 Jan 1994 17:07:52 +0000 (17:07 +0000)]
    * som.c (hppa_som_gen_reloc_type): Fix handling of LT and RT
        field selectors.

30 years agokeep te-netbsd.h
Ken Raeburn [Sun, 9 Jan 1994 21:03:39 +0000 (21:03 +0000)]
keep te-netbsd.h

30 years agote-netbsd.h: New file.
Ken Raeburn [Sun, 9 Jan 1994 20:49:23 +0000 (20:49 +0000)]
te-netbsd.h: New file.
tc-i386.h (TARGET_FORMAT) [TE_NetBSD]: Use a.out-netbsd-386 for this config.

30 years ago* bucomm.c (xmalloc, xrealloc): Deleted.
Ken Raeburn [Sun, 9 Jan 1994 20:37:30 +0000 (20:37 +0000)]
* bucomm.c (xmalloc, xrealloc): Deleted.
* bucomm.h (xmalloc, xrealloc): Prototypes fixed to correspond to libiberty
versions.

30 years ago* config/i386-netbsd.mt (SELECT_VECS): Include i386bsd_vec, for compatibility
Ken Raeburn [Sun, 9 Jan 1994 20:30:00 +0000 (20:30 +0000)]
* config/i386-netbsd.mt (SELECT_VECS): Include i386bsd_vec, for compatibility
with 386bsd and netbsd0.8.

30 years ago * scripttempl/elf.c: Define __bss_start before the .sbss section.
Ian Lance Taylor [Sat, 8 Jan 1994 01:01:23 +0000 (01:01 +0000)]
* scripttempl/elf.c: Define __bss_start before the .sbss section.

30 years ago * ecoff.c (ecoff_stab): Don't clobber the ECOFF symbol information
Ian Lance Taylor [Fri, 7 Jan 1994 22:42:23 +0000 (22:42 +0000)]
* ecoff.c (ecoff_stab): Don't clobber the ECOFF symbol information
with the associate stabs information.
(ecoff_build_symbols): Never set the type of stabs symbols to
st_Global.  Don't update the symbol index or ifd if the gas symbol
is not the same as the ECOFF symbol (which is now the case for
stabs symbols).

30 years ago * aoutx.h (adjust_z_magic): Don't merge the start of bss with the
David MacKenzie [Fri, 7 Jan 1994 21:33:00 +0000 (21:33 +0000)]
* aoutx.h (adjust_z_magic): Don't merge the start of bss with the
end of data if they are not contiguous.

30 years ago * config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h,
Peter Schauer [Fri, 7 Jan 1994 21:02:39 +0000 (21:02 +0000)]
* config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h,
config/vax/tm-vax.h (CALL_DUMMY_BREAKPOINT_OFFSET):  Define.

30 years ago * config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h,
Peter Schauer [Fri, 7 Jan 1994 20:59:35 +0000 (20:59 +0000)]
* config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h,
config/vax/tm-vax.h (CALL_DUMMY_BREAKPOINT_OFFSET):  Define.
* mdebugread.c (parse_symbol):  Handle enum sh.type produced by
DEC c89.
* mdebugread.c (add_line):  Handle zero linenos produced by DEC c89.

30 years ago * aoutf1.h (sunos4_aout_backend): Comment the fields' meanings.
David MacKenzie [Fri, 7 Jan 1994 20:50:57 +0000 (20:50 +0000)]
* aoutf1.h (sunos4_aout_backend): Comment the fields' meanings.

30 years ago * gdb.t07/watchpoint.exp: Clear xfail for calling function with
Peter Schauer [Fri, 7 Jan 1994 20:47:45 +0000 (20:47 +0000)]
* gdb.t07/watchpoint.exp:  Clear xfail for calling function with
watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
* gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
have to be typeless.

30 years ago * ecoff.c (ecoff_mkobject_hook): Don't set SEC_SHARED_LIBRARY flag
Ian Lance Taylor [Fri, 7 Jan 1994 20:43:55 +0000 (20:43 +0000)]
* ecoff.c (ecoff_mkobject_hook): Don't set SEC_SHARED_LIBRARY flag
for .reginfo section here.
(ecoff_new_section_hook): Set it here instead.

30 years ago * utils.c (print_sys_errmsg): Call gdb_flush (gdb_stdout) before
Jim Kingdon [Fri, 7 Jan 1994 19:45:45 +0000 (19:45 +0000)]
* utils.c (print_sys_errmsg): Call gdb_flush (gdb_stdout) before
printing to gdb_stderr.

* remote-udi.c (udi_kill): Don't close the connection, just set
inferior_pid to zero.
(udi_mourn): Call remove_breakpoints.

* remote-udi.c: Remove obsolete need_artificial_traps comment.

30 years agoFri Jan 7 11:26:29 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Fri, 7 Jan 1994 19:27:21 +0000 (19:27 +0000)]
Fri Jan  7 11:26:29 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-make.in: Replace 8-bit chars with their names.

30 years agoFri Jan 7 11:18:48 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Fri, 7 Jan 1994 19:22:15 +0000 (19:22 +0000)]
Fri Jan  7 11:18:48 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-make.in: Replace 8-bit chars with their names.
* config/ho-mpw.h (LOSING_COMPILER): Define.

30 years agoFri Jan 7 11:14:07 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Fri, 7 Jan 1994 19:18:16 +0000 (19:18 +0000)]
Fri Jan  7 11:14:07 1994  Stan Shebs  (shebs@andros.cygnus.com)

* config/tc-mips.c (macro): Add a LOSING_COMPILER ifdef that
splits the function.
(macro2): New function, if LOSING_COMPILER defined.

30 years agoFri Jan 7 10:34:47 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Fri, 7 Jan 1994 19:05:23 +0000 (19:05 +0000)]
Fri Jan  7 10:34:47 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-make.in: Replace 8-bit chars with their names.
* coffswap.h (coff_swap_scnhdr_out): Add alternative version with
partly-expanded macros.

30 years agoFri Jan 7 10:29:27 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Fri, 7 Jan 1994 19:03:10 +0000 (19:03 +0000)]
Fri Jan  7 10:29:27 1994  Stan Shebs  (shebs@andros.cygnus.com)

     * bfd-in.h: (bfd_boolean): Add workaround for systems that also
define true and false as enums.
(ALMOST_STDC): Add as alternative to __STDC__.
* bfd-in2.h: Rebuilt.
* syms.c (bfd_print_symbol_vandf): Convert a PTR to FILE*.

30 years ago* i386b-nat.c (sregmap): If sEAX, etc., not defined, use tEAX, etc.
Jim Kingdon [Fri, 7 Jan 1994 17:56:59 +0000 (17:56 +0000)]
* i386b-nat.c (sregmap): If sEAX, etc., not defined, use tEAX, etc.

30 years ago * config/obj-coffbfd.c (fill_section): Don't ever fill past the
Steve Chamberlain [Fri, 7 Jan 1994 17:42:34 +0000 (17:42 +0000)]
* config/obj-coffbfd.c (fill_section):  Don't ever fill past the
end of a section. (write_object_file): Temporary fix - setup
stdoutput.

30 years agoVarious entries.
Ian Lance Taylor [Fri, 7 Jan 1994 01:24:33 +0000 (01:24 +0000)]
Various entries.

30 years agoReally remove files that are no longer used.
Ian Lance Taylor [Fri, 7 Jan 1994 01:24:07 +0000 (01:24 +0000)]
Really remove files that are no longer used.

30 years ago * targets.c (target_vector): Added nlm32_alpha_vec inside #ifdef
Ian Lance Taylor [Fri, 7 Jan 1994 01:21:37 +0000 (01:21 +0000)]
* targets.c (target_vector): Added nlm32_alpha_vec inside #ifdef
BFD64.
* Makefile.in (BFD32_BACKENDS): Remove nlm32-alpha.o.
(BFD64_BACKENDS): Add nlm32-alpha.o.  It depends on 64 bit
support, even though it is for an Alpha in 32 bit mode.
* configure.in (nlm32_alpha_vec): Set target64 to true.

* nlm32-gen.c, nlm64-gen.c: Removed.  All nlm targets are
different, so there is no point to providing a generic one.
* libnlm.h: Don't bother to check for nlm_backend(bfd) being NULL
in the backend accessor macros; that should no longer be possible.
* targets.c (target_vector): Removed nlm32_big_generic_vec,
nlm64_big_generic_vec, nlm64_little_generic_vec.
* configure.in (nlm32_big_generic_vec, nlm32_little_generic_vec,
nlm64_big_generic_vec, nlm64_little_generic_vec): Removed.
* Makefile.in: Rebuilt dependencies, and
(BFD32_BACKENDS): Removed nlm32-gen.o.
(BFD64_BACKENDS): Removed nlm64-gen.o.
(CFILES): Removed nlm32-gen.c and nlm64-gen.c.

30 years ago * configure.in: Correct test for --with-gnu-as and
Ian Lance Taylor [Fri, 7 Jan 1994 01:15:41 +0000 (01:15 +0000)]
* configure.in: Correct test for --with-gnu-as and
--with-gnu-ld to not get confused by substring matches.

30 years agofix sparc-solaris reloc bug
Ken Raeburn [Thu, 6 Jan 1994 23:17:44 +0000 (23:17 +0000)]
fix sparc-solaris reloc bug

30 years ago* symtab.c (lookup_symbol): Don't try adding .c to the name.
Jim Kingdon [Thu, 6 Jan 1994 23:09:53 +0000 (23:09 +0000)]
* symtab.c (lookup_symbol): Don't try adding .c to the name.

30 years ago * aoutx.h (translate_to_native_sym_flags): Catch the case where
David MacKenzie [Thu, 6 Jan 1994 22:26:18 +0000 (22:26 +0000)]
* aoutx.h (translate_to_native_sym_flags): Catch the case where
there is no output section.

30 years ago * hp300hpux.c (ARCH_SIZE): Define before including aoutx.h.
Ian Lance Taylor [Thu, 6 Jan 1994 22:18:59 +0000 (22:18 +0000)]
* hp300hpux.c (ARCH_SIZE): Define before including aoutx.h.

30 years ago * remote-bug.c: At the start of each section, reset srec_frame
Jim Kingdon [Thu, 6 Jan 1994 21:55:18 +0000 (21:55 +0000)]
* remote-bug.c: At the start of each section, reset srec_frame
back to 160.

30 years ago * configure.in: Don't issue warnings about directories which are
Ian Lance Taylor [Thu, 6 Jan 1994 21:11:10 +0000 (21:11 +0000)]
* configure.in: Don't issue warnings about directories which are
not being configued if -norecursion is set.

30 years ago * target.h: Add TARGET_WAITKIND_LOADED and TARGET_WAITKIND_SPURIOUS.
Jim Kingdon [Thu, 6 Jan 1994 20:51:19 +0000 (20:51 +0000)]
* target.h: Add TARGET_WAITKIND_LOADED and TARGET_WAITKIND_SPURIOUS.
* target.c (store_waitstatus): Add CHILD_SPECIAL_WAITSTATUS hook.
* infrun.c (wait_for_inferior): Replace SIGTRAP_STOP_AFTER_LOAD with
code which looks for those two waitkinds.  Use switch statement.
* config/rs6000/tm-rs6000.h: Replace SIGTRAP_STOP_AFTER_LOAD with
CHILD_SPECIAL_WAITSTATUS.

30 years agofix comments
David MacKenzie [Thu, 6 Jan 1994 20:37:47 +0000 (20:37 +0000)]
fix comments

30 years agoVarious entries.
Ian Lance Taylor [Thu, 6 Jan 1994 20:05:44 +0000 (20:05 +0000)]
Various entries.

30 years ago * ecoff.c: First cut at new style of linker backend for
Ian Lance Taylor [Thu, 6 Jan 1994 20:04:43 +0000 (20:04 +0000)]
* ecoff.c: First cut at new style of linker backend for
ECOFF--added a bunch of functions.  Also:
(ecoff_sec_to_styp_flags): Set flags for .pdata and .xdata.
(ecoff_slurp_symbolic_header): New function.
(ecoff_slurp_symbolic_info): Call ecoff_slurp_symbolic_header.
(ecoff_compute_reloc_file_positions): New function.
(ecoff_set_section_contents): Get out quickly if count is zero.
Check errors better.
(ecoff_write_object_contents): Put .xdata section in data segment.
Call ecoff_compute_reloc_file_positions.  Don't output relocs or
external symbols if outsymbols is NULL.
(ecoff_bfd_final_link): Completely rewritten.
* libecoff.h: Include bfdlink.h.
(struct ecoff_backend_data): Add relocate_section field.
(ecoff_data_type): Add sym_hashes and symndx_to_section fields.
(struct ecoff_link_hash_entry): Define.
(struct ecoff_link_hash_table): Define.
(ecoff_bfd_link_add_symbols): Declare as function, not macro.
(ecoff_bfd_link_hash_table_create): Likewise.
* ecofflink.c (bfd_ecoff_debug_one_external): New function.
(bfd_ecoff_debug_externals): Call bfd_ecoff_debug_one_external.
* bfd-in.h (bfd_ecoff_debug_one_external): Declare.
* bfd-in2.h: Rebuilt.
* coff-alpha.c (alpha_howto_table): Mark BRADDR as
partial_inplace, and set the src_mask to 0x1fffff.
(alpha_ecoff_get_relocated_section_contents): Remove unused
variable gp_warned.
(alpha_convert_external_reloc): New static function.
(alpha_relocate_section): New static function.
(alpha_ecoff_backend_data): Initialize relocate_section field.
* coff-mips.c (mips_relocate_refhi): New static function.
(mips_relocate_section): New static function.
(mips_ecoff_backend_data): Initialize relocate_section field.

30 years ago * ldmain.c (add_to_set): Add bitsize argument.
Ian Lance Taylor [Thu, 6 Jan 1994 20:04:26 +0000 (20:04 +0000)]
* ldmain.c (add_to_set): Add bitsize argument.
(constructor_callback): New function.
(link_callbacks): Add constructor_callback.
* ldctor.c (struct set_info): Add bitsize field.
(ldctor_add_set_entry): Add bitsize argument.
(ldctor_build_sets): Base the size of the elements of the set on
the bitsize, rather than always using LONG.
* ldctor.h (ldctor_add_set_entry): Add bitsize to declaration.

30 years ago * aoutx.h (NAME(aout,final_link)): Don't abort when trying to link
Ian Lance Taylor [Thu, 6 Jan 1994 20:02:49 +0000 (20:02 +0000)]
* aoutx.h (NAME(aout,final_link)): Don't abort when trying to link
a non a.out file, just pass it to _bfd_default_link_order.
(aout_link_input_section_std): When doing a final PC relative link
against a section symbol, subtract the VMA of the input section.
(aout_link_input_section_ext): Likewise.

30 years ago * linker.c (_bfd_generic_link_add_one_symbol): Add constructor and
Ian Lance Taylor [Thu, 6 Jan 1994 20:01:42 +0000 (20:01 +0000)]
* linker.c (_bfd_generic_link_add_one_symbol): Add constructor and
bitsize arguments.  Changed all callers (aoutx.h).
(default_indirect_link_order): Renamed from
_bfd_generic_indirect_link_order and made static.
(_bfd_generic_final_link): Don't switch on link_order type, just
call _bfd_default_link_order.
(_bfd_default_link_order): Handle bfd_indirect_link_order type.
* genlink.h: Removed declaration of
_bfd_generic_indirect_link_order.
* elf32-mips.c (mips_elf_final_link): Don't switch on link_order
type, just call _bfd_default_link_order.

30 years ago * binutils.texi: Add a chapter summarizing the ways to select
David MacKenzie [Thu, 6 Jan 1994 19:49:06 +0000 (19:49 +0000)]
* binutils.texi: Add a chapter summarizing the ways to select
aspects of the target for each program.

* objdump.c (long_options, usage): Add long equivalents for all
remaining short options that lacked them.
* binutils.texi objdump.1: Document them.

* size.c (usage): Tweak usage message.
* size.1: Add missing `=' in examples.

* binutils.texi strip.1 objcopy.1 nlmconv.1 objcopy.c nlmconv.c:
Use "--target=bfdname" as the option to select the BFD target,
like nm and size already do.
Reserve "--format=format" for textual output selection options, but
for now keep old option names as obsolete for backward compatibility.

* strings.c (main, strings_object_file, usage): Add --target option.
* binutils.texi strings.1: Document it.

30 years ago * ld.h (QUAD_SIZE): Define.
Ian Lance Taylor [Thu, 6 Jan 1994 19:38:36 +0000 (19:38 +0000)]
* ld.h (QUAD_SIZE): Define.
* ldgram.y (QUAD): New token.
(length): Handle it.
* ldlex.l: Return QUAD.
* lexsup.c (keywords): Add QUAD.
* ldwrite.c (build_link_order): Handle QUAD.
* ldlang.c (print_data_statement): Handle QUAD.
(lang_size_sections): Likewise.
(lang_do_assignments): Likewise.
* ldexp.c (exp_print_token): Add QUAD to table.
* ld.texinfo: Describe QUAD.

30 years ago * procfs.c (procfs_wait): Fix argument name to match 4 Jan changes.
Jim Kingdon [Thu, 6 Jan 1994 16:34:51 +0000 (16:34 +0000)]
* procfs.c (procfs_wait): Fix argument name to match 4 Jan changes.
* Move target_signal_from_host, target_signal_to_host, and
store_waitstatus from inftarg.c to target.c.  procfs needs them.
* target.c: Include "wait.h" and <signal.h>.
* target.h, infrun.c (proceed), proceed callers: Pass new code
TARGET_SIGNAL_DEFAULT instead of -1.  This avoids problems with
enums being treated as unsigned and is cleaner.
* infrun.c (signals_info): Don't print TARGET_SIGNAL_DEFAULT or
TARGET_SIGNAL_0.
* infcmd.c (signal_command), infrun.c (signals_info):
Don't allow user to specify numeric equivalent of
TARGET_SIGNAL_DEFAULT.

30 years ago * configure.in: Don't build gas for alpha-dec-osf1*.
Ian Lance Taylor [Thu, 6 Jan 1994 16:22:31 +0000 (16:22 +0000)]
* configure.in: Don't build gas for alpha-dec-osf1*.

30 years ago * config/tc-mips.c (mips_ip): Warn about using $1 as well as $at
Ian Lance Taylor [Thu, 6 Jan 1994 06:09:22 +0000 (06:09 +0000)]
* config/tc-mips.c (mips_ip): Warn about using $1 as well as $at
without .set noat.

30 years agoTweaked to work with either version of expect.
Rob Savoye [Thu, 6 Jan 1994 05:43:20 +0000 (05:43 +0000)]
Tweaked to work with either version of expect.

30 years ago * scripttempl/alpha.sc: Don't create .lit4 or .sdata sections,
Ian Lance Taylor [Thu, 6 Jan 1994 05:14:48 +0000 (05:14 +0000)]
* scripttempl/alpha.sc: Don't create .lit4 or .sdata sections,
since the Alpha doesn't use them.

30 years ago * ldemul.h (ld_emulation_xfer_struct): Comment the members.
David MacKenzie [Thu, 6 Jan 1994 01:57:11 +0000 (01:57 +0000)]
* ldemul.h (ld_emulation_xfer_struct): Comment the members.

30 years agoMakefile.in, as.h changes
Ken Raeburn [Thu, 6 Jan 1994 01:17:18 +0000 (01:17 +0000)]
Makefile.in, as.h changes

30 years agoinclude literal.c, .o
Ken Raeburn [Thu, 6 Jan 1994 01:16:51 +0000 (01:16 +0000)]
include literal.c, .o

30 years agonew file literal.c
Ken Raeburn [Thu, 6 Jan 1994 01:14:04 +0000 (01:14 +0000)]
new file literal.c

30 years agotc-mips.h, subsegs.c changes
Ken Raeburn [Thu, 6 Jan 1994 01:11:05 +0000 (01:11 +0000)]
tc-mips.h, subsegs.c changes

30 years ago(TARGET_FORMAT) [OBJ_AOUT]: Fix for new names in bfd.
Ken Raeburn [Thu, 6 Jan 1994 01:10:35 +0000 (01:10 +0000)]
(TARGET_FORMAT) [OBJ_AOUT]: Fix for new names in bfd.

30 years ago* ecoff.h (STYP_EXTENDESC, STYP_COMMENT, STYP_XDATA, STYP_PDATA): Define.
Ken Raeburn [Thu, 6 Jan 1994 01:07:04 +0000 (01:07 +0000)]
* ecoff.h (STYP_EXTENDESC, STYP_COMMENT, STYP_XDATA, STYP_PDATA): Define.

30 years ago * ecoff.h (NUM_RELOC_SECTIONS): Define.
Ian Lance Taylor [Wed, 5 Jan 1994 21:59:00 +0000 (21:59 +0000)]
* ecoff.h (NUM_RELOC_SECTIONS): Define.

30 years agofix comment delimiters
David D. Zuhn [Wed, 5 Jan 1994 19:35:44 +0000 (19:35 +0000)]
fix comment delimiters

30 years ago * config/ho-vsta.h, configure.in, .Sanitize: Add support for VSTa
Rob Savoye [Wed, 5 Jan 1994 05:26:47 +0000 (05:26 +0000)]
    * config/ho-vsta.h, configure.in, .Sanitize: Add support for VSTa
micro-kernel.

30 years agoAdd default values for AS and ASFLAGS.
Rob Savoye [Wed, 5 Jan 1994 05:21:34 +0000 (05:21 +0000)]
Add default values for AS and ASFLAGS.

30 years ago * configure: Back out Per's change of 12/19/1993. It changes the
Stu Grossman [Wed, 5 Jan 1994 01:14:41 +0000 (01:14 +0000)]
* configure:  Back out Per's change of 12/19/1993.  It changes the
behavior of configure in unexpected and confusing ways.

Also, use different delim char when calculating
program_transform_name so that the name can contain slashes.

30 years ago * config/alpha/alpha-netware.mt: New target support for Alpha
Stu Grossman [Tue, 4 Jan 1994 23:43:28 +0000 (23:43 +0000)]
* config/alpha/alpha-netware.mt:  New target support for Alpha
running Netware.
* configure.in:  Add alpha-*-netware* target.

30 years agoTue Jan 4 15:12:43 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Tue, 4 Jan 1994 23:35:56 +0000 (23:35 +0000)]
Tue Jan  4 15:12:43 1994  Stan Shebs  (shebs@andros.cygnus.com)

* Makefile.in (INCLUDES): Add $(srcdir)/.. to places to search.
* config/obj-ecoff.c: Include files as "bfd/" instead of "../bfd/".
* app.c, flonum.h, hex-value.c (const): Change #if to be more
portable.

30 years agoTue Jan 4 14:51:35 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Tue, 4 Jan 1994 22:56:06 +0000 (22:56 +0000)]
Tue Jan  4 14:51:35 1994  Stan Shebs  (shebs@andros.cygnus.com)

* remote-mips.c (mips_wait): Fix ref to TARGET_WAITKIND_STOPPED.

30 years ago * target.h: Add enum target_waitkind, enum target_signal, and
Jim Kingdon [Tue, 4 Jan 1994 21:53:53 +0000 (21:53 +0000)]
* target.h: Add enum target_waitkind, enum target_signal, and
struct target_waitstatus.  Change status argument to target_wait to
be struct target_waitstatus * instead of int *.
* target.h, infrun.c, all targets: Change type of signal arguments
to resume(), proceed(), and target_resume() from int to enum
target_signal.
* All targets (*_wait, *_resume): Change accordingly.
* infcmd.c (program_info, signal_command), throughout infrun.c,
* fork-child.c, solib.c, hppa-tdep.c, osfsolib.c: Use this stuff.
* convex-xdep.c, convex-tdep.c: Add FIXME's (getting the Convex
signal code stuff right with the new signals would be non-trivial).
* inferior.h (stop_signal): Make it enum target_signal not int.
* target.c, target.h (target_signal_to_string, target_signal_to_name,
target_signal_from_name): New functions.
* inftarg.c, target.h (target_signal_to_host, target_signal_from_host,
store_waitstatus): New functions.
* procfs.c (procfs_notice_signals): Use them.
* i960-tdep.c (i960_fault_to_signal): New function, to replace
print_fault.
* config/i960/tm-i960.h: Don't define PRINT_RANDOM_SIGNAL.

30 years ago * objfiles.c (build_objfile_section_table): Don't abort() if
Jim Kingdon [Tue, 4 Jan 1994 21:37:25 +0000 (21:37 +0000)]
* objfiles.c (build_objfile_section_table): Don't abort() if
objfile->sections is already set.

* objfiles.c (add_to_objfile_sections): Check SEC_ALLOC not SEC_LOAD
to match recent change to exec.c.

30 years ago * target.h: Add enum target_waitkind, enum target_signal, and
Jim Kingdon [Tue, 4 Jan 1994 21:36:04 +0000 (21:36 +0000)]
* target.h: Add enum target_waitkind, enum target_signal, and
struct target_waitstatus.  Change status argument to target_wait to
be struct target_waitstatus * instead of int *.
* target.h, infrun.c, all targets: Change type of signal arguments
to resume(), proceed(), and target_resume() from int to enum
target_signal.
* All targets (*_wait, *_resume): Change accordingly.
* infcmd.c (program_info, signal_command), throughout infrun.c,
* fork-child.c, solib.c, hppa-tdep.c, osfsolib.c: Use this stuff.
* convex-xdep.c, convex-tdep.c: Add FIXME's (getting the Convex
signal code stuff right with the new signals would be non-trivial).
* inferior.h (stop_signal): Make it enum target_signal not int.
* target.c, target.h (target_signal_to_string, target_signal_to_name,
target_signal_from_name): New functions.
* inftarg.c, target.h (target_signal_to_host, target_signal_from_host,
store_waitstatus): New functions.
* procfs.c (procfs_notice_signals): Use them.
* i960-tdep.c (i960_fault_to_signal): New function, to replace
print_fault.
* config/i960/tm-i960.h: Don't define PRINT_RANDOM_SIGNAL.

30 years agoneed GM ChangeLog
Stan Shebs [Tue, 4 Jan 1994 21:20:25 +0000 (21:20 +0000)]
need GM ChangeLog

30 years agofix the .Sanitize
Stan Shebs [Tue, 4 Jan 1994 21:18:15 +0000 (21:18 +0000)]
fix the .Sanitize

30 years agoMon Jan 3 10:47:37 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Tue, 4 Jan 1994 21:14:04 +0000 (21:14 +0000)]
Mon Jan  3 10:47:37 1994  Stan Shebs  (shebs@andros.cygnus.com)

* config.sub:   Add MPW-related aliases.
* mpw-configure:  New file, MPW version of configure.
* mpw-config.in:  New file, MPW version of configure.in.
* mpw-xconfig.in:  New file, addon to configure.in.

Mon Jan  3 12:42:45 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-xconfig.in: New file, mpw x mips configuration bits.

30 years agoAdd vsta.mt and vsta.sh.
Rob Savoye [Tue, 4 Jan 1994 16:35:49 +0000 (16:35 +0000)]
Add vsta.mt and vsta.sh.

30 years ago * Version 4.11.3.
Jim Kingdon [Tue, 4 Jan 1994 14:58:43 +0000 (14:58 +0000)]
* Version 4.11.3.

* main.c (print_gdb_version): Change year to 1994.

* ChangeLog, ChangeLog-93: Split ChangeLog at 1994.
* Makefile.in (NONSRC): Add ChangeLog-93.

30 years agoNew for ChangeLog split
Jim Kingdon [Tue, 4 Jan 1994 14:45:11 +0000 (14:45 +0000)]
New for ChangeLog split

30 years agoRemove ChangeLog entry, since one change was backed out immediately and
Stan Shebs [Tue, 4 Jan 1994 00:42:09 +0000 (00:42 +0000)]
Remove ChangeLog entry, since one change was backed out immediately and
the other never committed.

30 years agoMon Jan 3 10:59:28 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Tue, 4 Jan 1994 00:38:05 +0000 (00:38 +0000)]
Mon Jan  3 10:59:28 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-config.in: New file, MPW version of configure.in.
* mpw-make.in: New file, MPW version of Makefile.in.
* hosts/mpw.h: New file, MPW host definitions.

Mon Jan  3 13:00:07 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-xconfig.in: New file, mpw x mips configuration bits.

30 years agoMon Jan 3 10:59:28 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Tue, 4 Jan 1994 00:34:05 +0000 (00:34 +0000)]
Mon Jan  3 10:59:28 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-config.in: New file, MPW version of configure.in.
* mpw-make.in: New file, MPW version of Makefile.in.
* hosts/mpw.h: New file, MPW host definitions.

30 years ago * aout-target.h (MY(vec)): Add DYNAMIC to mask of object flags.
David MacKenzie [Tue, 4 Jan 1994 00:08:53 +0000 (00:08 +0000)]
* aout-target.h (MY(vec)): Add DYNAMIC to mask of object flags.
* aoutf1.h (NAME(aout,sunos4_write_object_contents)):
If the DYNAMIC flag is set, set it in the exec header.
* aoutx.h (NAME(aout,some_aout_object_p)): If the object is
dynamically linked, set the DYNAMIC flag in the BFD.
* libaout.h (N_SET_DYNAMIC): New macro.
(N_DYNAMIC): Add missing 0 in mask.

30 years ago * bfd-in.h, hash.c: Change bfd_hash_allocate argument from size_t
Ian Lance Taylor [Mon, 3 Jan 1994 22:42:12 +0000 (22:42 +0000)]
* bfd-in.h, hash.c: Change bfd_hash_allocate argument from size_t
to unsigned int, because size_t may not be defined in bfd.h.
* bfd-in2.h: Rebuilt.

30 years ago * stabsread.c (read_type): Allow defining several type numbers
Jim Kingdon [Mon, 3 Jan 1994 22:36:52 +0000 (22:36 +0000)]
* stabsread.c (read_type): Allow defining several type numbers
at once (e.g. "(1,2)=(3,4)="...).

30 years ago * stabs.texinfo (String Field): Talk about defining several type
Jim Kingdon [Mon, 3 Jan 1994 22:30:19 +0000 (22:30 +0000)]
* stabs.texinfo (String Field): Talk about defining several type
numbers at once.
Fix lint regarding changing node ELF Transformations to
ELF and SOM Transformations.

30 years agoMon Jan 3 13:05:08 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Mon, 3 Jan 1994 22:02:48 +0000 (22:02 +0000)]
Mon Jan  3 13:05:08 1994  Stan Shebs  (shebs@andros.cygnus.com)

* syms.c (bfd_print_symbol_vandf): Change PTR to FILE *.
* hosts/irix4.h (exit): Declare properly.