Commit Graph

108 Commits

Author SHA1 Message Date
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
Sean Eric Fagan c5ab244b6c Don't really want <sys/file.h> on a SysV system, and need to make sure
a couple of necessary defines are done.
1992-07-04 21:45:42 +00:00
Stu Grossman ad486d7771 Declare free() for hpux. 1992-06-25 23:11:26 +00:00
John Gilmore c40dbf26ab * hosts/solaris2.h: Configure same as sysv4. 1992-06-25 11:40:36 +00:00
Per Bothner 11be3463ff Add i386linux.h. 1992-06-23 06:20:09 +00:00
Stu Grossman 76b731f9ae HPPA BS 1992-06-20 01:00:46 +00:00
Stu Grossman 3fd76e5866 HPPA merge. 1992-06-19 22:25:45 +00:00
Ken Raeburn 458c48278a * hosts/sparc.h (abort, exit): Hide these names if compiling with
gcc version 2, to avoid warnings.
1992-06-16 12:05:52 +00:00
Per Bothner 2a4e0ef292 Add apollo68.h. 1992-05-26 23:59:37 +00:00
Steve Chamberlain de1478e115 Fix various protos so bfd/binutils compile on sun3 with gcc 1992-05-18 22:46:15 +00:00
K. Richard Pixley bec9b33551 fix declaration of free 1992-05-17 00:58:37 +00:00
Steve Chamberlain f6eaba8395 Add definition of free 1992-05-12 14:55:32 +00:00
Steve Chamberlain cb467682ed Compile with acc 1992-05-08 21:07:40 +00:00
K. Richard Pixley 5a9b659196 fix cc compile failure 1992-05-06 18:11:49 +00:00
Steve Chamberlain e59320117e Fri Apr 17 09:15:31 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* bfd.c, Makefile.in: added tekhex
	* aoutx.h (set_section_contents): pages should be padded to the
	size of a page, not the size of a segment.
	* configure.in: added go32 host and i386-aout target.
	* i386aout.c, libaout.h: now works for go32 target
	* ieee.c: fix bit rot.
	* seclet.c: support for padding seclet type.
1992-04-17 16:22:44 +00:00
Sean Eric Fagan 59ad286d22 New header file for Apollo Series 400 running under BSD4.3 emulation. 1992-04-14 20:25:29 +00:00
Fred Fish ccc76ce9bf New config files for NCR 3000. 1992-04-11 05:31:31 +00:00
John Gilmore 5a3859296d apollo68v.h => apollov68.h (must be for DOS 8.3 names or something) 1992-04-09 07:26:14 +00:00
Stu Grossman 95e19a8afe Add sysv4.h 1992-03-31 04:49:27 +00:00
Stu Grossman a11565c970 Add irix4.h 1992-03-31 04:46:53 +00:00
John Gilmore be78a1301f * config/sparc-elf.mt, hosts/sysv4.h: New config files. 1992-03-29 18:46:10 +00:00
K. Richard Pixley fbad27e8b3 add support for irix4 1992-03-24 23:58:58 +00:00
Steve Chamberlain 302c8ab121 Fixed the whitespace 1992-03-13 15:57:41 +00:00
Steve Chamberlain 3e312eb07f * config/mt-<foo> now <foo>.mt, config/mh-<foo> now <foo>.mh.
host/h-<foo> now just <foo>.
	* configure.in: reflect changes
1992-03-13 15:43:32 +00:00
K. Richard Pixley 335413d8ea include ansidecl.h 1992-03-08 07:11:56 +00:00
Steve Chamberlain 56a56f4c15 Now use EXFUN rather than PROTO, so that things using ansidecl.h and
not bfd.h can use them
1992-03-06 12:14:14 +00:00
Per Bothner 8eb8b9aaa3 * aoutx.h (NAME(aout,print_symbol)): Don't print
symbol addresss for undefined symbols.
	* coff-rs6000.c:  Various updates (due to target-
	independent changes).
	* libbfd.h:  Ditto (tdata field is now a union).
	* hosts/h-sparc.h:  Removed prototype for bogus function
	'emset' (presumably should have been 'memset' - which is there).
1992-02-29 04:44:27 +00:00
Sean Eric Fagan 3aaa5a482f Added h-apollo68v.h as a file to keep. 1992-02-11 00:08:55 +00:00
Sean Eric Fagan 9ba0618dc7 Adding support for hosting on an apollo series 400 (68k processor). 1992-02-10 23:22:24 +00:00
Steve Chamberlain 31bc9fde33 Fixed prototype mismatch reported by MDT 1992-02-07 21:07:18 +00:00
John Gilmore 37fc9d04ee Fix core file stacks. 1992-01-31 09:21:14 +00:00
John Gilmore ab68b260f6 * hosts/h-hp300bsd.h, h-tahoe.h, h-vaxbsd.h, h-vaxult.h:
Specify byte order.
* hosts/h-vaxbsd.h:  Define the form of exec and core files.
1992-01-31 07:59:13 +00:00
Fred Fish 6e549c78ab New host file for stratus. 1992-01-19 00:59:58 +00:00