external/binutils.git
30 years ago * aoutx.h (NAME(aout,bfd_free_cached_info)): Don't free anything
Ian Lance Taylor [Mon, 4 Apr 1994 23:44:13 +0000 (23:44 +0000)]
* aoutx.h (NAME(aout,bfd_free_cached_info)): Don't free anything
if we don't have a bfd_object.

30 years ago* sparc-opc.c (sparc_opcodes): Fix "rd %fprs,%l0".
David Edelsohn [Mon, 4 Apr 1994 23:37:46 +0000 (23:37 +0000)]
* sparc-opc.c (sparc_opcodes): Fix "rd %fprs,%l0".

30 years ago Made sure that every call to bfd_read, bfd_write, and bfd_seek
Ian Lance Taylor [Mon, 4 Apr 1994 22:49:04 +0000 (22:49 +0000)]
Made sure that every call to bfd_read, bfd_write, and bfd_seek
checks the return value and handled bfd_error correctly.  These
changes are not itemised.

30 years ago Made sure that every call to bfd_read, bfd_write, and bfd_seek
Ian Lance Taylor [Mon, 4 Apr 1994 22:43:30 +0000 (22:43 +0000)]
Made sure that every call to bfd_read, bfd_write, and bfd_seek
checks the return value and handled bfd_error correctly.  These
changes are not itemised.  Also:
* srec.c (srec_write_record): Change return type to boolean.
(srec_write_header): Likewise.  Also, check srec_write_record
return value.
(srec_write_section, srec_write_terminator): Likewise.
(srec_write_symbols): Change return type to boolean.
(internal_srec_write_object_contents): Check return value of
srec_write_symbols, srec_write_header, srec_write_section, and
srec_write_terminator.

