]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* netbsd.h (ASM_OUTPUT_ALIGN): Redefine.
authorJ"orn Rennecke <amylaar@cygnus.co.uk>
Wed, 18 Mar 1998 12:52:07 +0000 (12:52 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Wed, 18 Mar 1998 12:52:07 +0000 (12:52 +0000)
From-SVN: r18670

gcc/ChangeLog
gcc/config/i386/netbsd.h

index cb9b882c67b30b8fa45049ddd4ff4bd00499e747..d90f217ff6932decda0744851fbc5eb23352992c 100644 (file)
@@ -1,3 +1,7 @@
+Wed Mar 18 16:53:19 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * netbsd.h (ASM_OUTPUT_ALIGN): Redefine.
+
 Wed Mar 18 12:43:20 1998  Jim Wilson  <wilson@cygnus.com>
 
        * loop.c (struct movable): New field move_insn_first.
index 1c3353e9045534c7281b04a27e09696270159bb5..c7aeddf66054bfaf1dccdfc70dcf1551039260da 100644 (file)
    we want to retain compatibility with older gcc versions.  */
 #define DEFAULT_PCC_STRUCT_RETURN 0
 \f
+/* i386 netbsd still uses old binutils that don't insert nops by default
+   when the .align directive demands to insert extra space in the text
+   segment.  */
+#undef ASM_OUTPUT_ALIGN
+#define ASM_OUTPUT_ALIGN(FILE,LOG) \
+  if ((LOG)!=0) fprintf ((FILE), "\t.align %d,0x90\n", (LOG))
+\f
 /* Profiling routines, partially copied from i386/osfrose.h.  */
 
 /* Redefine this to use %eax instead of %edx.  */