OSDN Git Service

* config/rs6000/darwin-tramp.asm (__trampoline_setup): Call
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Feb 2007 00:32:44 +0000 (00:32 +0000)
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Feb 2007 00:32:44 +0000 (00:32 +0000)
__enable_execute_stack on completion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121633 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/darwin-tramp.asm

index 8cf2978..b09ca01 100644 (file)
@@ -1,3 +1,8 @@
+2007-02-05  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/rs6000/darwin-tramp.asm (__trampoline_setup): Call
+       __enable_execute_stack on completion.
+
 2007-02-05     Harsha Jagasia  <harsha.jagasia@amd.com>
 
        * config/i386/athlon.md (athlon_fldxf_k8, athlon_fld_k8,
index 653c06a..62522b9 100644 (file)
@@ -96,10 +96,12 @@ Lcache:
        addi    r3,r3,4
        bdnz    Lcache
 
-       /* Finally synchronize things & return */
+       /* Ensure cache-flushing has finished.  */
        sync
        isync
-       blr
+
+       /* Make stack writeable.  */
+       b       ___enable_execute_stack
 
 Labort:
 #ifdef __DYNAMIC__