* config/i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Defined.
authorH.J. Lu <hjl@gnu.org>
Fri, 19 Jun 1998 01:27:10 +0000 (01:27 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 19 Jun 1998 01:27:10 +0000 (19:27 -0600)
From-SVN: r20576

gcc/ChangeLog
gcc/config/i386/linux.h

index 131ee04f26e2941385f84432d2ad15065b257c7d..c87eef2c3874577c7829521976f417aefb40f1b3 100644 (file)
@@ -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
index 50341bd4ef1389bec37a0c79cae8bd50be4b7965..649c29e262549657cf2aa15d0fc85e4994f9f492 100644 (file)
@@ -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))