30 years ago Made sure that every call to bfd_read, bfd_write, and bfd_seek
Ian Lance Taylor [Mon, 4 Apr 1994 22:42:45 +0000 (22:42 +0000)]
Made sure that every call to bfd_read, bfd_write, and bfd_seek
checks the return value and handled bfd_error correctly.  These
changes are not itemised.  Also:
* oasys.c (oasys_read_record): Change return type to boolean.
(oasys_slurp_symbol_table: Check oasys_read_record return value.
(oasys_object_p, oasys_slurp_section_data): Likewise.
(oasys_write_record): Change return type to boolean.
(oasys_write_syms): Likewise.  Also, check oasys_write_record
return value.
(oasys_write_sections): Check oasys_write_record return value.
(oasys_write_header): Change return type to boolean.  Check
oasys_write_record return value.
(oasys_write_end, oasys_write_data): Likewise.
(oasys_write_object_contents): Check return values of
oasys_write_header, oasys_write_syms, oasys_write_data, and
oasys_write_end.

30 years ago Made sure that every call to bfd_read, bfd_write, and bfd_seek
Ian Lance Taylor [Mon, 4 Apr 1994 22:41:53 +0000 (22:41 +0000)]
Made sure that every call to bfd_read, bfd_write, and bfd_seek
checks the return value and handled bfd_error correctly.  These
changes are not itemised.  Also:
* i386os9k.c (os9k_swap_exec_header_in): Change return type to
boolean.
(os9k_object_p): Check os9k_swap_exec_header_in return value.

30 years ago Made sure that every call to bfd_read, bfd_write, and bfd_seek
Ian Lance Taylor [Mon, 4 Apr 1994 22:41:21 +0000 (22:41 +0000)]
Made sure that every call to bfd_read, bfd_write, and bfd_seek
checks the return value and handled bfd_error correctly.  These
changes are not itemised.  Also:
* coffcode.h (coff_write_relocs): Change return type to boolean,
and return errors.
(coff_write_object_contents): Check coff_write_relocs return
value.

30 years ago Made sure that every call to bfd_read, bfd_write, and bfd_seek
Ian Lance Taylor [Mon, 4 Apr 1994 22:40:09 +0000 (22:40 +0000)]
Made sure that every call to bfd_read, bfd_write, and bfd_seek
checks the return value and handled bfd_error correctly.  These
changes are not itemised.  Also:
* aoutx.h (emit_strtab): Change return type to boolean, and return
errors.
(NAME(aout,write_syms)): Check emit_strtab return value.
(NAME(aout,final_link)): Likewise.

30 years ago * Makefile.in: Rebuilt dependencies.
Ian Lance Taylor [Mon, 4 Apr 1994 20:04:52 +0000 (20:04 +0000)]
* Makefile.in: Rebuilt dependencies.

30 years ago * aix386-core.c (aix386_bfd_is_local_label): Correct cast from
Peter Schauer [Mon, 4 Apr 1994 17:59:36 +0000 (17:59 +0000)]
* aix386-core.c (aix386_bfd_is_local_label):  Correct cast from
asection to asymbol.
* ptrace-core.c (ptrace_unix_bfd_is_local_label):  Correct cast from
bfd to asymbol.
* trad-core.c (trad_unix_bfd_is_local_label):  Correct cast from
asection to asymbol.

30 years ago * ppc-opc.c (powerpc_operands): The signedp field has been
Ian Lance Taylor [Mon, 4 Apr 1994 17:32:02 +0000 (17:32 +0000)]
* ppc-opc.c (powerpc_operands): The signedp field has been
removed, so don't initialize it.  Set the PPC_OPERAND_SIGNED flag
instead.  Add new operand SISIGNOPT.
(powerpc_opcodes): For lis, liu, addis, and cau use SISIGNOPT.
Based on patch from David Edelsohn (edelsohn@npac.syr.edu).
* ppc-dis.c (print_insn_powerpc): Check PPC_OPERAND_SIGNED rather
than signedp field.

30 years ago * config/tc-ppc.c (ppc_insert_operand): Check PPC_OPERAND_SIGNED
Ian Lance Taylor [Mon, 4 Apr 1994 17:28:56 +0000 (17:28 +0000)]
* config/tc-ppc.c (ppc_insert_operand): Check PPC_OPERAND_SIGNED
flag rather than signedp field.  Only permit extended range if
PPC_OPERAND_SIGNOPT flag is set and assembling in 32 bit mode.
Based on patch from David Edelsohn (edelsohn@npac.syr.edu).

30 years ago * config/tc-ppc.c (ppc_size): New static variable.
Ian Lance Taylor [Mon, 4 Apr 1994 16:42:16 +0000 (16:42 +0000)]
* config/tc-ppc.c (ppc_size): New static variable.
(ppc_arch): Check for PPC_OPCODE_PPC before PPC_OPCODE_POWER.
(md_begin): If an instruction has a size specific flag set, only
add it if we are assembling that size.

30 years ago * som.c (som_slurp_string_table): Use malloc to allocate space
Jeff Law [Mon, 4 Apr 1994 01:28:51 +0000 (01:28 +0000)]
    * som.c (som_slurp_string_table): Use malloc to allocate space
        for the cached copy of the native string table.
        (som_slurp_symbol_table): Likewise for the native symbol table.
        (som_slurp_reloc_table): Likewise for the native and generic
        relocation tables.
        (som_bfd_free_cached_info): Free the cached native strings,
        symbols, and relocations.  Also free the canonical cached relocations.

30 years ago* symfile.c (deduce_language_from_filename): .cpp is a C++ extension.
Jim Kingdon [Sat, 2 Apr 1994 15:40:00 +0000 (15:40 +0000)]
* symfile.c (deduce_language_from_filename): .cpp is a C++ extension.

30 years ago * aoutx.h (aout_link_write_symbols): If keep_memory is false, make
Ian Lance Taylor [Fri, 1 Apr 1994 23:01:53 +0000 (23:01 +0000)]
* aoutx.h (aout_link_write_symbols): If keep_memory is false, make
sure the symbol name is stored in permanent memory before adding
it to the string table.

30 years ago * archive.c (_bfd_write_archive_contents): Once we've found an
Ian Lance Taylor [Fri, 1 Apr 1994 22:12:00 +0000 (22:12 +0000)]
* archive.c (_bfd_write_archive_contents): Once we've found an
object, don't bother to look for more when deciding whether to
build a map.
(compute_and_write_armap): After adding the symbols for a BFD,
call bfd_free_cached_info on it.

30 years ago Add bfd_free_cached_info support to a.out backends.
Ian Lance Taylor [Fri, 1 Apr 1994 22:08:38 +0000 (22:08 +0000)]
Add bfd_free_cached_info support to a.out backends.
* aoutx.h (aout_get_external_symbols): Renamed from
aout_link_get_symbols.  Read strings even if symbols have been
read.  Store string size in obj_aout_string_size.
(NAME(aout,slurp_symbol_table)): Call aout_get_external_symbols to
read the symbols.  Allocate the cached symbols with malloc, not
bfd_alloc.
(NAME(aout,slurp_reloc_table)): Allocate the cached relocs with
malloc, not bfd_alloc.
(NAME(aout,bfd_free_cached_info)): New function; free cached
symbols and relocs.
* libaout.h (struct aoutdata): Add external_string_size field.
(obj_aout_external_string_size): New accessor macro.
(NAME(aout,close_and_cleanup)): Don't declare.
(NAME(aout,bfd_free_cached_info)): Declare.
(aout_32_close_and_cleanup): Don't define.
(aout_64_close_and_cleanup): Don't define.
* aout-target.h (MY_bfd_free_cached_info): If not already defined,
define as NAME(aout,free_cached_info).
(MY_close_and_cleanup): If not already defined, define as
MY_bfd_free_cached_info.
* aout-adobe.c (aout_32_close_and_cleanup): Define.
(aout_32_bfd_free_cached_info): Don't define.
* bout.c (aout_32_close_and_cleanup): Define.
(aout_32_bfd_free_cached_info): Don't define.
* hp300hpux.c (MY_bfd_free_cached_info): Define as bfd_true.
(MY_close_and_cleanup): Don't define.
* i386lynx.c (NAME(lynx,slurp_reloc_table)): Allocate the cached
relocs with malloc, not bfd_alloc.
* i386os9k.c (aout_32_close_and_cleanup): Define.
(aout_32_bfd_free_cached_info): Don't define.

30 years ago * targets.c (bfd_target): Add _bfd_free_cached_info field.
Ian Lance Taylor [Fri, 1 Apr 1994 17:55:47 +0000 (17:55 +0000)]
* targets.c (bfd_target): Add _bfd_free_cached_info field.
* bfd.c (bfd_free_cached_info): Define.
* bfd-in.h (JUMP_TABLE): Add _bfd_free_cached_info.
* bfd-in2.h: Rebuilt.
* All backends: Initialize bfd_free_cached_info entry point to
bfd_true.

30 years ago * elf32-hppa.c (elf_hppa_reloc_type_lookup): Correct type of
Ian Lance Taylor [Fri, 1 Apr 1994 17:51:03 +0000 (17:51 +0000)]
* elf32-hppa.c (elf_hppa_reloc_type_lookup): Correct type of
first, unused, argument.
(hppa_elf_is_local_label): Declare instead of
som_bfd_is_local_label.

30 years ago * coff-a29k.c (a29k_reloc): Add reloc_entry->address to value of
Ian Lance Taylor [Fri, 1 Apr 1994 17:44:29 +0000 (17:44 +0000)]
* coff-a29k.c (a29k_reloc): Add reloc_entry->address to value of
absolute R_IREL reloc.

30 years ago * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): Removed,
Peter Schauer [Fri, 1 Apr 1994 08:51:31 +0000 (08:51 +0000)]
* config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE):  Removed,
the new generic definition from tm-sysv4.h works for Solaris.

30 years ago * config/tm-sysv4.h (IN_SOLIB_TRAMPOLINE): Use new in_plt_section.
Peter Schauer [Fri, 1 Apr 1994 08:50:42 +0000 (08:50 +0000)]
* config/tm-sysv4.h (IN_SOLIB_TRAMPOLINE):  Use new in_plt_section.

30 years ago For SVR4 targets, enable gdb to set breakpoints in shared
Peter Schauer [Fri, 1 Apr 1994 08:50:03 +0000 (08:50 +0000)]
For SVR4 targets, enable gdb to set breakpoints in shared
library functions before the executable is run.
* elfread.c (elf_symtab_read):  Handle symbols for shared library
functions.
* sparc-tdep.c (in_solib_trampoline):  Renamed to in_plt_section
and moved to objfiles.c.
* objfiles.c (in_plt_section):  Moved to here from sparc-tdep.
* config/tm-sysv4.h (IN_SOLIB_TRAMPOLINE):  Use new in_plt_section.
* config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE):  Removed,
the new generic definition from tm-sysv4.h works for Solaris.

