mirror of https://gitee.com/Nocallback/glibc.git
Browse Source
static pattern rule also that also covers $(objpx)g$(static-start-installed-name). [$(start-installed-name) != $(static-start-installed-name)] (extra-objs, omit-deps, install-lib): Add $(static-start-installed-name) and g$(static-start-installed-name). * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here; just setting static-start-installed-name is now sufficient. (extra-objs): Add static-start.o here. (CFLAGS-initfini.s): Remove obsolete variable. * sysdeps/mach/hurd/i386/Makeconfig: New file. Define static-start-installed-name here. * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig). * Make-dist (+sysdep-tsrcs): Look for Makeconfig files. * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and associated hair. Instead, just use $(wildcard ...) in the include. * configure.in (critic_missing, aux_missing): Collect in these vars the names of the missing programs, and include them in the error msgs. * configure: Regenerated.cvs/glibc-2-2-branch
7 changed files with 56 additions and 45 deletions
@ -0,0 +1,4 @@ |
|||
# We need special startup code for statically linked binaries. |
|||
# See Makefile in this directory for the rule that builds this. |
|||
# We must define this variable earlier than sysdeps Makefiles are included. |
|||
static-start-installed-name = crt0.o |
|||
@ -1,18 +1,9 @@ |
|||
# 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 |
|||
|
|||
extra-objs += static-start.o |
|||
|
|||
# We need special startup code for statically linked binaries.
|
|||
$(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 |
|||
|
|||
Loading…
Reference in new issue