external/binutils.git
29 years ago modified from 95q4
Victoria Mixon [Fri, 10 Nov 1995 19:59:40 +0000 (19:59 +0000)]
modified from 95q4

29 years ago modified from 95q4
Victoria Mixon [Fri, 10 Nov 1995 19:44:30 +0000 (19:44 +0000)]
modified from 95q4

29 years ago references to pesch@cygnus.com changed to doc@cygnus.com
Victoria Mixon [Fri, 10 Nov 1995 19:28:36 +0000 (19:28 +0000)]
references to pesch@cygnus.com changed to doc@cygnus.com

29 years ago binutils.texi: modified from 95q4
Victoria Mixon [Fri, 10 Nov 1995 19:09:41 +0000 (19:09 +0000)]
binutils.texi: modified from 95q4

29 years agoIf --enable-sim-inline is not specified, default to DEFAULT_INLINE=1, not 2.
Michael Meissner [Fri, 10 Nov 1995 11:41:58 +0000 (11:41 +0000)]
If --enable-sim-inline is not specified, default to DEFAULT_INLINE=1, not 2.

29 years agoAdd comment about enabing PowerPC simulator
Michael Meissner [Fri, 10 Nov 1995 11:38:13 +0000 (11:38 +0000)]
Add comment about enabing PowerPC simulator

29 years agofix typo
Michael Meissner [Fri, 10 Nov 1995 11:27:14 +0000 (11:27 +0000)]
fix typo

29 years ago * archive.c (bfd_generic_archive_p): Preserve tdata in case of
Ian Lance Taylor [Fri, 10 Nov 1995 04:50:15 +0000 (04:50 +0000)]
* archive.c (bfd_generic_archive_p): Preserve tdata in case of
failure.

29 years agoAdd --enable-sim-powerpc support.
Michael Meissner [Thu, 9 Nov 1995 22:44:47 +0000 (22:44 +0000)]
Add --enable-sim-powerpc support.

29 years agoEnable powerpc simulator for all powerpc-eabi targets, not just powerpc-eabisim if...
Michael Meissner [Thu, 9 Nov 1995 22:41:34 +0000 (22:41 +0000)]
Enable powerpc simulator for all powerpc-eabi targets, not just powerpc-eabisim if compiling with GCC.  Add --enable-sim-powerpc option to control this.

29 years ago * mpw-config.in: Add variable with names of SIOW libraries.
Raymond Jou [Thu, 9 Nov 1995 22:24:44 +0000 (22:24 +0000)]
* mpw-config.in: Add variable with names of SIOW libraries.
* mpw-make.sed: Add an action to build SIOWgdb.

29 years ago * ldfile.c (ldfile_try_open_bfd): If bfd_error_invalid_target,
Ian Lance Taylor [Thu, 9 Nov 1995 21:57:02 +0000 (21:57 +0000)]
* ldfile.c (ldfile_try_open_bfd): If bfd_error_invalid_target,
report a better error.

29 years agoObey --silent
Michael Meissner [Thu, 9 Nov 1995 21:38:13 +0000 (21:38 +0000)]
Obey --silent

29 years agoGet CC, etc. vars from configure; build ppc simulator if we are using GCC
Michael Meissner [Thu, 9 Nov 1995 21:23:36 +0000 (21:23 +0000)]
Get CC, etc. vars from configure; build ppc simulator if we are using GCC

29 years ago * config/tc-a29k.c (md_apply_fix): Warn if an attempt is made to
Ian Lance Taylor [Thu, 9 Nov 1995 21:15:10 +0000 (21:15 +0000)]
* config/tc-a29k.c (md_apply_fix): Warn if an attempt is made to
generate a reloc which the linker will not handle correctly.  Fix
overflow checking--R_IREL is 18 bits, not 17.

29 years ago * aoutx.h (NAME(aout,final_link)): Report a reasonable error when
Ian Lance Taylor [Thu, 9 Nov 1995 20:54:30 +0000 (20:54 +0000)]
* aoutx.h (NAME(aout,final_link)): Report a reasonable error when
trying to do a relocateable link with a non-a.out object file.

29 years ago * archive.c (bfd_generic_archive_p): Check the first object file
Ian Lance Taylor [Thu, 9 Nov 1995 20:53:49 +0000 (20:53 +0000)]
* archive.c (bfd_generic_archive_p): Check the first object file
in an archive even if target_defaulted is set.  If the object file
has the wrong xvec, reject it.

