diff options
author | Samuel Figueroa <figueroa@apple.com> | 2002-09-17 21:36:29 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@gcc.gnu.org> | 2002-09-17 21:36:29 +0000 |
commit | 8e16ab99953149a0936735618e6d26b79651a1b3 (patch) | |
tree | 940a284b4bcf3c4e0a81c05417042a6b0f29b2cb /gcc/config/sparc/sparc.h | |
parent | ac19be7ebaaa65f6bf5df62db247a57dc41dde57 (diff) | |
download | gcc-8e16ab99953149a0936735618e6d26b79651a1b3.zip gcc-8e16ab99953149a0936735618e6d26b79651a1b3.tar.gz gcc-8e16ab99953149a0936735618e6d26b79651a1b3.tar.bz2 |
Sam Figueroa's change to add ASM_OUTPUT_ALIGN_WITH_NOP.
From-SVN: r57261
Diffstat (limited to 'gcc/config/sparc/sparc.h')
-rw-r--r-- | gcc/config/sparc/sparc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index d294a07..aa7c23a 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -2812,6 +2812,13 @@ do { \ if ((LOG) != 0) \ fprintf (FILE, "\t.align %d\n", (1<<(LOG))) +/* This is how to output an assembler line that says to advance + the location counter to a multiple of 2**LOG bytes using the + "nop" instruction as padding. */ +#define ASM_OUTPUT_ALIGN_WITH_NOP(FILE,LOG) \ + if ((LOG) != 0) \ + fprintf (FILE, "\t.align %d,0x1000000\n", (1<<(LOG))) + #define ASM_OUTPUT_SKIP(FILE,SIZE) \ fprintf (FILE, "\t.skip %u\n", (SIZE)) |