summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1997-01-30 13:57:32 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1997-01-30 13:57:32 +0000
commit678ece3f7bc88f37c854d8dd6950e17c00cbe737 (patch)
tree284ff66a0267d0f4049d7c967d2094616a16e7ad /gcc/function.c
parentc7bab97d3a2eb3e67dfb4448136776038a3d88c3 (diff)
downloadgcc-678ece3f7bc88f37c854d8dd6950e17c00cbe737.tar.gz
(TRAMPOLINE_ALIGNMENT): Provide default.
(expand_function_end): Use TRAMPOLINE_ALIGNMENT instead of FUNCTION_BOUNDARY. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13567 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c
index d67ad5b2478..31e2caa95fb 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -58,6 +58,10 @@ Boston, MA 02111-1307, USA. */
#include "bytecode.h"
#include "bc-emit.h"
+#ifndef TRAMPOLINE_ALIGNMENT
+#define TRAMPOLINE_ALIGNMENT FUNCTION_BOUNDARY
+#endif
+
/* Some systems use __main in a way incompatible with its use in gcc, in these
cases use the macros NAME__MAIN to give a quoted symbol and SYMBOL__MAIN to
give the same symbol without quotes for an alternative entry point. You
@@ -5460,7 +5464,7 @@ expand_function_end (filename, line, end_bindings)
blktramp = change_address (initial_trampoline, BLKmode, tramp);
emit_block_move (blktramp, initial_trampoline,
GEN_INT (TRAMPOLINE_SIZE),
- FUNCTION_BOUNDARY / BITS_PER_UNIT);
+ TRAMPOLINE_ALIGNMENT / BITS_PER_UNIT);
#endif
INITIALIZE_TRAMPOLINE (tramp, XEXP (DECL_RTL (function), 0), context);
seq = get_insns ();