From 343665b9a1bb41d883dd77a7dc3e738725eafd52 Mon Sep 17 00:00:00 2001 From: "J\"orn Rennecke" Date: Wed, 18 Mar 1998 12:52:07 +0000 Subject: [PATCH] * netbsd.h (ASM_OUTPUT_ALIGN): Redefine. From-SVN: r18670 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/netbsd.h | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb9b882c67b..d90f217ff69 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Wed Mar 18 16:53:19 1998 J"orn Rennecke + + * netbsd.h (ASM_OUTPUT_ALIGN): Redefine. + Wed Mar 18 12:43:20 1998 Jim Wilson * loop.c (struct movable): New field move_insn_first. diff --git a/gcc/config/i386/netbsd.h b/gcc/config/i386/netbsd.h index 1c3353e9045..c7aeddf6605 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. */