Commit graph

22 commits

Author SHA1 Message Date
Jim Kingdon
69bdf1a5da * archive.c: Define offsetof here.
* hosts/*.h: Don't define it here.
1993-09-27 23:27:46 +00:00
John Gilmore
c5652bffcb Make sure that "offsetof" is defined on all hosts, now that archive.c uses it. 1993-09-17 09:08:00 +00:00
John Gilmore
e49d537916 * elf32-hppa.h, hosts/*: Remove (one more time) all occurrances
of EXFUN in the BFD sources.  Heave ho!
1993-08-03 06:36:30 +00:00
Steve Chamberlain
f751f474f4 d
Make sure ansidecl.h is included where needed.
1993-07-30 18:17:38 +00:00
John Gilmore
933ae8d4fd Eliminate "int8_type", "int16_type", "int32_type", and their
variants from the BFD universe.  Leave the 64-bit types for now,
since they are in flux.

* hosts/*.h:  Remove declarations of all these types.
1993-06-18 10:29:14 +00:00
Jim Kingdon
3f06498af4 changes for SVR3.2 1993-04-19 18:34:55 +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
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
Ian Lance Taylor
e41a1546e1 Back out the HOST_BIG_ENDIAN_P changes I put in yesterday. 1992-08-28 22:54:13 +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
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
Steve Chamberlain
302c8ab121 Fixed the whitespace 1992-03-13 15:57:41 +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
John Gilmore
a5431adc97 * hosts/h-*.h: Configure fopen using ../include/fopen-*.h
rather than N copies of the same lines.
1991-12-13 05:03:17 +00:00
Steve Chamberlain
33b6c26253 Added macros for the 'type' part of an fopen, freopen or fdopen.
<Read|Write>[Update]<Binary file>|<text file>
eg:
fopen("foo", FOPEN_WB) to open for writing binary. Usefull for vms,
dos and who knows what else.
1991-12-12 01:21:40 +00:00
John Gilmore
b271fff21f * hosts/h-tahoe.h: Add FASCIST_FDOPEN and NO_CORE_COMMAND; revamp HOST_*, etc.
* hosts/h-i386v.h:  Use <utime.h>, not <sys/utime.h>, unlike POSIX.
1991-10-17 06:04:35 +00:00
John Gilmore
06d0bdef53 * hosts/h-amix.h, h-i386v.h: Define POSIX_UTIME, not USG.
* hosts/h-hp9000.h:  Remove USG comment.
* hosts/h-rs6000.h:  Include <stdlib.h> for malloc.
* hosts/h-news.h, h-sparc-64.h:  New config files that had
previously been kludged in the <sysdep.h> file.
1991-10-11 10:41:22 +00:00
John Gilmore
8215bbacd0 Undo precipitous changes. 1991-09-20 03:44:17 +00:00
Steve Chamberlain
f3d70fe521 Stuff for new machiens 1991-09-19 21:05:02 +00:00
Steve Chamberlain
67099990bc Fixed to compile on kithrup 1991-05-25 01:52:23 +00:00
Steve Chamberlain
660f21b7de Initial revision 1991-04-15 15:29:40 +00:00