From ddbccbc6b51002739c3b61ff23ec13a758bd7c30 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 8 Jan 2019 06:02:35 -0500 Subject: mmglue: libc.so: link in crtn.o, needed for _pei_runtime_relocator. --- project/arch.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/project/arch.mk b/project/arch.mk index 7661734..c39b137 100644 --- a/project/arch.mk +++ b/project/arch.mk @@ -2,6 +2,8 @@ ifeq ($(OS),midipix) src/env/__libc_start_main.lo: CFLAGS_SHARED += -USHARED +SHARED_OBJS += crt/$(ARCH)/crtn.o + LDFLAGS_CONFIG += -Wl,--exclude-symbols=_dlstart LDFLAGS_CONFIG += -Wl,--exclude-symbols=__syscall_vtbl LDFLAGS_CONFIG += -Wl,--exclude-symbols=__ldso_vtbl -- cgit v1.2.3