30 years agokeep internals stuff
Ken Raeburn [Fri, 1 Apr 1994 00:45:04 +0000 (00:45 +0000)]
keep internals stuff

30 years agoSome internals docs. Not enough to be amazingly helpful yet, not really
Ken Raeburn [Fri, 1 Apr 1994 00:43:14 +0000 (00:43 +0000)]
Some internals docs.  Not enough to be amazingly helpful yet, not really
used for anything, just checkpointing...

30 years ago* i386.h (IS_JUMP_ON_ECX_ZERO, "jcxz" pattern): Operand size prefix is 0x66,
Ken Raeburn [Fri, 1 Apr 1994 00:35:34 +0000 (00:35 +0000)]
* i386.h (IS_JUMP_ON_ECX_ZERO, "jcxz" pattern): Operand size prefix is 0x66,
not 0x67.  Patch from H.J. Lu (hlu@nynexst.com).

30 years ago* internal.h (internal_aouthdr): Added comments for Apollo fields.
Ken Raeburn [Fri, 1 Apr 1994 00:29:40 +0000 (00:29 +0000)]
* internal.h (internal_aouthdr): Added comments for Apollo fields.

30 years ago * scripttempl/alpha.sc: Clean up section alignment to ensure that
Ian Lance Taylor [Thu, 31 Mar 1994 23:08:37 +0000 (23:08 +0000)]
* scripttempl/alpha.sc: Clean up section alignment to ensure that
sections never overlap when using -r.

30 years ago * config/tc-sparc.c (tc_gen_reloc): Add a gruesome hack to get
Ian Lance Taylor [Thu, 31 Mar 1994 21:54:06 +0000 (21:54 +0000)]
* config/tc-sparc.c (tc_gen_reloc): Add a gruesome hack to get
cross section PC relative relocs right for COFF and ELF.

30 years ago Added some support for Irix 4 shared libraries.
Ian Lance Taylor [Thu, 31 Mar 1994 21:38:23 +0000 (21:38 +0000)]
Added some support for Irix 4 shared libraries.
* ecoff.c (ecoff_new_section_hook): Set SEC_SHARED_LIBRARY for a
.lib section.
(ecoff_sec_to_styp_flags): Set SEC_SHARED_LIBRARY if
STYP_ECOFF_LIB bit is set.
(ecoff_compute_section_file_positions): Round the contents of a
.lib section up to the next page boundary.
(ecoff_set_section_contents): If we see a .lib section, increment
the vma by one to count the number of shared libraries we have.
(ecoff_write_object_contents): Don't crash if we see a
STYP_ECOFF_LIB section, and don't adjust text_start or data_start
or bss_size either.

30 years ago * ecoff.h (STYP_ECOFF_LIB): Define as used on Irix 4.
Ian Lance Taylor [Thu, 31 Mar 1994 21:28:44 +0000 (21:28 +0000)]
* ecoff.h (STYP_ECOFF_LIB): Define as used on Irix 4.

30 years ago * coffcode.h (CALC_ADDEND): Change to fetch original symbol value
Ian Lance Taylor [Thu, 31 Mar 1994 21:05:21 +0000 (21:05 +0000)]
* coffcode.h (CALC_ADDEND): Change to fetch original symbol value
from original BFD, rather than using value of current BFD symbol.
Needed for new linker.
* coff-sparc.c (CALC_ADDEND): Likewise.

30 years ago * ecoff.c (ecoff_write_object_contents): Set the text_start and
Ian Lance Taylor [Thu, 31 Mar 1994 19:44:10 +0000 (19:44 +0000)]
* ecoff.c (ecoff_write_object_contents): Set the text_start and
data_start entries in the optional header correctly even if a text
or data section starts at location zero.

30 years agoAdded missing ChangeLog entry for Sean's check in, and rebuilt
Ian Lance Taylor [Thu, 31 Mar 1994 19:08:22 +0000 (19:08 +0000)]
Added missing ChangeLog entry for Sean's check in, and rebuilt
bfd-in2.h.

30 years ago * nlm32-i386.c (nlm_i386_read_import): Null terminate the symbol
Ian Lance Taylor [Thu, 31 Mar 1994 19:05:03 +0000 (19:05 +0000)]
* nlm32-i386.c (nlm_i386_read_import): Null terminate the symbol
name.
* nlm32-alpha.c (nlm_alpha_read_import): Likewise.
* nlm32-sparc.c (nlm_sparc_read_import): Likewise.

30 years agoMissing BFD_RELOC_26.
Sean Eric Fagan [Thu, 31 Mar 1994 18:43:42 +0000 (18:43 +0000)]
Missing BFD_RELOC_26.

30 years ago * coffgen.c (coff_write_symbol): Reindented. Changed to return
Ian Lance Taylor [Thu, 31 Mar 1994 16:58:23 +0000 (16:58 +0000)]
* coffgen.c (coff_write_symbol): Reindented.  Changed to return
boolean, and changed written to unsigned int *.  Check error
returns from called functions.
(coff_write_alien_symbol): Likewise.
(coff_write_native_symbol): Likewise.
(coff_write_symbols): Likewise.  Reworked checks on whether to
write symbol name to string table for clarity and to avoid core
dumping when given a non COFF symbol.
* libcoff-in.h (coff_write_symbols): Declare as returning boolean.
* libcoff.h: Rebuilt.
* coffcode.h (coff_write_object_contents): Check return value of
coff_write_symbols.

30 years ago * configure: Support --silent, --quiet.
David MacKenzie [Thu, 31 Mar 1994 12:57:02 +0000 (12:57 +0000)]
* configure: Support --silent, --quiet.

30 years ago * som.c (som_begin_writing): New approach at dealing with holes
Jeff Law [Thu, 31 Mar 1994 06:50:42 +0000 (06:50 +0000)]
    * som.c (som_begin_writing): New approach at dealing with holes
        in executables left by the HP linker.  Does not rely on subspace
        alignments as subspaces are *NOT* guaranteed to be properly
        aligned in an executable (can you believe that!).

30 years ago * configure: Support --disable-FEATURE.
David MacKenzie [Thu, 31 Mar 1994 05:45:16 +0000 (05:45 +0000)]
* configure: Support --disable-FEATURE.

30 years agoOnly build PowerPC stubs if we are converting a PowerPC object file.
Ian Lance Taylor [Thu, 31 Mar 1994 04:59:09 +0000 (04:59 +0000)]
Only build PowerPC stubs if we are converting a PowerPC object file.

