Commit dafda938 by Richard Stallman

*** empty log message ***

From-SVN: r1169
parent 629af8db
...@@ -59,9 +59,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -59,9 +59,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
This is only done when compiling the trampoline code. */ This is only done when compiling the trampoline code. */
#ifdef L_trampoline #ifdef L_trampoline
#include <types.h>
#include <unistd.h> #include <unistd.h>
#ifdef _SC_PAGE_SIZE
#define getpagesize() sysconf(_SC_PAGE_SIZE) #define getpagesize() sysconf(_SC_PAGE_SIZE)
#else /* older rev of OS */
#define getpagesize() (NBPC)
#endif /* !_SC_PAGE_SIZE */
#endif /* L_trampoline */ #endif /* L_trampoline */
#include "mips.h" #include "mips.h"
...@@ -55,9 +55,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -55,9 +55,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
This is only done when compiling the trampoline code. */ This is only done when compiling the trampoline code. */
#ifdef L_trampoline #ifdef L_trampoline
#include <types.h>
#include <unistd.h> #include <unistd.h>
#ifdef _SC_PAGE_SIZE
#define getpagesize() sysconf(_SC_PAGE_SIZE) #define getpagesize() sysconf(_SC_PAGE_SIZE)
#else /* older rev of OS */
#define getpagesize() (NBPC)
#endif /* !_SC_PAGE_SIZE */
#endif /* L_trampoline */ #endif /* L_trampoline */
/* Generate calls to memcpy, etc., not bcopy, etc. */ /* Generate calls to memcpy, etc., not bcopy, etc. */
......
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