alpha.c (alpha_initialize_trampoline): Use tramp, not addr, to pass the trampoline...
authorJason Thorpe <thorpej@wasabisystems.com>
Thu, 17 Oct 2002 20:58:48 +0000 (20:58 +0000)
committerJason Thorpe <thorpej@gcc.gnu.org>
Thu, 17 Oct 2002 20:58:48 +0000 (20:58 +0000)
* config/alpha/alpha.c (alpha_initialize_trampoline): Use
tramp, not addr, to pass the trampoline address to
__enable_execute_stack.

From-SVN: r58258

gcc/ChangeLog
gcc/config/alpha/alpha.c

index 3ec27fb..71e8c60 100644 (file)
@@ -1,3 +1,9 @@
+2002-10-17  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * config/alpha/alpha.c (alpha_initialize_trampoline): Use
+       tramp, not addr, to pass the trampoline address to
+       __enable_execute_stack.
+
 Thu Oct 17 18:40:47 CEST 2002  Jan Hubicka  <jh@suse.cz>
 
        * mmintrin.h: Guard by __MMX__
index b35e3f9..4e49137 100644 (file)
@@ -6040,7 +6040,7 @@ alpha_initialize_trampoline (tramp, fnaddr, cxt, fnofs, cxtofs, jmpofs)
 
 #ifdef TRANSFER_FROM_TRAMPOLINE
   emit_library_call (gen_rtx_SYMBOL_REF (Pmode, "__enable_execute_stack"),
-                    0, VOIDmode, 1, addr, Pmode);
+                    0, VOIDmode, 1, tramp, Pmode);
 #endif
 
   if (jmpofs >= 0)