about summary refs log tree commit diff
path: root/sysdeps/i386/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-31 01:02:03 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-31 01:02:03 +0000
commit1d1740d6b12894ed6a430e2e98bf73c5243b2925 (patch)
treebc8af817f704a9c3ff42e38cac8a61e70d47c91f /sysdeps/i386/Makefile
parent9a93ac006df5199c4dc03710043d1d77396ff29e (diff)
downloadglibc-1d1740d6b12894ed6a430e2e98bf73c5243b2925.tar.gz
glibc-1d1740d6b12894ed6a430e2e98bf73c5243b2925.tar.xz
glibc-1d1740d6b12894ed6a430e2e98bf73c5243b2925.zip
Update.
	* sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
	compiling for i386 to avoid i686-like GOT pointer computation.
Diffstat (limited to 'sysdeps/i386/Makefile')
-rw-r--r--sysdeps/i386/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/i386/Makefile b/sysdeps/i386/Makefile
index 9860444b85..1d62d10d8a 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