* sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.

From-SVN: r46624
This commit is contained in:
Kaveh R. Ghazi 2001-10-30 03:11:45 +00:00 committed by Kaveh Ghazi
parent cd7c9015a6
commit 1ac0469598
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-10-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
Mon Oct 29 19:22:07 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* reload1.c (eliminate_regs): Test for reg_renumber being allocated

View File

@ -259,6 +259,12 @@ Boston, MA 02111-1307, USA. */
*
*/
/* This declares mprotect (used in TRANSFER_FROM_TRAMPOLINE) for
libgcc2.c. */
#ifdef L_trampoline
#include <sys/mman.h>
#endif
#define TRANSFER_FROM_TRAMPOLINE \
static int need_enable_exec_stack; \
\