Commit Graph

140 Commits

Author SHA1 Message Date
Ken Raeburn 8bd4e54bc3 protect against multiple inclusions 1993-06-15 18:36:11 +00:00
Jim Kingdon 6d792f42f3 * hosts/std-host.h (struct int64e_struct): Remove needless typedef
keyword.
1993-06-12 23:15:20 +00:00
David Edelsohn 06d408d2c1 (int64e_type): Fix definition. 1993-06-11 03:38:16 +00:00
Steve Chamberlain d7276c0ab4 Add ansidecl.h 1993-06-10 20:31:17 +00:00
Steve Chamberlain 0cd22b6a8d include right headers 1993-06-04 22:55:00 +00:00
Stu Grossman 7dec8bcb2a Per bashed me on the head. I am now right thinking once again! 1993-06-04 20:35:13 +00:00
Stu Grossman 6c9936f7cd * Sony News config stuff from Jyrki Kuoppala <jkp@cs.hut.fi>.
* hosts/news.h, config/news.mh:  New configs for Sony News hosts.
1993-06-04 20:19:54 +00:00
Ken Raeburn 8f46088168 eliminate most prototypes so ansidecl.h isn't needed before this file (incomplete) 1993-06-03 20:58:50 +00:00
Ken Raeburn 4732cd70bc eliminate use of obsolete EXFUN 1993-06-02 21:57:33 +00:00
K. Richard Pixley 87756e15db added things-to-lose sections 1993-05-27 06:44:29 +00:00
Ken Raeburn 71f73518ed keep miniframe.h 1993-05-14 10:18:18 +00:00
Ken Raeburn 024b9649f6 add ct miniframe host support 1993-05-14 09:39:38 +00:00
Stu Grossman d325e28cfd * The following patches are from Jeffrey Law <law@cs.utah.edu>.
* hppa.c (hppa_core_file_p): Provide a temporary dummy routine
	for HOST_HPPABSD.
	* bfd/hosts/hppabsd.h: Fix declarations of malloc and free.
	* bfd/libhppa.h: Include sysdep here.  Conditionalize
	includes based on HOST_HPPAHPUX or HOST_HPPABSD.
	Provide definitions for MAXCOMLEN and _PA_RISC_ID suitable
	for BSD.
1993-05-01 00:57:03 +00:00
Steve Chamberlain 5f8f6d56f2 Support for the alpha 1993-04-24 02:10:09 +00:00
Stu Grossman 9a5e3a9ac5 * Merge in HPPA/BSD changes from Utah.
* hppa.c:  Use this for both HPUX & BSD.
	* targets.c:  Enable hppa_vec for both HPUX & BSD.
	* config/hppabsd.mt:  TDEFINES => TDEFAULTS.
	* hosts/hppabsd.h:  #define HOST_HPPABSD.
1993-04-24 00:00:41 +00:00
Stu Grossman 8171711b53 * bfd.c: Add sgi_core_data to tdata union.
* coff-mips.c:  Add Irix 4.x core file support.
	* hosts/irix4.h:  #define HOST_IRIX4.
