Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 31 Aug 1999 01:02:03 +0000 (01:02 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 31 Aug 1999 01:02:03 +0000 (01:02 +0000)
* sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
compiling for i386 to avoid i686-like GOT pointer computation.

ChangeLog
sysdeps/i386/Makefile

index 992ec54..1e39c44 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-08-30  Ulrich Drepper  <drepper@cygnus.com>
 
+       * sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
+       compiling for i386 to avoid i686-like GOT pointer computation.
+
        * db2/db_int.h: Change tsl_t type to u_int32_t.
        * db2/mutex/mutex.c: Allow Alpha mutex definitions.
        * db2/mutex/alpha.h: New file.
index 9860444..1d62d10 100644 (file)
@@ -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