29 years ago * aoutx.h (NAME(aout,set_section_contents)): If a section can not
Ian Lance Taylor [Thu, 9 Nov 1995 20:09:00 +0000 (20:09 +0000)]
* aoutx.h (NAME(aout,set_section_contents)): If a section can not
be represented, report the name via _bfd_error_handler.
(translate_to_native_sym_flags): Likewise.
* elf32-mips.c (mips_elf_final_link): Likewise.
* oasys.c (oasys_write_sections): Likewise.

29 years agofix typo
Michael Meissner [Thu, 9 Nov 1995 19:51:34 +0000 (19:51 +0000)]
fix typo

29 years agoTurn on INLINES if using GCC to compile simulator; Print more stuff if requests ...
Michael Meissner [Thu, 9 Nov 1995 19:50:51 +0000 (19:50 +0000)]
Turn on INLINES if using GCC to compile simulator; Print more stuff if requests -t trace; If !WITH_ASSERT, do not check whether illegal bits in instruction are set

29 years ago * coffcode.h (coff_set_alignment_hook): Write RS6000COFF_C version
Ian Lance Taylor [Thu, 9 Nov 1995 19:44:09 +0000 (19:44 +0000)]
* coffcode.h (coff_set_alignment_hook): Write RS6000COFF_C version
which checks for STYP_OVRFLO sections.
(coff_compute_section_file_positions): If RS6000COFF_C, handle
reloc and lineno count overflows.
(coff_write_object_contents): Call coff_count_linenumbers before
coff_compute_section_file_positions.  If RS6000COFF_C, handle
reloc and lineno count overflows.
* xcofflink.c (_bfd_xcoff_bfd_final_link): Count line numbers and
relocs before dealing with .pad sections.  Count overflow section
headers when handling .pad sections.

29 years ago * coffcode.h (coff_write_object_contents): Set a.out vstamp to 1
Ian Lance Taylor [Thu, 9 Nov 1995 18:26:10 +0000 (18:26 +0000)]
* coffcode.h (coff_write_object_contents): Set a.out vstamp to 1
if RS6000COFF_C.

29 years ago * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Add
Ian Lance Taylor [Thu, 9 Nov 1995 18:11:03 +0000 (18:11 +0000)]
* emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Add
new local variable special_sections, and pass it to
size_dynamic_sections.  Look through the results, and move the
sections around in the mapping so that they are defined correctly.

29 years ago * xcofflink.c (XCOFF_DESCRIPTOR): Define.
Ian Lance Taylor [Thu, 9 Nov 1995 18:08:56 +0000 (18:08 +0000)]
* xcofflink.c (XCOFF_DESCRIPTOR): Define.
(struct xcoff_link_hash_table): Add descriptor_section and
special_sections fields.
(_bfd_xcoff_bfd_link_hash_table_create): Initialize new fields.
(xcoff_link_add_symbols): Set linkage section alignment.  Create
descriptor section.  Check for magic symbol names (_text, etc.),
and record them in special_sections if found.  Set
XCOFF_DESCRIPTOR flag for a function descriptor, and set its
descriptor field to point back to the function code symbol.
(xcoff_sweep): Always mark the special descriptor_section.
(bfd_xcoff_export_symbol): Check whether the symbol might be a
function descriptor, and mark it if it is.
(bfd_xcoff_size_dynamic_sections): Add new special_sections
parameter, and fill it in.  Allocate space for the descriptor
section.
(xcoff_build_ldsyms): Set XCOFF_DEF_REGULAR flag when defining
global linkage code.  If an undefined function descriptor is
exported, arrange to define it.  Warn about any other undefined
exported symbol.
(_bfd_xcoff_bfd_final_link): Write out the descriptor section.
(xcoff_write_global_symbol): Create a function descriptor when
necessary.
* bfd-in.h (bfd_xcoff_size_dynamic_sections): Update declaration.
* bfd-in2.h: Rebuild.

29 years agoBuild derived hash table for PowerPC PE
Kim Knuttila [Thu, 9 Nov 1995 14:08:28 +0000 (14:08 +0000)]
Build derived hash table for PowerPC PE

29 years agofix "make dep" for non-NetBSD systems
Ken Raeburn [Thu, 9 Nov 1995 09:19:13 +0000 (09:19 +0000)]
fix "make dep" for non-NetBSD systems