1993-04-20 06:11:51 +00:00
Jim Kingdon 3f06498af4 changes for SVR3.2 1993-04-19 18:34:55 +00:00
Ian Lance Taylor 36c0a1ec22 * config/sun3.h: String argument to fprintf is const. 1993-04-09 18:50:36 +00:00
Ken Raeburn 550fb7afd3 turn on file-position optimizations again 1993-03-24 08:01:07 +00:00
Ken Raeburn a33a2b65c5 disable position-caching code for now 1993-03-24 05:10:05 +00:00
Ken Raeburn 0d552306f8 libbfd.c: Maintain `where' field of BFD with current position while BFD is
in use.  If FILE_OFFSET_IS_CHAR_INDEX, assume arithmetic can be done on it,
and ignore SEEK_SET requests that move to the current position.

hosts/sparc.h: Define FILE_OFFSET_IS_CHAR_INDEX.
1993-03-23 13:54:41 +00:00
David D. Zuhn b3df94565a don't define POSIX_UTIME for go32, makes ar & ranlib happy again 1993-03-12 03:32:47 +00:00
Fred Fish b84d84d7a6 (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
* configure.host (vax-*-ultrix2*):  Add triplet.
	* hosts/vaxult2.h:  New file.
	* config/vaxult2.mh:  New file.
1993-03-03 05:56:52 +00:00
John Gilmore 4bdbc8d68d Keep mipsbsd.h. 1993-02-03 07:42:00 +00:00
John Gilmore 3480cc3eb4 Remove "done in pwd" msg. 1993-02-03 07:41:32 +00:00
Ken Raeburn 00ee2c249f changes from Ralph Campbell @ Pyramid for MIPS a.out (BSD 4.4) support 1993-02-01 21:35:16 +00:00
John Gilmore 536c2ad4be Fix minor bugs reported by Carl Greco, <cgreco@parrot.creighton.edu>:
* hosts/delta88.h (strtol):  Fix prototype.
* config/m88k-coff.mh (SELECT_ARCHITECTURES):  Fix name.
1993-01-29 05:04:45 +00:00
Per Bothner cc9a3bd637 * hosts/std-host.h: New file. Attempt at a generic/default
set of definitions, to discourage porting to new hosts by copying.
	* hosts/news.h:  Removed.
	* hosts/sparc.h:  Use std-host.h.
1992-12-22 23:37:36 +00:00
Stu Grossman d9a30dc6c5 * hppa.c: Conditionalize on HOST_HPPAHPUX instead of hp9000s800.
Get rid of HPPA/BSD specific code.  That will go somewhere else
	someday.
	* (fill_spaces):  Don't spin forever and die if you don't find
	$MILLICODE$ subspace.
	* (hppa_object_p):  Make sure that we have a real honest-to-cthulu
	exec file!
	* (hppa_core_file_failing_signal, hppa_core_file_failing_command):
	Make these work for HPUX.
	* (make_bfd_asection):  New routine to make section creation a
	little easier.
	* (hppa_core_file_p):  Completely rewrite, leave out bugs.
	* libhppa.h:  #include the right system files.  Redefine all of
	the structs/macros for hacking core files to use more sensible
	HPUX core file structures.
	* targets.c (target_vector):  Conditionalize hppa_vec on
	HOST_HPPAHPUX, not hp9000s800.
	* hosts/hppahpux.h:  #include stdlib.h to get correct decls for
	malloc and realloc.  #define HOST_HPPAHPUX.
1992-12-22 01:53:33 +00:00
Ian Lance Taylor 60ac749cab Mon Dec 21 12:40:10 1992 Ian Lance Taylor (ian@cygnus.com)
* Patches from Minh Tran-le <mtranle@paris.intellicorp.com>.
	* configure.in (i386-*-isc*, i386-*-aix*): New targets.
	* configure.host (i386-*-isc*, i386-*-aix*): New hosts.
	* hosts/i386isc.h, config/i386isc.mh: New files for Interactive
	Unix.
	* hosts/i386aix.h, config/i386aix.mh: New files for AIX on PS/2.
	* aix386-core.c: New file for handling core files on AIX on PS/2.
	* targets.c: if AIX386_CORE, use aix386_core_vec.
	* coffcode.h (coff_real_object_p): check for I386SVMAGIC as well
	as I386MAGIC.
1992-12-21 21:17:54 +00:00
Stu Grossman 764c960db4 * hppahpux.h: Add defs for malloc() & realloc(). 1992-12-15 01:14:14 +00:00
K. Richard Pixley 43bbd567f2 recording file death 1992-12-08 04:59:31 +00:00
Ian Lance Taylor 3fd7451e39 I'm eliminating the use of USG from binutils/ar.c, and nothing else in
binutils, bfd or opcodes uses it.

Mon Nov  2 12:36:14 1992  Ian Lance Taylor  (ian@cygnus.com)

	* config/delta88.mh, config/hp300.mh, config/hppahpux.mh,
	config/i386v.mh: removed -DUSG from HDEFINES.
	hosts/delta88.h, hosts/hp300.h, hosts/hppahpux.h, hosts/i386v.h:
	defined USE_UTIME.
	hosts/i386v.h: don't define POSIX_UTIME.
1992-11-02 20:41:14 +00:00
Ian Lance Taylor b26059aa44 Fri Oct 23 08:15:56 1992 Ian Lance Taylor (ian@cygnus.com)
* changes to support i386-sysv with shared libraries:
	* coffcode.h (sec_to_styp_flags): if TWO_DATA_SECS is defined,
	check for .data2; if _LIB is defined, check for it; map
	SEC_NEVER_LOAD to STYP_NOLOAD.
	(styp_to_sec_flags): map STYP_NOLOAD to SEC_NEVER_LOAD.
	(make_a_section_from_file): if TWO_DATA_SECS, accept .data2.
	(coff_write_object_contents): force vaddr of .lib to 0; set scnptr
	if section has contents, not just if it is loadable; if
	TWO_DATA_SECS, check for .data2
	(coff_set_section_contents): set vma of .lib section to number of
	.lib sections.
	* coff-i386.c: define TWO_DATA_SECS; use a special CALC_ADDEND;
	don't define coff_write_armap to bsd_write_armap.
	* hosts/i386v.h: don't include <utime.h>, since it is not provided
	by SVR3.2.
1992-10-23 15:28:15 +00:00
Stu Grossman 79d47bd097 * solaris2.h: Get the definition of alloca from alloca.h if we
aren't using gcc.
1992-10-23 08:47:28 +00:00
Per Bothner 1067cb773a * apollo68.h, apollov68.h, hp300.h, i386v.h, irix3.h: Remove
no-longer-used definitions of L_SET and L_INCR.
	* i386linux.h:  Tweaks to smooth Linux build.
1992-10-15 22:15:14 +00:00
Ken Raeburn 214f8f2392 * aout-target.h (callback): Don't define this function if it won't be used.
* aoutx.h (some_aout_object_p): Restore old aout_data value if this type
doesn't match.  Don't lose if file sections have already been created.
(set_arch_mach): Set reloc_entry_size.
(slurp_symbol_table): Use bfd_h_get_{16,8} for reaeding symbol data.

* hosts/i386bsd.h: New file.
* configure.in: Recognize i[34]86-*-bsd host.

* aout-target.h (callback, write_object_contents): Delete unused variables.

* aoutx.h (reloc_type_lookup): New function.
* aout-target.h (MY_reloc_howto_type_lookup): Use it as default.
* aoutf1.h (sunos4_reloc_type_lookup): Deleted.
(MY_reloc_howto_type_lookup): Don't define it.

* aoutx.h (adjust_sizes_and_vmas): Don't bother with padding for OMAGIC files.
(slurp_symbol_table): Use header byte order, not target byte order, for reading
symbol data.
1992-10-09 01:39:06 +00:00
David D. Zuhn 6881ebf87d renamed hp9000 to hp300 1992-10-08 01:29:00 +00:00
David D. Zuhn bdd4be4104 renamed hp9000.h to hp300.h 1992-10-02 07:26:50 +00:00
Ian Lance Taylor acc7c4933d Tue Sep 29 08:30:21 1992 Ian Lance Taylor (ian@cygnus.com)
* Portability fixes from p3:
	coffcode.h (coff_write_relocs): removed sanity check until it
	works on all targets (per advice from sac).
	config/hp9000.mh: new file to define USG.
	hppa.c: #undef hppa before the JUMP_TABLE.
	hosts/hppahpux.h: #define NATIVE_HPPAHPUX_COMPILER if not
	__STDC__.
	targets.c (bfd_target_list): if NATIVE_HPPAHPUX_COMPILER, make
	local variable target volatile to avoid mysterious bug in
	HP9000/700 cc.
1992-09-29 15:47:03 +00:00
John Gilmore b85bd0c182 * config/hppabsd.mh, config.hppahpux.mh: Remove various bogosity.
* hosts/hppahpux.h:  Remove bcopy and index circumventions.
1992-09-26 11:00:36 +00:00
Ian Lance Taylor eee9516d02 Patches from WRS:
Mon Sep 21 14:33:58 1992  Ian Lance Taylor  (ian@cygnus.com)

	* hosts/hp9000.h, hosts/irix3.h: changes from WRS.
1992-09-21 22:28:42 +00:00
John Gilmore c00bab93f0 * opncls.c (bfd_fdopenr): Determine whether to fdopen for
update, based on how the underlying file was opened.  Obsoletes
FASCIST_FDOPEN.
* hosts/rs6000.h, hosts/tahoe.h, hosts/vaxbsd.h:  Remove
all FASCIST_FDOPEN config defines.
1992-09-10 20:31:10 +00:00
Ian Lance Taylor e41a1546e1 Back out the HOST_BIG_ENDIAN_P changes I put in yesterday. 1992-08-28 22:54:13 +00:00
Brendan Kehoe c7551f7651 Forgot to list the we32k files in .Sanitize. 1992-08-28 21:01:11 +00:00
Ian Lance Taylor 8e3d11580a Thu Aug 27 17:01:04 1992 Ian Lance Taylor (ian@cygnus.com)
* targets.c, config/i960-bout.mt, hosts/*: added
	HOST_BIG_ENDIAN_DEFAULT_VECTOR and
	HOST_LITTLE_ENDIAN_DEFAULT_VECTOR because bout archive format
	depends on the endianness of the host.  Added #define
	HOST_BIG_ENDIAN_P and #undef HOST_BIG_ENDIAN_P to a number of
	configuration files in hosts/ (it was already in some).
1992-08-28 00:08:13 +00:00
Brendan Kehoe 6697a1a911 Add preliminary support for the we32k (AT&T 3b2). 1992-08-27 22:11:48 +00:00
Sean Eric Fagan 1e09a701a3 Need L_SET defined on the apollo, at least under BSD emulation mode. 1992-08-18 19:49:58 +00:00
Michael Tiemann dd6cc3c938 Add #include <alloca.h> so bfd can be built with native compiler. 1992-07-15 16:06:03 +00:00
Stu Grossman b0e15d3364 Add solaris2.h. 1992-07-14 07:21:29 +00:00