summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-07 09:51:18 -0500
committermidipix <writeonce@midipix.org>2019-01-09 22:43:16 -0500
commitfb33f19fdd71812fb5cc1071aec2c6273d56b8e0 (patch)
tree5f36c926f9e5f5d73a1608c597c208e2d89f2e03 /project
parent9fd1910541a9b2aa35a2e2c036fb35fbccad75cd (diff)
downloadmmglue-fb33f19fdd71812fb5cc1071aec2c6273d56b8e0.tar.bz2
mmglue-fb33f19fdd71812fb5cc1071aec2c6273d56b8e0.tar.xz
mmglue: libc.so: ldflags: added --exclude-symbols definitions.
Diffstat (limited to 'project')
-rw-r--r--project/arch.mk15
1 files changed, 15 insertions, 0 deletions
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