29 years ago* configure.in: Added new option --with[out]-mmap. Set USE_MMAP if it is given
Ken Raeburn [Thu, 9 Nov 1995 09:14:01 +0000 (09:14 +0000)]
* configure.in: Added new option --with[out]-mmap.  Set USE_MMAP if it is given
and mmep is available.
* acconfig.h: Undef USE_MMAP.
* configure, config.in: Regenerated.
* aoutx.h: If USE_MMAP is not defined, do all symbol and string table handling
the old way.
(aout_get_external_symbols): Don't complain if last byte of string table is
nonzero.
* libbfd.c [HAVE_MADVISE]: Include sys/types.h and sys/mman.h.
(bfd_free_window) [! USE_MMAP]: Don't define.
(bfd_get_file_window, _bfd_generic_get_section_contents_in_window)
 [! USE_MMAP]: Abort.

29 years ago * mpw-make.sed: Edit @ENABLE_CFLAGS@ out, mpw-configure can
Stan Shebs [Thu, 9 Nov 1995 03:31:21 +0000 (03:31 +0000)]
* mpw-make.sed: Edit @ENABLE_CFLAGS@ out, mpw-configure can
add back in if necessary.

29 years agoGeneral cleanup; add -t options support to print all options
Michael Meissner [Thu, 9 Nov 1995 02:35:15 +0000 (02:35 +0000)]
General cleanup; add -t options support to print all options

29 years ago * coff-a29k.c (a29k_reloc): Change handling of R_IREL reloc to be
Ian Lance Taylor [Thu, 9 Nov 1995 02:30:33 +0000 (02:30 +0000)]
* coff-a29k.c (a29k_reloc): Change handling of R_IREL reloc to be
compatible with AMD generated COFF files.  Try to support both AMD
and GNU formats simultaneously.
(coff_a29k_relocate_section): Likewise.

29 years ago * config/obj-coff.c (fixup_segment): Don't subtract md_pcrel_from
Ian Lance Taylor [Thu, 9 Nov 1995 02:28:57 +0000 (02:28 +0000)]
* config/obj-coff.c (fixup_segment): Don't subtract md_pcrel_from
from a PC relative reloc if TC_A29K.

29 years ago * config/tc-a29k.c (line_separator_chars): Restore '@'. Existing
Ian Lance Taylor [Thu, 9 Nov 1995 02:26:59 +0000 (02:26 +0000)]
* config/tc-a29k.c (line_separator_chars): Restore '@'.  Existing
code depends upon it.

29 years ago * a29k-dis.c (print_special): Change num to unsigned int.
Ian Lance Taylor [Thu, 9 Nov 1995 01:20:32 +0000 (01:20 +0000)]
* a29k-dis.c (print_special): Change num to unsigned int.

Wed Nov  8 20:10:35 1995  Eric Freudenthal <freudenthal@nyu.edu>

* a29k-dis.c (print_insn): Cast insn24 to unsigned long when
shifting it.

29 years agoWed Nov 8 20:03:44 1995 Eric Freudenthal <freudenthal@nyu.edu>
Ian Lance Taylor [Thu, 9 Nov 1995 01:04:56 +0000 (01:04 +0000)]
Wed Nov  8 20:03:44 1995  Eric Freudenthal <freudenthal@nyu.edu>

* coff-a29k.c (SIGN_EXTEND_HWORD): Use ~0xffff rather than
0xffff0000.

29 years ago * config/tc-a29k.c (md_operand): Handle $float, $double, and
Ian Lance Taylor [Thu, 9 Nov 1995 01:01:44 +0000 (01:01 +0000)]
* config/tc-a29k.c (md_operand): Handle $float, $double, and
$extend.  Based on code from Eric Freudenthal
<freudenthal@nyu.edu>.
* config/tc-a29k.h (LEX_DOLLAR): Define.
* read.c (LEX_DOLLAR): Define if not defined.
(lex_type): Use LEX_DOLLAR.

29 years agoget the printf cast right
Ian Lance Taylor [Wed, 8 Nov 1995 22:04:00 +0000 (22:04 +0000)]
get the printf cast right

29 years agoWed Nov 8 16:38:14 1995 Eric Freudenthal <freudenthal@nyu.edu>
Ian Lance Taylor [Wed, 8 Nov 1995 21:39:38 +0000 (21:39 +0000)]
Wed Nov  8 16:38:14 1995  Eric Freudenthal <freudenthal@nyu.edu>

* configure.in (a29k-nyu-sym1): New target, just like other a29k
targets.

