--- gcc/config/xm-hp320.h 2018/04/24 17:51:31 1.1 +++ gcc/config/xm-hp320.h 2018/04/24 18:03:53 1.1.1.4 @@ -1,3 +1,4 @@ +/* USG is needed to prevent trying to use getrusage and getwd. */ #define USG #include "xm-m68k.h" @@ -5,9 +6,14 @@ #define bcopy(a,b,c) memcpy (b,a,c) #define bzero(a,b) memset (a,0,b) #define bcmp(a,b,c) memcmp (a,b,c) +#define rindex strrchr +#define index strchr /* If compiling with HPUX compiler, we are probably using alloca.c, so help it work right. */ #ifndef __GNUC__ #define USE_C_ALLOCA #endif + +/* Don't try to use sys_siglist. */ +#define NO_SYS_SIGLIST