aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-04-10 22:16:35 +0000
committerRichard Stallman <rms@gnu.org>1992-04-10 22:16:35 +0000
commit1b1f6d275314bcf4b956ecc1eadd5acfcb86d2bb (patch)
tree4f6746e5675ffa4239abf7e7d9ef1beeb44ec423
parent608929509a419b82d711745cfe17803027edaaf1 (diff)
downloadgcc-1b1f6d275314bcf4b956ecc1eadd5acfcb86d2bb.zip
gcc-1b1f6d275314bcf4b956ecc1eadd5acfcb86d2bb.tar.gz
gcc-1b1f6d275314bcf4b956ecc1eadd5acfcb86d2bb.tar.bz2
*** empty log message ***
From-SVN: r722
-rw-r--r--gcc/config/mips/news5.h13
-rw-r--r--gcc/config/mips/svr3-4.h3
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/config/mips/news5.h b/gcc/config/mips/news5.h
index 606389b..30f14a0 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 <unistd.h>
+
+#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 c0d98af..9f8e110 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"