diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f717f53193a..ce7abf95917 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-10-29 Kaveh R. Ghazi + + * sparc/sol2.h: Include when L_trampoline is defined. + Mon Oct 29 19:22:07 2001 Richard Kenner * reload1.c (eliminate_regs): Test for reg_renumber being allocated diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index ee7fa063b17..b5d3c9db0c7 100644 --- a/gcc/config/sparc/sol2.h +++ b/gcc/config/sparc/sol2.h @@ -259,6 +259,12 @@ Boston, MA 02111-1307, USA. */ * */ +/* This declares mprotect (used in TRANSFER_FROM_TRAMPOLINE) for + libgcc2.c. */ +#ifdef L_trampoline +#include +#endif + #define TRANSFER_FROM_TRAMPOLINE \ static int need_enable_exec_stack; \ \