mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-15 05:04:36 +08:00
(TRAMPOLINE_ALIGNMENT): Provide default.
(assemble_trampoline_template): Use TRAMPOLINE_ALIGNMENT instead of FUNCTION_BOUNDARY. From-SVN: r13568
This commit is contained in:
parent
189cc3779a
commit
073b0524fc
@ -52,6 +52,10 @@ Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
#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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user