summaryrefslogtreecommitdiffhomepage
path: root/crt/nt32/crtldso.c
diff options
context:
space:
mode:
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;