diff options
author | Geoffrey Keating <geoffk@apple.com> | 2007-02-06 00:32:44 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2007-02-06 00:32:44 +0000 |
commit | 9be75e444aea2c9eed05c62390a5352b488ae1bd (patch) | |
tree | da2bfb2af211a041ce6314850533d50cfa542477 /gcc | |
parent | 9ca6a963e3824f3d6b3e9a5747d8954845c38712 (diff) | |
download | gcc-9be75e444aea2c9eed05c62390a5352b488ae1bd.zip gcc-9be75e444aea2c9eed05c62390a5352b488ae1bd.tar.gz gcc-9be75e444aea2c9eed05c62390a5352b488ae1bd.tar.bz2 |
darwin-tramp.asm (__trampoline_setup): Call __enable_execute_stack on completion.
* config/rs6000/darwin-tramp.asm (__trampoline_setup): Call
__enable_execute_stack on completion.
From-SVN: r121633
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/darwin-tramp.asm | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8cf2978..b09ca01 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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, diff --git a/gcc/config/rs6000/darwin-tramp.asm b/gcc/config/rs6000/darwin-tramp.asm index 653c06a..62522b9 100644 --- a/gcc/config/rs6000/darwin-tramp.asm +++ b/gcc/config/rs6000/darwin-tramp.asm @@ -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__ |