From: Ulrich Drepper Date: Tue, 31 Aug 1999 01:50:40 +0000 (+0000) Subject: [csu]: Define CFLAGS-initfini.s to force compiling for i386 to avoid X-Git-Tag: cvs/glibc_2-1-2~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26f81047848afe093b59f90dcdec39433ca0bedd;p=thirdparty%2Fglibc.git [csu]: Define CFLAGS-initfini.s to force compiling for i386 to avoid i686-like GOT pointer computation. --- diff --git a/sysdeps/i386/Makefile b/sysdeps/i386/Makefile index 9860444b854..1d62d10d8aa 100644 --- a/sysdeps/i386/Makefile +++ b/sysdeps/i386/Makefile @@ -5,6 +5,12 @@ asm-CPPFLAGS += -DGAS_SYNTAX # The i386 `long double' is a distinct type we support. long-double-fcts = yes +ifeq ($(subdir),csu) +# On i686 we must avoid generating the trampoline functions generated +# to get the GOT pointer. +CFLAGS-initfini.s += -march=i386 +endif + ifeq ($(subdir),db2) CPPFLAGS += -DHAVE_SPINLOCKS=1 -DHAVE_ASSEM_X86_GCC=1 endif