From ddbccbc6b51002739c3b61ff23ec13a758bd7c30 Mon Sep 17 00:00:00 2001 From: midipix Date: Jan 10 2019 03:43:17 +0000 Subject: mmglue: libc.so: link in crtn.o, needed for _pei_runtime_relocator. --- 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