aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-03-25 21:00:06 +0000
committerRoland McGrath <roland@gnu.org>1999-03-25 21:00:06 +0000
commit0d29d6d60e3e3806a979f16f86aaf65739277704 (patch)
tree6393dbdb81f5c7f1a7c5b5a04642d4e872b3ed33 /sysdeps
parent9ba5483de469c1b95d9f2da6b5d8a260f0cf31a4 (diff)
downloadglibc-0d29d6d60e3e3806a979f16f86aaf65739277704.tar
glibc-0d29d6d60e3e3806a979f16f86aaf65739277704.tar.gz
glibc-0d29d6d60e3e3806a979f16f86aaf65739277704.tar.bz2
glibc-0d29d6d60e3e3806a979f16f86aaf65739277704.zip
Thu Mar 25 23:57:57 1999 Roland McGrath <roland@yaumatei.ai.mit.edu>
* sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu] (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START. This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/i386/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/Makefile b/sysdeps/mach/hurd/i386/Makefile
index 33b701df04..56ee0574eb 100644
--- a/sysdeps/mach/hurd/i386/Makefile
+++ b/sysdeps/mach/hurd/i386/Makefile
@@ -5,4 +5,11 @@ omit-deps += crt0
$(objpfx)crt0.o: $(objpfx)static-start.o $(objpfx)abi-note.o $(objpfx)init.o
$(link-relocatable)
+
+# compat for libc.so.0.2 only
+# This is needed to be backward-compatible with glibc-2.0.x startup code
+# that was miscompiled so that it jumps to 0 if there is a nonzero
+# __gmon_start__ symbol, but works if there is none.
+CFLAGS-initfini.s += -DWEAK_GMON_START
+
endif