diff options
author | H.J. Lu <hjl@gnu.org> | 1998-06-19 01:27:10 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-06-18 19:27:10 -0600 |
commit | de3eb7b70b55c20942941887ddb89b488a21b122 (patch) | |
tree | 5f9fda65a5ff5c1fb06cf4223b353a425cf2cf73 | |
parent | 9c8c5afbfb82557e2102dff9dbcb1c0d345d3a55 (diff) | |
download | gcc-de3eb7b70b55c20942941887ddb89b488a21b122.zip gcc-de3eb7b70b55c20942941887ddb89b488a21b122.tar.gz gcc-de3eb7b70b55c20942941887ddb89b488a21b122.tar.bz2 |
* config/i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Defined.
From-SVN: r20576
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/linux.h | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 131ee04..c87eef2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Fri Jun 19 02:24:11 1998 H.J. Lu (hjl@gnu.org) + + * config/i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Defined. + Fri Jun 19 02:10:10 1998 John Wehle (john@feith.com) * i386.c (notice_update_cc): Integer conditional moves don't diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h index 50341bd..649c29e 100644 --- a/gcc/config/i386/linux.h +++ b/gcc/config/i386/linux.h @@ -218,3 +218,14 @@ Boston, MA 02111-1307, USA. */ #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN) + +/* A C statement to output to the stdio stream FILE an assembler + command to advance the location counter to a multiple of 1<<LOG + bytes if it is within MAX_SKIP bytes. + + This is used to align code labels according to Intel recommendations. */ + +#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)) |