* sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
From-SVN: r46624
This commit is contained in:
parent
cd7c9015a6
commit
1ac0469598
@ -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
|
||||
|
@ -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; \
|
||||
\
|
||||
|
Loading…
Reference in New Issue
Block a user