From fb33f19fdd71812fb5cc1071aec2c6273d56b8e0 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 7 Jan 2019 09:51:18 -0500 Subject: mmglue: libc.so: ldflags: added --exclude-symbols definitions. --- project/arch.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'project') diff --git a/project/arch.mk b/project/arch.mk index 68bd070..7661734 100644 --- a/project/arch.mk +++ b/project/arch.mk @@ -2,4 +2,19 @@ ifeq ($(OS),midipix) src/env/__libc_start_main.lo: CFLAGS_SHARED += -USHARED +LDFLAGS_CONFIG += -Wl,--exclude-symbols=_dlstart +LDFLAGS_CONFIG += -Wl,--exclude-symbols=__syscall_vtbl +LDFLAGS_CONFIG += -Wl,--exclude-symbols=__ldso_vtbl +LDFLAGS_CONFIG += -Wl,--exclude-symbols=__psx_vtbl +LDFLAGS_CONFIG += -Wl,--exclude-symbols=__teb_sys_idx +LDFLAGS_CONFIG += -Wl,--exclude-symbols=__teb_libc_idx +LDFLAGS_CONFIG += -Wl,--exclude-symbols=__vm_lock_impl +LDFLAGS_CONFIG += -Wl,--exclude-symbols=__vm_unlock_impl +LDFLAGS_CONFIG += -Wl,--exclude-symbols=_IO_feof_unlocked +LDFLAGS_CONFIG += -Wl,--exclude-symbols=_IO_ferror_unlocked +LDFLAGS_CONFIG += -Wl,--exclude-symbols=_IO_getc +LDFLAGS_CONFIG += -Wl,--exclude-symbols=_IO_getc_unlocked +LDFLAGS_CONFIG += -Wl,--exclude-symbols=_IO_putc +LDFLAGS_CONFIG += -Wl,--exclude-symbols=_IO_putc_unlocked + endif -- cgit v1.2.3