Commit fdc2d3b0 by Nick Clifton Committed by Nick Clifton

Define ASM_OUTPUT_MAX_SKIP_ALIGN if the assembler supports .p2align.

From-SVN: r41591
parent 5677efb0
2001-04-26 Nick Clifton <nickc@cambridge.redhat.com>
* config/arm/arm.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define, if the
assembler supports .p2align.
2001-04-26 Nathan Sidwell <nathan@codesourcery.com>
* c-lex.c (c_lex): Remove # from %o diagnostic formatting.
......
......@@ -2704,6 +2704,21 @@ extern int making_const_table;
} \
while (0)
#ifdef HAVE_GAS_MAX_SKIP_P2ALIGN
/* To support -falign-* switches we need to use .p2align so
that alignment directives in code sections will be padded
with no-op instructions, rather than zeroes. */
#define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \
if ((LOG) != 0) \
{ \
if ((MAX_SKIP) == 0) \
fprintf ((FILE), "\t.p2align %d\n", (LOG)); \
else \
fprintf ((FILE), "\t.p2align %d,,%d\n", \
(LOG), (MAX_SKIP)); \
}
#endif
/* Target characters. */
#define TARGET_BELL 007
#define TARGET_BS 010
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment