*** empty log message ***
authorRichard Stallman <rms@gnu.org>
Fri, 10 Apr 1992 22:16:35 +0000 (22:16 +0000)
committerRichard Stallman <rms@gnu.org>
Fri, 10 Apr 1992 22:16:35 +0000 (22:16 +0000)
From-SVN: r722

gcc/config/mips/news5.h
gcc/config/mips/svr3-4.h

index 606389be021998249c502ea5df11dd611dcd6065..30f14a07fc57461b6b2187c93f0ed081ee13cdbf 100644 (file)
@@ -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"
index c0d98af310c01898f96862a727cb5c8cddc01ccb..9f8e1105d4290991a86168acb3aacb67dd9d2eaf 100644 (file)
@@ -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"