aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ"orn Rennecke <amylaar@cygnus.co.uk>1998-03-18 12:52:07 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>1998-03-18 12:52:07 +0000
commit343665b9a1bb41d883dd77a7dc3e738725eafd52 (patch)
tree462e2decb506aafb549cfc16e30deb8bf7de2e5d
parent1a61c29f8ac1bb7a507a26a6e2069e01734f3a79 (diff)
downloadgcc-343665b9a1bb41d883dd77a7dc3e738725eafd52.zip
gcc-343665b9a1bb41d883dd77a7dc3e738725eafd52.tar.gz
gcc-343665b9a1bb41d883dd77a7dc3e738725eafd52.tar.bz2
* netbsd.h (ASM_OUTPUT_ALIGN): Redefine.
From-SVN: r18670
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/netbsd.h7
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cb9b882..d90f217 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/i386/netbsd.h b/gcc/config/i386/netbsd.h
index 1c3353e..c7aeddf 100644
--- a/gcc/config/i386/netbsd.h
+++ b/gcc/config/i386/netbsd.h
@@ -56,6 +56,13 @@
we want to retain compatibility with older gcc versions. */
#define DEFAULT_PCC_STRUCT_RETURN 0
+/* 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))
+
/* Profiling routines, partially copied from i386/osfrose.h. */
/* Redefine this to use %eax instead of %edx. */