30 years agoWed Mar 30 15:31:55 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Wed, 30 Mar 1994 23:43:52 +0000 (23:43 +0000)]
Wed Mar 30 15:31:55 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-xconfig.in (opcode/mips.h): Don't forward-include here.
(BFD_MACHINES): Set appropriately.

30 years agoWed Mar 30 15:30:44 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Wed, 30 Mar 1994 23:33:44 +0000 (23:33 +0000)]
Wed Mar 30 15:30:44 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-config.in (BFD_MACHINES): Set to a default value.
* mpw-make.in (BFD_MACHINES): Remove wired-in value.

30 years ago * xcoffread.c (xcoff_next_symbol_text): New function.
Jim Kingdon [Wed, 30 Mar 1994 22:38:58 +0000 (22:38 +0000)]
* xcoffread.c (xcoff_next_symbol_text): New function.
(read_xcoff_symtab): Set next_symbol_text_func to it.
Move raw_symbol outside of read_xcoff_symtab.

30 years agoWed Mar 30 16:25:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
Ian Lance Taylor [Wed, 30 Mar 1994 22:15:07 +0000 (22:15 +0000)]
Wed Mar 30 16:25:41 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)

Changes to let BFD return an error indication from
get_symtab_upper_bound, bfd_canonicalize_symtab,
bfd_get_reloc_upper_bound, and bfd_canonicalize_reloc.  They now
return long instead of unsigned int, and use -1 to indicate an
error.  Along the way, rename get_symtab_upper_bound to
bfd_get_symtab_upper_bound.
* bfd.c (bfd_get_reloc_upper_bound): Return long, and -1 on
errors.
(bfd_canonicalize_reloc): Likewise.
* syms.c (bfd_get_symtab_upper_bound): Renamed from
get_symtab_upper_bound.
* targets.c (bfd_target): Renamed _get_symtab_upper_bound to
_bfd_get_symtab_upper_bound, and changed it and
_bfd_canonicalize_symtab and _get_reloc_upper_bound and
_bfd_canonicalize_reloc to all return long.
* aoutx.h (NAME(aout,get_symtab)): Return long, and -1 on errors.
(NAME(aout,canonicalize_reloc)): Likewise.
(NAME(aout,get_reloc_upper_bound)): Likewise.
(NAME(aout,get_symtab_upper_bound)): Likewise.
* bout.c (b_out_canonicalize_reloc): Likewise.
(b_out_get_reloc_upper_bound): Likewise.
* coffcode.h (coff_canonicalize_reloc): Likewise.
* coffgen.c (coff_get_symtab_upper_bound): Likewise.
(coff_get_symtab): Likewise.
(coff_get_reloc_upper_bound): Likewise.
* ecoff.c (ecoff_get_symtab_upper_bound): Likewise.
(ecoff_get_symtab): Likewise.
(ecoff_canonicalize_reloc): Likewise.
* elfcode.h (elf_get_symtab_upper_bound): Likewise.
(elf_get_reloc_upper_bound): Likewise.
(elf_canonicalize_reloc): Likewise.
(elf_get_symtab): Likewise.
* hp300hpux.c (MY(get_symtab)): Likewise.
(MY(get_symtab_upper_bound)): Likewise.
(MY(canonicalize_reloc)): Likewise.
* i386lynx.c (NAME(lynx,canonicalize_reloc)): Likewise.
* ieee.c (ieee_slurp_external_symbols): Change return type to
boolean.  Check for errors from get_symbol.
(ieee_slurp_symbol_table): Change return type to boolean.  Check
for errors from ieee_slurp_external_symbols.
(ieee_get_symtab_upper_bound): Return long, and -1 on errors.
(ieee_get_symtab): Likewise.
(ieee_get_reloc_upper_bound): Likewise.
(ieee_canonicalize_reloc): Likewise.
* mipsbsd.c (MY(canonicalize_reloc)): Likewise.
* nlmcode.h (nlm_get_symtab_upper_bound): Likewise.
(nlm_get_symtab): Likewise.
(nlm_get_reloc_upper_bound): Likewise.
(nlm_canonicalize_reloc): Likewise.
* oasys.c (oasys_get_symtab_upper_bound): Likewise.
(oasys_get_symtab): Likewise.
(oasys_get_reloc_upper_bound): Likewise.
(oasys_canonicalize_reloc): Likewise.
* som.c (som_get_symtab_upper_bound): Likewise.
(som_get_symtab): Likewise.
(som_get_reloc_upper_bound): Likewise.
(som_canonicalize_reloc): Likewise.
* srec.c (srec_get_symtab_upper_bound): Likewise.
(srec_get_symtab): Likewise.
(srec_get_reloc_upper_bound): Define as bfd_0l.
(srec_canonicalize_reloc): Likewise.
* tekhex.c (tekhex_get_symtab): Return long, and -1 on errors.
(tekhex_get_symtab_upper_bound): Likewise.
(tekhex_get_reloc_upper_bound): Define as bfd_0l.
(tekhex_canonicalize_reloc): Likewise.
* libaout.h (NAME(aout,get_symtab_upper_bound)): Change
declaration to return long.
(NAME(aout,get_symtab)): Likewise.
(NAME(aout,canonicalize_reloc)): Likewise.
(NAME(aout,get_reloc_upper_bound)): Likewise.
* libcoff-in.h (coff_get_symtab_upper_bound): Likewise.
(coff_get_symtab): Likewise.
(coff_get_reloc_upper_bound): Likewise.
* libecoff.h (ecoff_get_symtab_upper_bound): Likewise.
(ecoff_get_symtab): Likewise.
(ecoff_canonicalize_reloc): Likewise.
* libelf.h (bfd_elf32_get_symtab_upper_bound): Likewise.
(bfd_elf32_get_symtab): Likewise.
(bfd_elf32_get_reloc_upper_bound): Likewise.
(bfd_elf32_canonicalize_reloc): Likewise.
(bfd_elf64_get_symtab_upper_bound): Likewise.
(bfd_elf64_get_symtab): Likewise.
(bfd_elf64_get_reloc_upper_bound): Likewise.
(bfd_elf64_canonicalize_reloc): Likewise.
* libnlm.h (nlmNAME(get_symtab_upper_bound)): Likewise.
(nlmNAME(get_symtab)): Likewise.
(nlmNAME(get_reloc_upper_bound)): Likewise.
(nlmNAME(canonicalize_reloc)): Likewise.
* archive.c (compute_and_write_armap): Use error_return and
no_memory_return labels rather than freeing information in various
places.  Change storage, symcount and src_count to long.  Check
errors from bfd_get_symtab_upper_bound and
bfd_canonicalize_symtab.
* bout.c (b_out_relax_section): Change reloc_size to long.  Check
for errors from bfd_get_reloc_upper_bound and
bfd_canonicalize_reloc.
(b_out_get_relocated_section_contents): Likewise.
* coff-alpha.c (alpha_ecoff_get_relocated_section_contents):
Likewise.
* elf32-mips.c: Likewise.
* elf32-hppa.c (hppa_elf_stub_finish): Likewise.
(hppa_look_for_stubs_in_section): Check for errors from
bfd_get_symtab_upper_bound, bfd_canonicalize_symtab, and
bfd_canonicalize_reloc.
* ecofflink.c (bfd_ecoff_debug_accumulate_other): Check for errors
from bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
* linker.c (generic_link_read_symbols): Likewise.
(_bfd_generic_final_link): Check for errors from
bfd_get_reloc_upper_bound and bfd_canonicalize_reloc.
* reloc.c (bfd_generic_get_relocated_section_contents): Likewise.
* reloc16.c (bfd_coff_reloc16_relax_section): Likewise.
(bfd_coff_reloc16_get_relocated_section_contents): Likewise.
* libbfd.c (bfd_0l): New function.
* libbfd-in.h (bfd_0l): Declare.
* aix386-core.c: Change get_symtab_upper_bound, get_symtab,
get_reloc_upper_bound, and canonicalize_reloc to use bfd_0l rather
than bfd_0u.
* cisco-core.c, hppabsd-core.c, hpux-core.c: Likewise.
* irix-core.c, osf-core.c, ptrace-core.c, trad-core.c: Likewise.
* bfd-in2.h: Rebuilt.
* libbfd.h: Rebuilt.
* libcoff.h: Rebuilt.

