From: Richard Stallman Date: Fri, 10 Apr 1992 22:16:35 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: misc/cutover-egcs-0~13209 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b1f6d275314bcf4b956ecc1eadd5acfcb86d2bb;p=thirdparty%2Fgcc.git *** empty log message *** From-SVN: r722 --- diff --git a/gcc/config/mips/news5.h b/gcc/config/mips/news5.h index 606389be0219..30f14a07fc57 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 c0d98af310c0..9f8e1105d429 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"