From: J"orn Rennecke Date: Wed, 18 Mar 1998 12:52:07 +0000 (+0000) Subject: * netbsd.h (ASM_OUTPUT_ALIGN): Redefine. X-Git-Tag: prereleases/egcs-1.1-prerelease~2056 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=343665b9a1bb41d883dd77a7dc3e738725eafd52;p=thirdparty%2Fgcc.git * netbsd.h (ASM_OUTPUT_ALIGN): Redefine. From-SVN: r18670 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb9b882c67b3..d90f217ff693 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 1c3353e90455..c7aeddf66054 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. */