* nlm32-sparc.c (nlm_sparc_read_reloc): Remove unused variables
temp and name.

30 years ago * elfread.c (elf_symtab_read): Change storage_needed,
Ian Lance Taylor [Wed, 30 Mar 1994 22:10:18 +0000 (22:10 +0000)]
* elfread.c (elf_symtab_read): Change storage_needed,
number_of_symbols and i to long.  Rename get_symtab_upper_bound to
bfd_get_symtab_upper_bound.  Check for errors from
bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
* nlmread.c (nlm_symtab_read): Same changes.

30 years ago * gprof.c (getsymtab): Change nosyms to long. Rename
Ian Lance Taylor [Wed, 30 Mar 1994 22:06:39 +0000 (22:06 +0000)]
* gprof.c (getsymtab): Change nosyms to long.  Rename
get_symtab_upper_bound to bfd_get_symtab_upper_bound.  Check for
errors from bfd_get_symtab_upper_bound and
bfd_canonicalize_symtab.

30 years ago Update for recent BFD changes to symbol and reloc reading. Rename
Ian Lance Taylor [Wed, 30 Mar 1994 22:06:17 +0000 (22:06 +0000)]
Update for recent BFD changes to symbol and reloc reading.  Rename
all uses of get_symtab_upper_bound to bfd_get_symtab_upper_bound.
Also:
* coffgrok.c (symcount): Change to long.
(do_sections_p1): Check for error return from
bfd_get_reloc_upper_bound.  Change relcount to long, and check for
error from bfd_canonicalize_reloc.
(coff_grok): Change storage to long.  Check for error from
bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
* nlmconv.c (main): Change symcount, newsymalloc, newsymcount, and
i to long.  Check for error from bfd_get_symtab_upper_bound and
bfd_canonicalize_symtab.
(copy_sections): Change reloc_size and reloc_count to long.  Check
for error from bfd_get_reloc_upper_bound and
bfd_canonicalize_reloc.
(mangle_relocs, i386_mangle_relocs, alpha_mangle_relocs): Change
reloc_count_ptr argument to long *.  Make corresponding changes to
variables loaded from *reloc_count_ptr.
* nm.c (display_rel_file): Change storage and symcount to long.
Check for errors from bfd_get_symtab_upper_bound and
bfd_canonicalize_symtab.
* objcopy.c (filter_symbols): Change symcount, src_count and
dst_count to long.
(copy_object): Change symcount to long.  Pass another argument to
fprintf.  Check for errors from bfd_get_symtab_upper_bound and
bfd_canonicalize_symtab.
(copy_section): Change relcount to long.  Check for errors from
bfd_get_reloc_upper_bound and bfd_canonicalize_reloc.
(mark_symbols_used_in_relocations): Change relcount and i to long.
Check for errors form bfd_get_reloc_upper_bound and
bfd_canonicalize_reloc.
* objdump.c (storage): Remove global variable.
(symcount): Changed to long.
(slurp_symtab): New local variable storage.  Check for errors from
bfd_get_symtab_upper_bound and bfd_canonicalize_symtab.
(remove_useless_symbols): Change return value and count to long.
(objdump_print_address): Change min, max, thisplace and i to long.
(disassemble_data): Change i to long.
(dump_symbols): Change count to long.
(dump_relocs): Change relcount to long.  Check for errors from
bfd_ret_reloc_upper_bound and bfd_canonicalize_reloc.
(display_info_table): Add casts when passing LONGEST_ARCH for
printf %* argument.

30 years ago * ldmisc.c (vfinfo): Change symbol reading slightly for recent BFD
Ian Lance Taylor [Wed, 30 Mar 1994 22:05:05 +0000 (22:05 +0000)]
* ldmisc.c (vfinfo): Change symbol reading slightly for recent BFD
changes: get_symtab_upper_bound renamed and returns long,
bfd_canonicalize_symtab returns long, check for error indications.

30 years ago * xcoffread.c (xcoff_next_symbol_text): New function.
Jim Kingdon [Wed, 30 Mar 1994 21:48:14 +0000 (21:48 +0000)]
* xcoffread.c (xcoff_next_symbol_text): New function.
(read_xcoff_symtab): Set next_symbol_text_func to it.
Move raw_symbol outside of read_xcoff_symtab.

