summaryrefslogtreecommitdiffhomepage
path: root/crt/nt32/crtldso.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-02 03:26:50 -0500
committermidipix <writeonce@midipix.org>2019-02-19 14:48:49 -0500
commitbf03fc48770a82832570488812c8beedc70c36e4 (patch)
tree8e5f58aff76e948d92cb8bceb91d945b10303230 /crt/nt32/crtldso.c
parent89292f385435ef4e4fdd8f472367035503c3634e (diff)
downloadmmglue-bf03fc48770a82832570488812c8beedc70c36e4.tar.bz2
mmglue-bf03fc48770a82832570488812c8beedc70c36e4.tar.xz
process init: apply hidden visibility to all [S]crt*.o files.
Diffstat (limited to 'crt/nt32/crtldso.c')
-rw-r--r--crt/nt32/crtldso.c5
1 files changed, 3 insertions, 2 deletions
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 <unistd.h>
#include <stdint.h>
+#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;