From bf03fc48770a82832570488812c8beedc70c36e4 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 2 Feb 2019 03:26:50 -0500 Subject: process init: apply hidden visibility to all [S]crt*.o files. --- crt/nt32/crtldso.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crt/nt32/crtldso.c') diff --git a/crt/nt32/crtldso.c b/crt/nt32/crtldso.c index 81dec5f..84b8207 100644 --- a/crt/nt32/crtldso.c +++ b/crt/nt32/crtldso.c @@ -1,9 +1,10 @@ #include #include +#include "crtinit.h" #include "psxglue.h" #include "peldso.h" -const int __crtopt_ldso = __PSXOPT_LDSO; +const int __hidden __crtopt_ldso = __PSXOPT_LDSO; /* framework (rtdata) abi */ static const struct __guid __ldsoabi = NT_PROCESS_GUID_RTDATA; @@ -27,7 +28,7 @@ static const unsigned short __rrctty[] = {'b','i','n','\\', static unsigned long __attribute__((section(".dsodata"))) __dsodata[65536/sizeof(unsigned long)]; -void __libc_loader_init(void * __main, int flags) +void __hidden __libc_loader_init(void * __main, int flags) { int status; void * hroot; -- cgit v1.2.3