diff options
author | Jeff Law <law@gcc.gnu.org> | 1998-06-24 18:23:20 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-06-24 18:23:20 -0600 |
commit | dd0142749a012c52f95de4c3c9c5e88f0e53eb12 (patch) | |
tree | e5d8670f449e5aabb39460113568b8e8b3ca0d63 | |
parent | 8975220280e19103df314fc6cbf54a44824fdd83 (diff) | |
download | gcc-dd0142749a012c52f95de4c3c9c5e88f0e53eb12.zip gcc-dd0142749a012c52f95de4c3c9c5e88f0e53eb12.tar.gz gcc-dd0142749a012c52f95de4c3c9c5e88f0e53eb12.tar.bz2 |
* i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
From-SVN: r20706
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/i386/freebsd-elf.h | 11 |
2 files changed, 16 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 096ddb2..8c01484 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,8 @@ -1998-06-22 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> +Thu Jun 25 01:18:47 1998 John Wehle (john@feith.com) + + * i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. + +1998-06-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> * expr.c (expand_assignment): Rework address calculation for structure field members to expose more invariant computations to the loop diff --git a/gcc/config/i386/freebsd-elf.h b/gcc/config/i386/freebsd-elf.h index ca37c21..73df4d4 100644 --- a/gcc/config/i386/freebsd-elf.h +++ b/gcc/config/i386/freebsd-elf.h @@ -185,3 +185,14 @@ Boston, MA 02111-1307, USA. */ %{static:-static}}}" /* Get perform_* macros to build libgcc.a. */ + +/* 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)) |