* i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
authorJeff Law <law@gcc.gnu.org>
Thu, 25 Jun 1998 00:23:20 +0000 (18:23 -0600)
committerJeff Law <law@gcc.gnu.org>
Thu, 25 Jun 1998 00:23:20 +0000 (18:23 -0600)
From-SVN: r20706

gcc/ChangeLog
gcc/config/i386/freebsd-elf.h

index 096ddb2868bbf65d0a316a04086a5c052a225d20..8c01484ece08e4c54fb1f8bb86884f35641a915b 100644 (file)
@@ -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
index ca37c211721b99d1b8d3dfc5b3b6e0ee661510b9..73df4d4bc6c19c43231d54f3640ff31cb5ae90d7 100644 (file)
@@ -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))