30 years ago* remote.c (getpkt): Remove unused "out" label.
Jim Kingdon [Wed, 30 Mar 1994 19:44:53 +0000 (19:44 +0000)]
* remote.c (getpkt): Remove unused "out" label.

30 years ago * breakpoint.c (print_it_normal): Allow GDB to notify the user
Jeff Law [Wed, 30 Mar 1994 17:17:01 +0000 (17:17 +0000)]
    * breakpoint.c (print_it_normal): Allow GDB to notify the user
        about more than one watchpoint being triggered.

30 years ago* hosts/dpx2.h: Define POSIX_UTIME.
Jim Kingdon [Wed, 30 Mar 1994 16:33:45 +0000 (16:33 +0000)]
* hosts/dpx2.h: Define POSIX_UTIME.

30 years ago* config/m68k/tm-dpx2.h: Include tm-m68k.h not nonexistent tm-68k.h.
Jim Kingdon [Wed, 30 Mar 1994 16:25:08 +0000 (16:25 +0000)]
* config/m68k/tm-dpx2.h: Include tm-m68k.h not nonexistent tm-68k.h.

30 years ago * blockframe.c (find_pc_partial_function): mst_file_text
Peter Schauer [Wed, 30 Mar 1994 10:29:36 +0000 (10:29 +0000)]
* blockframe.c (find_pc_partial_function):  mst_file_text
symbols do not live in the shared library transfer table.

30 years ago * config/i386/tm-symmetry.h: Clean up, it is now only used for Dynix.
Peter Schauer [Wed, 30 Mar 1994 10:00:00 +0000 (10:00 +0000)]
* config/i386/tm-symmetry.h:  Clean up, it is now only used for Dynix.
Remove all conditionals and definitions for ptx.
I386_REGNO_TO_SYMMETRY moved to here from symm-tdep.c.
Fix addresses of floating point registers in REGISTER_U_ADDR.
STORE_STRUCT_RETURN now handles cc and gcc conventions.
FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC,
IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET defined to make backtracing through
signal trampoline code work.
* config/i386/xm-symmetry.h:  Clean up, it is now only used for Dynix.
Remove all conditionals and definitions for ptx.
Remove KDB definitions.

