Commit 1b1f6d27 by Richard Stallman

*** empty log message ***

From-SVN: r722
parent 60892950
...@@ -51,4 +51,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -51,4 +51,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define NM_FLAGS "-Bp" #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" #include "mips.h"
...@@ -60,4 +60,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -60,4 +60,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define getpagesize() sysconf(_SC_PAGE_SIZE) #define getpagesize() sysconf(_SC_PAGE_SIZE)
#endif /* L_trampoline */ #endif /* L_trampoline */
/* Generate calls to memcpy, etc., not bcopy, etc. */
#define TARGET_MEM_FUNCTIONS
#include "mips.h" #include "mips.h"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment