mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
8e3d11580a
* 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).
31 lines
604 B
C
31 lines
604 B
C
#include <errno.h>
|
|
#include <sys/types.h>
|
|
#include <sys/dg_c_generics.h>
|
|
#include <unistd.h>
|
|
|
|
#include <string.h>
|
|
#include <fcntl.h>
|
|
#include <sys/stat.h>
|
|
#include <time.h>
|
|
#include <ctype.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#define HOST_BIG_ENDIAN_P
|
|
|
|
#ifndef DONTDECLARE_MALLOC
|
|
extern PTR EXFUN(malloc,(unsigned));
|
|
extern PTR EXFUN(realloc, (PTR, unsigned));
|
|
#endif
|
|
extern int EXFUN(abort,(void));
|
|
extern int EXFUN(free,(PTR));
|
|
extern void EXFUN(bcopy,(char*,char*,int));
|
|
extern void EXFUN(exit,(int));
|
|
extern void EXFUN(bzero,(char *, int));
|
|
extern int strtol();
|
|
#define NO_STDARG 1
|
|
|
|
|
|
|
|
#include "fopen-same.h"
|