diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-09-16 09:47:54 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-09-16 09:47:54 -0400 |
commit | e43634ef603c049f2f67846b1bfcac216c1315f6 (patch) | |
tree | d4dce772945e63d979eefdfb91fe8c40b199a5d9 | |
parent | a5dfb4eee245afa9d56800bf36e0fdad91858b60 (diff) | |
download | gcc-e43634ef603c049f2f67846b1bfcac216c1315f6.zip gcc-e43634ef603c049f2f67846b1bfcac216c1315f6.tar.gz gcc-e43634ef603c049f2f67846b1bfcac216c1315f6.tar.bz2 |
(GO_IF_LEGITIMATE_ADDRESS): Disallow SYMBOL_REF for current function.
From-SVN: r10369
-rw-r--r-- | gcc/config/alpha/alpha.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index 3db24d5..f4b76e8 100644 --- a/gcc/config/alpha/alpha.h +++ b/gcc/config/alpha/alpha.h @@ -1170,10 +1170,6 @@ __enable_execute_stack (addr) \ forms can be surrounded with an AND that clear the low-order three bits; this is an "unaligned" access. - We also allow a SYMBOL_REF that is the name of the current function as - valid address. This is for CALL_INSNs. It cannot be used in any other - context. - First define the basic valid address. */ #define GO_IF_LEGITIMATE_SIMPLE_ADDRESS(MODE, X, ADDR) \ @@ -1191,8 +1187,6 @@ __enable_execute_stack (addr) \ /* Now accept the simple address, or, for DImode only, an AND of a simple address that turns off the low three bits. */ -extern char *current_function_name; - #define GO_IF_LEGITIMATE_ADDRESS(MODE, X, ADDR) \ { GO_IF_LEGITIMATE_SIMPLE_ADDRESS (MODE, X, ADDR); \ if ((MODE) == DImode \ @@ -1200,9 +1194,6 @@ extern char *current_function_name; && GET_CODE (XEXP (X, 1)) == CONST_INT \ && INTVAL (XEXP (X, 1)) == -8) \ GO_IF_LEGITIMATE_SIMPLE_ADDRESS (MODE, XEXP (X, 0), ADDR); \ - if ((MODE) == Pmode && GET_CODE (X) == SYMBOL_REF \ - && ! strcmp (XSTR (X, 0), current_function_name)) \ - goto ADDR; \ } /* Try machine-dependent ways of modifying an illegitimate address |