diff options
| author | rearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-13 21:56:58 +0000 |
|---|---|---|
| committer | rearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-13 21:56:58 +0000 |
| commit | c67dd0b40c073623eb2014b50a74e8d98b559191 (patch) | |
| tree | b4de5e0bba96d8774f2eab49ab92697a202847df /gcc | |
| parent | 0858d94e67f12e85df2988e980d297e2145ac65c (diff) | |
| download | ppe42-gcc-c67dd0b40c073623eb2014b50a74e8d98b559191.tar.gz ppe42-gcc-c67dd0b40c073623eb2014b50a74e8d98b559191.zip | |
* arm.h (INITIALIZE_TRAMPOLINE): Make the call to __clear_cache
unconditional.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99680 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/arm/arm.h | 13 |
2 files changed, 8 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 24513c8eb8c..247e4924457 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-05-13 Richard Earnshaw <richard.earnshaw@arm.com> + + * arm.h (INITIALIZE_TRAMPOLINE): Make the call to __clear_cache + unconditional. + 2005-05-13 Josh Conner <jconner@apple.com> * config/arm/arm.c (arm_size_return_regs): New. diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index b75d89a64fe..7b563469ab3 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -1776,15 +1776,6 @@ typedef struct /* Alignment required for a trampoline in bits. */ #define TRAMPOLINE_ALIGNMENT 32 -/* Call __clear_cache after setting up the trampoline unless this is a nop. */ -#ifdef CLEAR_INSN_CACHE -#define ARM_EMIT_TRAMPOLINE_CACHE_CLEAR(TRAMP) \ - emit_library_call (gen_rtx_SYMBOL_REF (Pmode, "__clear_cache"), \ - 0, VOIDmode, 2, TRAMP, Pmode, \ - plus_constant (TRAMP, TRAMPOLINE_SIZE), Pmode); -#else -#define ARM_EMIT_TRAMPOLINE_CACHE_CLEAR(TRAMP) do {} while (0) -#endif /* Emit RTL insns to initialize the variable parts of a trampoline. FNADDR is an RTX for the address of the function's pure code. @@ -1800,7 +1791,9 @@ typedef struct plus_constant (TRAMP, \ TARGET_ARM ? 12 : 20)), \ FNADDR); \ - ARM_EMIT_TRAMPOLINE_CACHE_CLEAR (TRAMP); \ + emit_library_call (gen_rtx_SYMBOL_REF (Pmode, "__clear_cache"), \ + 0, VOIDmode, 2, TRAMP, Pmode, \ + plus_constant (TRAMP, TRAMPOLINE_SIZE), Pmode); \ } #endif |