29 years ago * libbfd.c (bfd_get_file_window): Change writable parameter from
Ian Lance Taylor [Wed, 8 Nov 1995 21:24:33 +0000 (21:24 +0000)]
* libbfd.c (bfd_get_file_window): Change writable parameter from
int to boolean; update all callers.  Pass MAP_SHARED if not
writable--it's required on Solaris.  Cast fprintf argument to
avoid warning.
* bfd-in.h (bfd_get_file_window): Update declaration.
* bfd-in2.h: Rebuild.
* aoutx.h: Update calls to bfd_get_file_window.

29 years ago * xcofflink.c (xcoff_find_reloc): Handle the case of a single
Ian Lance Taylor [Wed, 8 Nov 1995 19:26:19 +0000 (19:26 +0000)]
* xcofflink.c (xcoff_find_reloc): Handle the case of a single
reloc correctly.

29 years agomore XCOFF linker hackery
Ian Lance Taylor [Wed, 8 Nov 1995 19:08:18 +0000 (19:08 +0000)]
more XCOFF linker hackery

29 years agofirst stage in function unit support; add new switches & latest code from andrew
Michael Meissner [Wed, 8 Nov 1995 18:57:06 +0000 (18:57 +0000)]
first stage in function unit support; add new switches & latest code from andrew

29 years ago * xcofflink.c (XCOFF_DEF_DYNAMIC): Rename from XCOFF_REF_DYNAMIC.
Ian Lance Taylor [Wed, 8 Nov 1995 18:17:44 +0000 (18:17 +0000)]
* xcofflink.c (XCOFF_DEF_DYNAMIC): Rename from XCOFF_REF_DYNAMIC.
Change all uses.
(xcoff_swap_ldhdr_in): New static function.
(xcoff_swap_ldsym_in): New static function.
(xcoff_link_add_symbols): If we just created a descriptor, pass it
to _bfd_generic_link_add_one_symbol, to save a hash lookup.
(xcoff_link_add_dynamic_symbols): Rewrite to read .loader symbols
rather than normal symbol table.
(xcoff_mark): When considering called symbols, check whether the
descriptor is from a dynamic object, rather than the symbol
itself.
(xcoff_build_ldsyms): Likewise.

29 years ago * ldemul.c (ldemul_default_target): Cast getenv return value.
Ian Lance Taylor [Wed, 8 Nov 1995 16:41:39 +0000 (16:41 +0000)]
* ldemul.c (ldemul_default_target): Cast getenv return value.

29 years ago * gprof.c (main): Cast getenv return value.
Ian Lance Taylor [Wed, 8 Nov 1995 16:40:24 +0000 (16:40 +0000)]
* gprof.c (main): Cast getenv return value.

29 years ago * config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.
Ian Lance Taylor [Wed, 8 Nov 1995 16:39:28 +0000 (16:39 +0000)]
* config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.

29 years ago * arsup.c (ar_open): Cast malloc return value.
Ian Lance Taylor [Wed, 8 Nov 1995 16:34:56 +0000 (16:34 +0000)]
* arsup.c (ar_open): Cast malloc return value.

29 years ago * libbfd.c (bfd_get_file_window): Change return type to boolean.
Ian Lance Taylor [Wed, 8 Nov 1995 16:32:40 +0000 (16:32 +0000)]
* libbfd.c (bfd_get_file_window): Change return type to boolean.
Cast realloc and malloc return values.  If malloc or realloc fail,
set bfd_error_no_memory.
* bfd-in.h (bfd_get_file_window): Change type to boolean.
* bfd-in2.h: Rebuild.

29 years ago* config/mips/vr4300.mt: Added simulator to default VR4300 build.
Jackie Smith Cashion [Wed, 8 Nov 1995 16:04:23 +0000 (16:04 +0000)]
* config/mips/vr4300.mt: Added simulator to default VR4300 build.

NOTE: Only the BigEndian build has the simulator included, because a
LittleEndian simulator is not constructed at the moment (it should
work, but has not been tested fully).

29 years ago* configure.in (mips*-*-*): Added "mips" simulator target.
Jackie Smith Cashion [Wed, 8 Nov 1995 15:48:59 +0000 (15:48 +0000)]
* configure.in (mips*-*-*): Added "mips" simulator target.
* configure: Re-generated.

