diff options
author | Jeff Law <law@gcc.gnu.org> | 1998-07-05 17:02:03 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-07-05 17:02:03 -0600 |
commit | 80de1662849972bc92c9081a2baf8c2723ac27d9 (patch) | |
tree | 5eab646f0d07a152d607aa0b22f0b66ad832856e /gcc | |
parent | a4017712b73678b4f252c98e3133ad8d3edaf541 (diff) | |
download | gcc-80de1662849972bc92c9081a2baf8c2723ac27d9.zip gcc-80de1662849972bc92c9081a2baf8c2723ac27d9.tar.gz gcc-80de1662849972bc92c9081a2baf8c2723ac27d9.tar.bz2 |
freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Protect with HAVE_GAS_MAX_SKIP_P2ALIGN.
0
* i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Protect with
HAVE_GAS_MAX_SKIP_P2ALIGN.
* i386/linux.h: Likewise.
From-SVN: r20933
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/i386/freebsd-elf.h | 2 | ||||
-rw-r--r-- | gcc/config/i386/linux.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/i386/freebsd-elf.h b/gcc/config/i386/freebsd-elf.h index 73df4d4..bb6e16c 100644 --- a/gcc/config/i386/freebsd-elf.h +++ b/gcc/config/i386/freebsd-elf.h @@ -192,7 +192,9 @@ Boston, MA 02111-1307, USA. */ This is used to align code labels according to Intel recommendations. */ +#ifdef HAVE_GAS_MAX_SKIP_P2ALIGN #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 diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h index e435f80..ed50b01 100644 --- a/gcc/config/i386/linux.h +++ b/gcc/config/i386/linux.h @@ -225,7 +225,9 @@ Boston, MA 02111-1307, USA. */ This is used to align code labels according to Intel recommendations. */ +#ifdef HAVE_GAS_MAX_SKIP_P2ALIGN #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 |