aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/bsd386.h
diff options
context:
space:
mode:
authorKrister Walfridsson <cato@df.lth.se>1998-04-14 10:33:09 +0000
committerJeffrey A Law <law@cygnus.com>1998-04-14 10:33:09 +0000
commit6fd0372228f201d52ae3f3a17c8bcabc31c03033 (patch)
treeb9593bef4e3312cae7d4ad759d09a910ce557bcf /gcc/config/i386/bsd386.h
parentaa90cfd8792b2af8a9c69bbc467e63616a828291 (diff)
* i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@19207 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/bsd386.h')
-rw-r--r--gcc/config/i386/bsd386.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/i386/bsd386.h b/gcc/config/i386/bsd386.h
index 52e135f35b2..c0dcf87cbdd 100644
--- a/gcc/config/i386/bsd386.h
+++ b/gcc/config/i386/bsd386.h
@@ -24,3 +24,10 @@
/* Until they use ELF or something that handles dwarf2 unwinds
and initialization stuff better. */
#define DWARF2_UNWIND_INFO 0
+
+/* BSD/OS 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))