OSDN Git Service

* config/i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Defined.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jun 1998 01:27:10 +0000 (01:27 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jun 1998 01:27:10 +0000 (01:27 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20576 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 131ee04..c87eef2 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 50341bd..649c29e 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))