]> gcc.gnu.org Git - gcc.git/commitdiff
(INITIALIZE_TRAMPOLINE, TRANSFER_FROM_TRAMPOLINE): Delete.
authorJim Wilson <wilson@gcc.gnu.org>
Tue, 5 Oct 1993 20:24:14 +0000 (13:24 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 5 Oct 1993 20:24:14 +0000 (13:24 -0700)
From-SVN: r5613

gcc/config/mips/iris3.h

index 8af0cf1a53b07f21dba857e878180891ddd67008..5820764a82095083a72264b0682b2a47612150d1 100644 (file)
@@ -104,35 +104,4 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 /* Plain char is unsigned in the SGI compiler.  */
 #define DEFAULT_SIGNED_CHAR 0
 
-
-/* A C statement to initialize the variable parts of a trampoline. 
-   ADDR is an RTX for the address of the trampoline; FNADDR is an
-   RTX for the address of the nested function; STATIC_CHAIN is an
-   RTX for the static chain value that should be passed to the
-   function when it is called.
-
-   Silicon Graphics machines are supposed to not have a mprotect
-   function to enable execute protection, but the stack already
-   has execute protection turned on.  Because the MIPS chips have
-   no method to flush the icache without a system call, this can lose
-   if the same address is used for multiple trampolines.  */
-
-#define INITIALIZE_TRAMPOLINE(ADDR, FUNC, CHAIN)                           \
-{                                                                          \
-  rtx addr = ADDR;                                                         \
-  emit_move_insn (gen_rtx (MEM, SImode, plus_constant (addr, 28)), FUNC);   \
-  emit_move_insn (gen_rtx (MEM, SImode, plus_constant (addr, 32)), CHAIN);  \
-}
-
-
-/* Attempt to turn on access permissions for the stack.  */
-
-#define TRANSFER_FROM_TRAMPOLINE                                       \
-                                                                       \
-void                                                                   \
-__enable_execute_stack (addr)                                          \
-     char *addr;                                                       \
-{                                                                      \
-}
-
 #include "mips/mips.h"
This page took 0.067723 seconds and 5 git commands to generate.