From 073b0524fc3c8cd7e0ec329bbcd9bd5960d96cad Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 30 Jan 1997 08:58:00 -0500 Subject: [PATCH] (TRAMPOLINE_ALIGNMENT): Provide default. (assemble_trampoline_template): Use TRAMPOLINE_ALIGNMENT instead of FUNCTION_BOUNDARY. From-SVN: r13568 --- gcc/varasm.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/varasm.c b/gcc/varasm.c index 45f8c684c9ea..c422fbc3a08f 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -52,6 +52,10 @@ Boston, MA 02111-1307, USA. */ #include +#ifndef TRAMPOLINE_ALIGNMENT +#define TRAMPOLINE_ALIGNMENT FUNCTION_BOUNDARY +#endif + #ifndef ASM_STABS_OP #define ASM_STABS_OP ".stabs" #endif @@ -1825,7 +1829,7 @@ assemble_trampoline_template () #endif /* Write the assembler code to define one. */ - align = floor_log2 (FUNCTION_BOUNDARY / BITS_PER_UNIT); + align = floor_log2 (TRAMPOLINE_ALIGNMENT / BITS_PER_UNIT); if (align > 0) ASM_OUTPUT_ALIGN (asm_out_file, align);