mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 02:40:08 +00:00
0d29d6d60e
* 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.
16 lines
451 B
Makefile
16 lines
451 B
Makefile
ifeq ($(subdir),csu)
|
|
extra-objs += crt0.o
|
|
install-lib += crt0.o
|
|
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
|