Commit Graph

25 Commits

Author SHA1 Message Date
Ken Raeburn 8bd4e54bc3 protect against multiple inclusions 1993-06-15 18:36:11 +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
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
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
Michael Tiemann dd6cc3c938 Add #include <alloca.h> so bfd can be built with native compiler. 1992-07-15 16:06:03 +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
Steve Chamberlain cb467682ed Compile with acc 1992-05-08 21:07:40 +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
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
Steve Chamberlain 31bc9fde33 Fixed prototype mismatch reported by MDT 1992-02-07 21:07:18 +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
Steve Chamberlain 147a251ab6 More prototype lint. 1991-12-08 01:05:54 +00:00
Steve Chamberlain 179ca8db66 Changed all prototypes from PROTO to EXFUN 1991-12-01 01:32:27 +00:00
K. Richard Pixley 7f281dcbe4 Correcting a prototype for gcc. 1991-08-06 20:35:15 +00:00
Steve Chamberlain ac677dad95 Patches from David Wood 1991-07-19 15:29:16 +00:00
Steve Chamberlain d25efc25a6 *** empty log message *** 1991-07-16 21:38:39 +00:00
Steve Chamberlain 6f7912b9fb Modified fctnl proto 1991-07-04 17:00:42 +00:00
Steve Chamberlain 19b03b7aa4 *** empty log message *** 1991-05-18 02:57:45 +00:00
John Gilmore f929c7d43b Saber C fixups. 1991-05-04 22:45:02 +00:00
Steve Chamberlain e4a0e98e2b Initial revision 1991-04-03 22:19:10 +00:00