diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-06-19 01:27:10 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-06-19 01:27:10 +0000 |
commit | 7f2abdb9be0fc4d18f626d0c337e68e0b3194f20 (patch) | |
tree | 5f9fda65a5ff5c1fb06cf4223b353a425cf2cf73 /gcc/config/i386/linux.h | |
parent | c8dbca820d87e180bea10138c8cb0d53812aba11 (diff) | |
download | gcc-7f2abdb9be0fc4d18f626d0c337e68e0b3194f20.tar.gz |
* config/i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20576 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/linux.h')
-rw-r--r-- | gcc/config/i386/linux.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h index 50341bd4ef1..649c29e2625 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)) |