mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-26 04:31:03 +00:00
af09bfb5b5
$(start-installed-name) if not defined. (+link-static): Use $(static-start-installed-name) instead of $(start-installed-name). * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name): Set to crt0.o. 1999-06-12 Mark Kettenis <kettenis@gnu.org>
19 lines
552 B
Makefile
19 lines
552 B
Makefile
# We need special startup code for statically linked binaries.
|
|
static-start-installed-name = crt0.o
|
|
|
|
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
|