* freebsd.h (ASM_OUTPUT_ALIGN): Redefine.
authorJ"orn Rennecke <amylaar@cygnus.co.uk>
Mon, 23 Mar 1998 06:16:24 +0000 (06:16 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Mon, 23 Mar 1998 06:16:24 +0000 (06:16 +0000)
From-SVN: r18774

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

index 4fe2a6c687b6aa33cf9e3342050d0d8ac240fcc2..f8db9a09b4f55959dab42eb92610b7fd56380081 100644 (file)
@@ -1,3 +1,7 @@
+Mon Mar 23 14:14:20 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * freebsd.h (ASM_OUTPUT_ALIGN): Redefine.
+
 Sat Mar 21 23:52:56 PST 1998 Jeff Law  (law@cygnus.com)
 
        * version.c: Bump for snapshot.
index 1156f19ea917735a44ca0a7975b22fb721f0def4..14b6b0c5118835b2973413918cb7d38cce7b9410 100644 (file)
@@ -87,6 +87,13 @@ Boston, MA 02111-1307, USA.  */
    we want to retain compatibility with older gcc versions.  */
 #define DEFAULT_PCC_STRUCT_RETURN 0
 \f
+/* i386 freebsd 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.  */