29 years agoInitial check-in of the MIPS simulator. Work still needs to be done on
Jackie Smith Cashion [Wed, 8 Nov 1995 15:44:38 +0000 (15:44 +0000)]
Initial check-in of the MIPS simulator. Work still needs to be done on
the run-time support code (interp.c) to provide better tracing, and
also to add profiling and architecture specific support. At the moment
the simulator has a fixed size, fixed address memory area, and
simulates a subset of the IDT monitor calls (enough to execute test
programs).

The other major feature (could even be a bug) is that the simulator
makes use of the GCC "long long" extension. Work has been started to
make this a build configuration option... but there is still a lot of
this to be done.

29 years ago * remote-mips.c (mips_initialize): Fix brain damage found by
Stu Grossman [Wed, 8 Nov 1995 00:33:16 +0000 (00:33 +0000)]
* remote-mips.c (mips_initialize):  Fix brain damage found by
Jamie.  Basically had case statement in the wrong place...
* (mips_load):  Remove unnecessary `db tty0' command.  It's all
handled by mips_initialize now.

29 years ago * remote-mips.c (mips_initialize): Fix brain damage found by
Stu Grossman [Wed, 8 Nov 1995 00:06:58 +0000 (00:06 +0000)]
* remote-mips.c (mips_initialize):  Fix brain damage found by
Jamie.  Basically had case statement in the wrong place...

29 years ago * mpw-mh-mpw (CC_MWC68K, CC_MWCPPC): Remove unused include path.
Stan Shebs [Tue, 7 Nov 1995 23:49:00 +0000 (23:49 +0000)]
* mpw-mh-mpw (CC_MWC68K, CC_MWCPPC): Remove unused include path.
(CC_MWCPPC): Add -mpw_chars, disable warnings, add comments
explaining reasons for various flags.
(EXTRALIBS_PPC, EXTRALIBS_MWCPPC ): Put runtime library first.

29 years ago * configure: Default ${build} correctly. Avoid picking up extra
Ian Lance Taylor [Tue, 7 Nov 1995 23:47:45 +0000 (23:47 +0000)]
* configure: Default ${build} correctly.  Avoid picking up extra
spaces when reading CC and CXX from Makefile.  When doing a
Canadian Cross, use plausible default values for numerous
variables.
* configure.in: When doing a Canadian Cross, don't try to
configure tools whose configure script can't handle it.

29 years agoadded PowerPC PE targetting stuff
Kim Knuttila [Tue, 7 Nov 1995 22:20:00 +0000 (22:20 +0000)]
added PowerPC PE targetting stuff

29 years agoNew PowerPC Portable Executable stuff
Kim Knuttila [Tue, 7 Nov 1995 22:14:23 +0000 (22:14 +0000)]
New PowerPC Portable Executable stuff

29 years ago * ecofflink.c (_bfd_ecoff_locate_line): Keep looking through stabs
Ian Lance Taylor [Tue, 7 Nov 1995 21:43:07 +0000 (21:43 +0000)]
* ecofflink.c (_bfd_ecoff_locate_line): Keep looking through stabs
entries until both the line number address and the function name
address are too large.
PR 8364.

29 years agoFirst round ld support for PPC PE
Kim Knuttila [Tue, 7 Nov 1995 21:33:33 +0000 (21:33 +0000)]
First round ld support for PPC PE

29 years agoExclude resources from SIOWgdb.
Raymond Jou [Tue, 7 Nov 1995 21:13:49 +0000 (21:13 +0000)]
Exclude resources from SIOWgdb.

29 years agoSmall PPC support changes
Kim Knuttila [Tue, 7 Nov 1995 20:47:48 +0000 (20:47 +0000)]
Small PPC support changes

29 years agoNT Changes
Kim Knuttila [Tue, 7 Nov 1995 20:33:42 +0000 (20:33 +0000)]
NT Changes

29 years ago * configure.in: Call AC_CHECK_PROG to find and cache AR.
Ian Lance Taylor [Tue, 7 Nov 1995 20:21:37 +0000 (20:21 +0000)]
* configure.in: Call AC_CHECK_PROG to find and cache AR.
* configure: Rebuilt.

29 years agoAdded some NT defines
Kim Knuttila [Tue, 7 Nov 1995 20:00:23 +0000 (20:00 +0000)]
Added some NT defines

29 years ago * configure.in: Don't treat rs6000-*-lynx* specially.
Ian Lance Taylor [Tue, 7 Nov 1995 19:04:29 +0000 (19:04 +0000)]
* configure.in: Don't treat rs6000-*-lynx* specially.
* configure: Rebuild.
* config/rslynx: Remove.
* Makefile.in: Remove @target_makefile_fragment@.

29 years ago * aclocal.m4 (BFD_CC_FOR_BUILD): Don't define CC_FOR_BUILD if it
Ian Lance Taylor [Tue, 7 Nov 1995 18:51:35 +0000 (18:51 +0000)]
* aclocal.m4 (BFD_CC_FOR_BUILD): Don't define CC_FOR_BUILD if it
is defined in the environment.

29 years ago * som.c (som_get_section_contents_in_window): Define to use
Jeff Law [Tue, 7 Nov 1995 17:59:22 +0000 (17:59 +0000)]
    * som.c (som_get_section_contents_in_window): Define to use
        generic version.

29 years ago * ld.texinfo: The linker does not use _main as an entry point.
Ian Lance Taylor [Tue, 7 Nov 1995 16:48:29 +0000 (16:48 +0000)]
* ld.texinfo: The linker does not use _main as an entry point.

29 years agoTue Nov 7 11:46:11 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts...
Ian Lance Taylor [Tue, 7 Nov 1995 16:47:19 +0000 (16:47 +0000)]
Tue Nov  7 11:46:11 1995  Manfred Hollstein KS/EF4A 60/1F/110 #40283  <manfred@lts.sel.alcatel.de>

* scripttempl/m88kbcs.sc (.data): Calculate next boundary modulo
0x2000 not 0x200.

29 years ago* remote-mips.c (mips_initialize): Updated to talk to VR4300 RISQ
Jackie Smith Cashion [Tue, 7 Nov 1995 15:05:04 +0000 (15:05 +0000)]
* remote-mips.c (mips_initialize): Updated to talk to VR4300 RISQ
monitor board.

The mips_initialize() code seemed to have a "funny" switch
statement. I also removed an unnecessary switch into debug monitor
mode just before the call to mips_initialize() in mips_load().

29 years agoPatch for old Sega PR
Jim Wilson [Tue, 7 Nov 1995 04:05:40 +0000 (04:05 +0000)]
Patch for old Sega PR
* cfg-ml-com.in (sh-*-*): Add m2 and ml/m2 to multidirs.

29 years agoRemove references to config.make/config.hdr
Michael Meissner [Tue, 7 Nov 1995 02:58:35 +0000 (02:58 +0000)]
Remove references to config.make/config.hdr

29 years ago * config/tc-alpha.c: Undefine inline if not __GNUC__.
Ian Lance Taylor [Mon, 6 Nov 1995 23:52:27 +0000 (23:52 +0000)]
* config/tc-alpha.c: Undefine inline if not __GNUC__.
(md_pseudo_table): Don't define "extern".

29 years agoMon Nov 6 17:13:15 1995 Harry Dolan <dolan@ssd.intel.com>
Ian Lance Taylor [Mon, 6 Nov 1995 23:04:44 +0000 (23:04 +0000)]
Mon Nov  6 17:13:15 1995  Harry Dolan  <dolan@ssd.intel.com>

* coff-i860.c: New file, based on coff-i386.c.
* cpu-i860.c: New file, based on cpu-i386.c.
* hosts/i860mach3.h: New file, based on hosts/i386mach3.h.
* config.bfd (i860-*-mach3*, i860-*-osf1*, i860-*-coff*): New
targets, using i860coff_vec.
* configure.in (i860-*-mach3*, i860-*-osf1*): New hosts, using
trad-core.o and hosts/i860mach3.h.
(i860coff_vec): Use coff-i860.o and cofflink.o.
* configure: Rebuild.
* Makefile.in: Rebuild dependencies.
(ALL_MACHINES): Add cpu-i860.o.
(BFD32_BACKENDS): Add coff-i860.o.
(CFILES): Add cpu-i860.c and coff-i860.c.
* targets.c (i860coff_vec): Declare.
(bfd_target_vector): Add &i860coff_vec.
* archures.c (bfd_i860_arch): Declare.
(bfd_archures_list): Add &bfd_i860_arch.
* coffcode.h (coff_set_arch_mach_hook): Handle I860 magic number.
(coff_set_flags): Handle bfd_arch_i860.
(coff_write_object_contents): Handle I860 a.out magic number.

29 years agoMon Nov 6 17:39:47 1995 Harry Dolan <dolan@ssd.intel.com>
Ian Lance Taylor [Mon, 6 Nov 1995 22:42:13 +0000 (22:42 +0000)]
Mon Nov  6 17:39:47 1995  Harry Dolan  <dolan@ssd.intel.com>

* configure.in: Add case for bfd_i860_arch.
* configure: Rebuild.

29 years agoMon Nov 6 17:28:01 1995 Harry Dolan <dolan@ssd.intel.com>
Ian Lance Taylor [Mon, 6 Nov 1995 22:29:06 +0000 (22:29 +0000)]
Mon Nov  6 17:28:01 1995  Harry Dolan  <dolan@ssd.intel.com>

* i860.h: New file, based on i386.h.

29 years ago * configure.in: Add test for whether free must be declared.
Ian Lance Taylor [Mon, 6 Nov 1995 20:59:44 +0000 (20:59 +0000)]
* configure.in: Add test for whether free must be declared.
* sysdep.h: Declare free if necessary.  Include "ansidecl.h".
* acconfig.h: Explain NEED_DECLARATION_FREE.
* configure, config.in: Rebuild.

29 years ago * ld-empic/empic.exp: Accept a . in the address symbol.
Ian Lance Taylor [Mon, 6 Nov 1995 20:24:57 +0000 (20:24 +0000)]
* ld-empic/empic.exp: Accept a . in the address symbol.

29 years agoadd tags target
Ken Raeburn [Mon, 6 Nov 1995 20:12:26 +0000 (20:12 +0000)]
add tags target

29 years ago * bucomm.h: Include <sys/types.h>.
Ian Lance Taylor [Mon, 6 Nov 1995 20:03:01 +0000 (20:03 +0000)]
* bucomm.h: Include <sys/types.h>.
* ar.c: Don't include <sys/types.h> or <stdio.h>.
* bucomm.c, dlltool.c, nlmconv.c, objcopy.c, objdump.c: Likewise.

29 years ago * ld-shared/shared.exp: Run tests on rs6000*-*-aix* and
Ian Lance Taylor [Mon, 6 Nov 1995 19:44:43 +0000 (19:44 +0000)]
* ld-shared/shared.exp: Run tests on rs6000*-*-aix* and
powerpc*-*-aix*.  Add code to create appropriate exports files,
and pass appropriate compilation flags, and test against
appropriate expected output.
* ld-shared/xcoff.dat: New file.
* ld-shared/main.c: Put #ifndef XCOFF_TEST around tests that can
not be linked using XCOFF.  Use shlib_shlibvar1 as a sample
function pointer, rather than shlib_mainvar.
* ld-shared/sh1.c: Likewise.
* ld-shared/shared.dat: Update for change from using shlib_mainvar
to using shlib_shlibvar1.
* ld-shared/sun4.dat: Likewise.

29 years ago * xcofflink.c (xcoff_link_add_symbols): Set the alignment power of
Ian Lance Taylor [Mon, 6 Nov 1995 19:36:29 +0000 (19:36 +0000)]
* xcofflink.c (xcoff_link_add_symbols): Set the alignment power of
the created .tc section to 2.
(xcoff_mark): Don't keep a .loader reloc for a call to an
undefined symbol when creating a shared library.
(xcoff_build_ldsyms): When creating a shared library, generate
global linkage code for a call to an undefined symbol.

29 years ago * lexsup.c (parse_args): Take B:: out of shortopts.
Ian Lance Taylor [Mon, 6 Nov 1995 16:00:00 +0000 (16:00 +0000)]
* lexsup.c (parse_args): Take B:: out of shortopts.

29 years agodelete unused files
Michael Meissner [Mon, 6 Nov 1995 15:40:26 +0000 (15:40 +0000)]
delete unused files

29 years agoSmall changes from Andrew
Michael Meissner [Mon, 6 Nov 1995 15:37:43 +0000 (15:37 +0000)]
Small changes from Andrew

29 years ago*** empty log message ***
Jackie Smith Cashion [Mon, 6 Nov 1995 12:02:33 +0000 (12:02 +0000)]
*** empty log message ***

29 years agoChange TARGET_MONITOR_PROMPT into real strings.
Jackie Smith Cashion [Mon, 6 Nov 1995 11:53:53 +0000 (11:53 +0000)]
Change TARGET_MONITOR_PROMPT into real strings.

29 years ago*** empty log message ***
Jackie Smith Cashion [Mon, 6 Nov 1995 11:49:44 +0000 (11:49 +0000)]
*** empty log message ***

29 years agoMoved the "sim_open" call to after the callback initialisation. This
Jackie Smith Cashion [Mon, 6 Nov 1995 11:43:04 +0000 (11:43 +0000)]
Moved the "sim_open" call to after the callback initialisation. This
is to allow the simulator initialisation code to make use of the host
callback facilities. Had discussed this with sac, and it should be a
harmless change since none of the other simulators really make use of
the call, and it does not return a result.

29 years agoChanges for mmap; details in change log.
Ken Raeburn [Mon, 6 Nov 1995 10:08:03 +0000 (10:08 +0000)]
Changes for mmap; details in change log.

Added some new interfaces, and a new entry in the target vector.  Under the new
interfaces, mmap will be used if available, otherwise malloc/seek/read, as
before.  Old interfaces all still intact.

Most configurations (including all used by "--enable-targets=all") simply
changed to call the default routine for that entry in the target vector.  I
might've missed some targets only included in special configurations.

Support for a.out symbol and string table reading now goes through new
interfaces, and will use mmap when available.

Linker hooks (e.g., avoiding reallocation under malloc) not ready yet.

29 years agoreal log for ecoff change - cast _bfd_read_ar_hdr return value
Ken Raeburn [Mon, 6 Nov 1995 02:54:36 +0000 (02:54 +0000)]
real log for ecoff change - cast _bfd_read_ar_hdr return value

29 years agoreal makefile change - CFILES, dependencies
Ken Raeburn [Mon, 6 Nov 1995 02:52:57 +0000 (02:52 +0000)]
real makefile change - CFILES, dependencies

29 years ago* Makefile.in (CFILES): Rebuild list from BFD_LIBS, ALL_MACHINES,
Ken Raeburn [Mon, 6 Nov 1995 02:51:26 +0000 (02:51 +0000)]
* Makefile.in (CFILES): Rebuild list from BFD_LIBS, ALL_MACHINES,
BFD32_BACKENDS, BFD64_BACKENDS.
(.dep1): Put mkdep output in a separate file.
Rebuilt dependencies.

29 years agosome i386-netbsd cleanup
Ken Raeburn [Sun, 5 Nov 1995 10:14:28 +0000 (10:14 +0000)]
some i386-netbsd cleanup

29 years ago * configure.in: AC_CHECK_HEADERS, not AC_CHECK_HEADER.
Jason Molenda [Sun, 5 Nov 1995 08:28:20 +0000 (08:28 +0000)]
    * configure.in: AC_CHECK_HEADERS, not AC_CHECK_HEADER.

Sigh.  It's one of those days.

29 years ago * configure.in: add check for stddef.h
Jason Molenda [Sun, 5 Nov 1995 08:15:15 +0000 (08:15 +0000)]
    * configure.in: add check for stddef.h
        * mmalloc.h: include stddef.h if HAVE_STDDEF_H is defined.

29 years ago * configure: Remove dubious bug reporting address.
Per Bothner [Sun, 5 Nov 1995 08:14:38 +0000 (08:14 +0000)]
* configure:  Remove dubious bug reporting address.

29 years ago * configure.in (AC_CHECK_HEADERS): add stddef.h.
Jason Molenda [Sun, 5 Nov 1995 08:13:39 +0000 (08:13 +0000)]
    * configure.in (AC_CHECK_HEADERS): add stddef.h.

29 years agoFix typo in ChangeLog itself.
Fred Fish [Sun, 5 Nov 1995 05:59:49 +0000 (05:59 +0000)]
Fix typo in ChangeLog itself.

29 years ago * core.c: Rename to corefile.c
Fred Fish [Sun, 5 Nov 1995 05:40:15 +0000 (05:40 +0000)]
* core.c:  Rename to corefile.c
* core.h:  Rename to corefile.h
* inline.c: Include corefile.h, renamed from core.h.
* cpu.h: Include corefile.h, renamed from core.h
* vm.c: Include corefile.h, renamed from core.h
* Makefile.in (CPU_H): Change core.h to corefile.h
(vm.o):  Change dependency to corefile.h
(LIB_SRC): Change core.c to corefile.c.
(LIB_OBJ): Change core.o to corefile.o.
(corefile.o):  Change dependencies to corefile.c, corefile.h.
* corefile.c: Include corefile.h rather than core.h
* README.psim (KNOWN PROBLEMS): Change core.* references to corefile.*
references.

29 years ago * config/tc-ppc.c (ppc_biei): Force symbol into text_section.
Ian Lance Taylor [Sun, 5 Nov 1995 04:54:52 +0000 (04:54 +0000)]
* config/tc-ppc.c (ppc_biei): Force symbol into text_section.