aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ"orn Rennecke <amylaar@cygnus.co.uk>1998-03-23 06:16:24 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>1998-03-23 06:16:24 +0000
commit4bca698618e75bd0d58eb210d8938912a88eea39 (patch)
treec4f403640aa3f5e64896a2f485a5afb485527578
parent1eb3e8442f8c549c9b2ed21ca75eb7fb12b10b0d (diff)
downloadgcc-4bca698618e75bd0d58eb210d8938912a88eea39.zip
gcc-4bca698618e75bd0d58eb210d8938912a88eea39.tar.gz
gcc-4bca698618e75bd0d58eb210d8938912a88eea39.tar.bz2
* freebsd.h (ASM_OUTPUT_ALIGN): Redefine.
From-SVN: r18774
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/freebsd.h7
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4fe2a6c..f8db9a0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h
index 1156f19..14b6b0c 100644
--- a/gcc/config/i386/freebsd.h
+++ b/gcc/config/i386/freebsd.h
@@ -87,6 +87,13 @@ Boston, MA 02111-1307, USA. */
we want to retain compatibility with older gcc versions. */
#define DEFAULT_PCC_STRUCT_RETURN 0
+/* 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))
+
/* Profiling routines, partially copied from i386/osfrose.h. */
/* Redefine this to use %eax instead of %edx. */