From 1b1f6d275314bcf4b956ecc1eadd5acfcb86d2bb Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Fri, 10 Apr 1992 22:16:35 +0000 Subject: [PATCH] *** empty log message *** From-SVN: r722 --- gcc/config/mips/news5.h | 13 +++++++++++++ gcc/config/mips/svr3-4.h | 3 +++ 2 files changed, 16 insertions(+) diff --git a/gcc/config/mips/news5.h b/gcc/config/mips/news5.h index 606389be021..30f14a07fc5 100644 --- a/gcc/config/mips/news5.h +++ b/gcc/config/mips/news5.h @@ -51,4 +51,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define NM_FLAGS "-Bp" +/* Generate calls to memcpy, etc., not bcopy, etc. */ +#define TARGET_MEM_FUNCTIONS + +/* Mips System V.4 doesn't have a getpagesize() function needed by the + trampoline code, so use the POSIX sysconf function to get it. + This is only done when compiling the trampoline code. */ + +#ifdef L_trampoline +#include + +#define getpagesize() sysconf(_SC_PAGE_SIZE) +#endif /* L_trampoline */ + #include "mips.h" diff --git a/gcc/config/mips/svr3-4.h b/gcc/config/mips/svr3-4.h index c0d98af310c..9f8e1105d42 100644 --- a/gcc/config/mips/svr3-4.h +++ b/gcc/config/mips/svr3-4.h @@ -60,4 +60,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define getpagesize() sysconf(_SC_PAGE_SIZE) #endif /* L_trampoline */ +/* Generate calls to memcpy, etc., not bcopy, etc. */ +#define TARGET_MEM_FUNCTIONS + #include "mips.h" -- 2.30.2