30 years ago * ch-exp.y (decode_integer_value, match_character_literal,
Peter Schauer [Wed, 30 Mar 1994 09:57:08 +0000 (09:57 +0000)]
* ch-exp.y (decode_integer_value, match_character_literal,
match_bitstring_literal):  Guard tolower calls with isupper,
tolower on old BSD systems blindly subtracts a constant.
* dbxread.c (read_ofile_symtab):  Check for __gnu_compiled_* as
well when determining the producer of the object file.
* mdebugread.c (has_opaque_xref):  New function to check for
cross reference to an opaque aggregate.
* mdebugread.c (parse_symbol, parse_partial_symbols):  Do not
enter typedefs to opaque aggregates into the symbol tables.
* mdebugread.c (parse_external):  Remove skip_procedures argument,
it has always been 1.  Remove code that handled stProc symbols,
it was never executed and was wrong, as the index of a
stProc symbol points to the local symbol table and not to the
auxiliary symbol info. Update caller.
* mdebugread.c (parse_partial_symbols):  Do not enter external
stProc symbols into the partial symbol table, they are already
entered into the minimal symbol table.
* config/i386/tm-symmetry.h:  Clean up, it is now only used for Dynix.
Remove all conditionals and definitions for ptx.
I386_REGNO_TO_SYMMETRY moved to here from symm-tdep.c.
Fix addresses of floating point registers in REGISTER_U_ADDR.
STORE_STRUCT_RETURN now handles cc and gcc conventions.
FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC,
IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET defined to make backtracing through
signal trampoline code work.
* config/i386/xm-symmetry.h:  Clean up, it is now only used for Dynix.
Remove all conditionals and definitions for ptx.
Remove KDB definitions.
* symm-nat.c (store_inferior_registers):  Fetch registers before
storing them to obtain valid floating point control registers.
Store fpu registers.
* symm-nat.c (print_1167_control_word):  Dynix 3.1.1 defines
FPA_PCR_CC_C0 and FPA_PCR_CC_C1, avoid duplicate case value.
* symm-nat.c (fetch_inferior_registers, child_xfer_memory):
Fix typos.
* symm-nat.c (child_resume):  Update type of `signal' parameter.
* symm-tdep.c (I386_REGNO_TO_SYMMETRY):  Moved to tm-symmetry.h.

30 years ago * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
Peter Schauer [Wed, 30 Mar 1994 09:21:59 +0000 (09:21 +0000)]
* gdb.t02/whatis.exp, gdb.t08/opaque.exp:  Add XFAILs for
sequent dynix.
* gdb.t06/signals.exp:  Add clear_xfail for sequent dynix.
* gdb.t15/funcargs.exp:  Conditionally step again to really
finish from marker_call_with_trampolines. Handle the case where
the first step from within call_with_trampolines already steps
us back to main.
* gdb.t15/gdbme.c:  Add comment to closing brace of
call_with_trampolines for funcargs.exp.

30 years ago * i386-dis.c (struct private): Renamed to dis_private. `private'
Peter Schauer [Wed, 30 Mar 1994 09:17:49 +0000 (09:17 +0000)]
* i386-dis.c (struct private):  Renamed to dis_private. `private'
is a reserved word for dynix cc.

30 years ago * i386dynix.c, config/i386-dynix.mt: New files, handling Dynix
Peter Schauer [Wed, 30 Mar 1994 08:53:45 +0000 (08:53 +0000)]
* i386dynix.c, config/i386-dynix.mt:  New files, handling Dynix
variant of a.out.
* configure.in, config.bfd:  Use them for Dynix.
* Makefile.in:  Add dependencies for i386dynix.o.
* targets.c:  Add definition for i386dynix_vec.

30 years ago * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
Jeff Law [Wed, 30 Mar 1994 07:56:14 +0000 (07:56 +0000)]
    * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
        Fix typo(s).

30 years ago * hppa-tdep.c (hppa_fix_call_dummy): Use an alternate method for
Jeff Law [Wed, 30 Mar 1994 07:03:01 +0000 (07:03 +0000)]
    * hppa-tdep.c (hppa_fix_call_dummy): Use an alternate method for
        calling import stubs for functions in shared libraries.

30 years ago * ch-exp.y: Implement SIZE(mode_name) and SIZE(expression).
Per Bothner [Wed, 30 Mar 1994 06:59:16 +0000 (06:59 +0000)]
* ch-exp.y:  Implement SIZE(mode_name) and SIZE(expression).

30 years ago * ch-lang.c (chill_is_varying_struct): Magic string is
Per Bothner [Wed, 30 Mar 1994 05:23:00 +0000 (05:23 +0000)]
* ch-lang.c (chill_is_varying_struct):  Magic string is
was "<var_length>" is now "__var_length" (more portable).

30 years ago * remote.c (getpkt): If we get a timeout, actually retry rather
Jim Kingdon [Wed, 30 Mar 1994 03:50:23 +0000 (03:50 +0000)]
* remote.c (getpkt): If we get a timeout, actually retry rather
than just giving up the first time it happens.
* remote.c: Document sequence numbers.
(remote_store_registers): Change syntax of 'P' request so that it
never looks like a sequence number.

30 years ago* config.guess: Recognize NCR running SVR4.3.
Jim Kingdon [Wed, 30 Mar 1994 03:15:42 +0000 (03:15 +0000)]
* config.guess: Recognize NCR running SVR4.3.

30 years agoModified Files:
Kung Hsu [Wed, 30 Mar 1994 00:18:29 +0000 (00:18 +0000)]
Modified Files:
ChangeLog os9kread.c remote-os9k.c

        * os9kread.c (record_minmal_symbol): add section_offset to
        relocate minimal symbol table.
        * os9kread.c (read_minimal_symbols): ditto.
        * os9kread.c (os9k_symfile_init): increase size of dbg and stb
        file names.
        * os9kread.c (read_os9k_psymtab): if there's no dbg file, just
        return. Also if file addr is 0 leave it 0, not to relocate.
        * remote-os9k.c (_initialize_remote_os9k): add 'set remotexon',
        'set remotexoff' and 'set remotelog' commands.

30 years ago * objdump.c (display_file): Close each archive element after it
Ian Lance Taylor [Tue, 29 Mar 1994 21:34:44 +0000 (21:34 +0000)]
* objdump.c (display_file): Close each archive element after it
has been displayed.

30 years ago * remote.c (remote_store_registers): Add 'P' request to set an
Jim Kingdon [Tue, 29 Mar 1994 20:43:48 +0000 (20:43 +0000)]
* remote.c (remote_store_registers): Add 'P' request to set an
individual register.
(remote_write_bytes, remote_read_bytes): Use %lx, not %x, to print
a target address.

30 years agoFix last patch.
Ian Lance Taylor [Tue, 29 Mar 1994 20:34:10 +0000 (20:34 +0000)]
Fix last patch.

30 years ago * nm.c (display_archive): Close each archive element after it has
Ian Lance Taylor [Tue, 29 Mar 1994 20:00:09 +0000 (20:00 +0000)]
* nm.c (display_archive): Close each archive element after it has
been displayed.

30 years agoPut back include to tm-hppa.h mistakenly taken out during a recent checkin.
Jeff Law [Tue, 29 Mar 1994 18:36:48 +0000 (18:36 +0000)]
Put back include to tm-hppa.h mistakenly taken out during a recent checkin.

30 years agoMinor formatting fixes. (TeXs OK now.)
Roland Pesch [Tue, 29 Mar 1994 03:39:46 +0000 (03:39 +0000)]
Minor formatting fixes.  (TeXs OK now.)

30 years agoLast-minute updates on Steve's last-minute changes.
Roland Pesch [Tue, 29 Mar 1994 03:08:48 +0000 (03:08 +0000)]
Last-minute updates on Steve's last-minute changes.
TeX formatting remains to be checked.

30 years ago binutils.texi(nlmconv): added -d/--debug and -l/--linker info
Jeffrey Osier [Tue, 29 Mar 1994 00:53:16 +0000 (00:53 +0000)]
binutils.texi(nlmconv): added -d/--debug and -l/--linker info

30 years agoFix node structure around new Hitachi nodes so general-purpose
Roland Pesch [Tue, 29 Mar 1994 00:35:30 +0000 (00:35 +0000)]
Fix node structure around new Hitachi nodes so general-purpose
vn of manual builds OK, too.

30 years agoEntry for last check in.
Ian Lance Taylor [Mon, 28 Mar 1994 23:44:43 +0000 (23:44 +0000)]
Entry for last check in.

30 years ago * Makefile.in (BFD32_BACKENDS): Add coff-sparc.o.
Ian Lance Taylor [Mon, 28 Mar 1994 23:35:20 +0000 (23:35 +0000)]
* Makefile.in (BFD32_BACKENDS): Add coff-sparc.o.

30 years ago * coffcode.h (coff_set_flags): Handle bfd_arch_powerpc like
Ian Lance Taylor [Mon, 28 Mar 1994 23:20:38 +0000 (23:20 +0000)]
* coffcode.h (coff_set_flags): Handle bfd_arch_powerpc like
bfd_arch_rs6000.

30 years agoAn annoying typo (faflse instead of false). Oopsie.
Sean Eric Fagan [Mon, 28 Mar 1994 23:03:21 +0000 (23:03 +0000)]
An annoying typo (faflse instead of false).  Oopsie.

30 years ago * config.guess: Make BSDI generate i386-unknown-bsd386.
Per Bothner [Mon, 28 Mar 1994 23:01:39 +0000 (23:01 +0000)]
* config.guess:  Make BSDI generate i386-unknown-bsd386.
Patch from Paul Eggert <eggert@twinsun.com>.

30 years ago* config/obj-coff.h (SEPARATE_STAB_SECTIONS): Always define.
Ken Raeburn [Mon, 28 Mar 1994 19:40:53 +0000 (19:40 +0000)]
* config/obj-coff.h (SEPARATE_STAB_SECTIONS): Always define.
(OBJ_PROCESS_STAB): Don't define.

30 years ago * configure.in: Change error message to refer to bfd/config.bfd
Ian Lance Taylor [Mon, 28 Mar 1994 18:05:12 +0000 (18:05 +0000)]
* configure.in: Change error message to refer to bfd/config.bfd
rather than bfd/configure.in.

30 years ago * config.bfd (powerpc-*-aix*): New target; use rs6000.mt.
Ian Lance Taylor [Mon, 28 Mar 1994 18:02:05 +0000 (18:02 +0000)]
* config.bfd (powerpc-*-aix*): New target; use rs6000.mt.

30 years ago * configure.in (powerpc-*-aix*): New target; use rs6000.mt.
Ian Lance Taylor [Mon, 28 Mar 1994 18:00:09 +0000 (18:00 +0000)]
* configure.in (powerpc-*-aix*): New target; use rs6000.mt.
* config/rs6000.mt (SELECT_ARCHITECTURES): Add bfd_powerpc_arch.

30 years ago * aoutx.h (translate_from_native_sym_flags): Set SEC_RELOC flag
Ian Lance Taylor [Mon, 28 Mar 1994 17:57:34 +0000 (17:57 +0000)]
* aoutx.h (translate_from_native_sym_flags): Set SEC_RELOC flag
for generated constructor section.

30 years ago * configure.in (powerpc-*-aix*): Treat like rs6000-*-*.
Ian Lance Taylor [Mon, 28 Mar 1994 17:55:58 +0000 (17:55 +0000)]
* configure.in (powerpc-*-aix*): Treat like rs6000-*-*.

30 years ago * config/obj-aout.c (obj_aout_frob_symbols): Don't let BFD clobber
Ian Lance Taylor [Mon, 28 Mar 1994 17:43:54 +0000 (17:43 +0000)]
* config/obj-aout.c (obj_aout_frob_symbols): Don't let BFD clobber
the type of symbol set symbols which happen to be in the absolute
or undefined section.

30 years agoMon Mar 28 12:35:00 1994 David Edelsohn (edelsohn@npac.syr.edu)
Ian Lance Taylor [Mon, 28 Mar 1994 17:38:39 +0000 (17:38 +0000)]
Mon Mar 28 12:35:00 1994  David Edelsohn  (edelsohn@npac.syr.edu)

* config/tc-ppc.c (md_parse_option): Add -mpwrx (POWER/2 aka
RIOS2), -mpwr (POWER aka RIOS1), -mppc (PowerPC aka MPC603/604),
and -many (all architectures).

30 years agoMon Mar 28 12:28:30 1994 David Edelsohn (edelsohn@npac.syr.edu)
Ian Lance Taylor [Mon, 28 Mar 1994 17:30:29 +0000 (17:30 +0000)]
Mon Mar 28 12:28:30 1994  David Edelsohn  (edelsohn@npac.syr.edu)

* ppc-opc.c: Define POWER2 as short alias flag.
(powerpc_opcodes): Add POWER/2 opcodes lfq*, stfq*, fcir[z], and
fsqrt.

30 years ago * gdb.t07/gdbme.c: More code for watchpoint testing.
Jeff Law [Mon, 28 Mar 1994 00:53:55 +0000 (00:53 +0000)]
    * gdb.t07/gdbme.c: More code for watchpoint testing.

        * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
        "Hardware watchpoint" throughout file.
        (test_watchpoint_triggered_in_syscall): New test.
        (test_complex_watchpoint): New test.

30 years ago * More fixes for object formats which allow multiple sections
Jeff Law [Mon, 28 Mar 1994 00:25:15 +0000 (00:25 +0000)]
    * More fixes for object formats which allow multiple sections
        with the same name:
        * objcopy.c (setup_section): Make a new output section even if
        one already exists with the given name.
        (copy_section): Use isection->output_section rather than trying
        to look the output section up by its (possibly non-unique) name.

30 years ago * gas/hppa/reloc/funcrelocbug.s: New test.
Jeff Law [Sun, 27 Mar 1994 22:06:42 +0000 (22:06 +0000)]
    * gas/hppa/reloc/funcrelocbug.s: New test.
        * gas/hppa/reloc/reloc.exp: Run it.

30 years ago * config/tc-hppa.c (tc_gen_reloc): Set addend for relocation
Jeff Law [Sun, 27 Mar 1994 22:05:21 +0000 (22:05 +0000)]
    * config/tc-hppa.c (tc_gen_reloc): Set addend for relocation
        involving a function symbol which is not a plabel to zero.
        (md_apply_fix): Never pass a function symbol to field_adjust.

30 years agoArg. Forgot this in yesterday's cvs commit.
Jeff Law [Sun, 27 Mar 1994 21:29:37 +0000 (21:29 +0000)]
Arg.  Forgot this in yesterday's cvs commit.

30 years ago * som.c (som_get_section_contents): New function. Do not try
Jeff Law [Sat, 26 Mar 1994 20:25:48 +0000 (20:25 +0000)]
    * som.c (som_get_section_contents): New function.  Do not try
        to actually read data from a section that doesn't have either
        SEC_LOAD or SEC_DEBUGGING set (eg $BSS$) just return true.

30 years ago * configure: Make unrecognized options give nonfatal warnings
David MacKenzie [Sat, 26 Mar 1994 20:08:38 +0000 (20:08 +0000)]
* configure: Make unrecognized options give nonfatal warnings
instead of fatal errors, and pass them to any subdirectory
configures in case they recognize them.
Make --x equivalent to --with-x.

30 years ago * libbfd.c (bfd_read): Set bfd_error as appropriate for a short
Jeff Law [Sat, 26 Mar 1994 18:28:29 +0000 (18:28 +0000)]
    * libbfd.c (bfd_read): Set bfd_error as appropriate for a short
        read. (bfd_error_system_call or bfd_error_file_truncated).

        * som.c: Do not blindly set bfd_error_system_call after a
        failing bfd_read, bfd_write, or bfd_seek.  In a few places
        (like som_object_p) override the error status set by bfd_read.

        * aix386-core.c, aout-encap,c archive.c, bout.c: Likewise.
        * coff-rs6000.c, coffgen.c ecoff.c, elf.c: Likewise.
        * elf32-hppa.c, elfcode.h, hp300hpux.c, i386lynx.c: Likewise.
        * nlm32-alpha.c, nlm32-i386.c, nlm32-sparc.c: Likewise.

        * som.c: Check return values from several bfd_{seek,read,write}
        calls that we just assumed were not failing.

30 years ago * config/sparc/tm-sparc.h: Define USE_REGISTER_NOT_ARG.
Jim Kingdon [Sat, 26 Mar 1994 16:00:02 +0000 (16:00 +0000)]
* config/sparc/tm-sparc.h: Define USE_REGISTER_NOT_ARG.
* stabsread (define_symbol): If USE_REGISTER_NOT_ARG, go back to
combining all 'p' and 'r' pairs into a LOC_REGPARM.