diff options
Diffstat (limited to 'crt/nt32')
-rw-r--r-- | crt/nt32/Scrt1.c | 2 | ||||
-rw-r--r-- | crt/nt32/crt1.c | 11 | ||||
-rw-r--r-- | crt/nt32/crtldso.c | 2 | ||||
-rw-r--r-- | crt/nt32/crtvrfs.c | 4 |
4 files changed, 7 insertions, 12 deletions
diff --git a/crt/nt32/Scrt1.c b/crt/nt32/Scrt1.c index bb534d3..81da1b5 100644 --- a/crt/nt32/Scrt1.c +++ b/crt/nt32/Scrt1.c @@ -1,5 +1,5 @@ /****************************************/ -/* dynamically linked applications only */ +/* statically linked applications only */ /* see also: crtidata.c */ /****************************************/ diff --git a/crt/nt32/crt1.c b/crt/nt32/crt1.c index b74a2bf..1b8eea0 100644 --- a/crt/nt32/crt1.c +++ b/crt/nt32/crt1.c @@ -1,13 +1,8 @@ -/** - * options: posix session, fallback terminal emulator - * x86_64-nt64-midipix-gcc --target-help | grep -A2 posix -**/ - static const int __disabled = 0; extern const int __crtopt_posix __attribute((weak,alias("__disabled"))); -extern const int __crtopt_dinga __attribute((weak,alias("__disabled"))); -extern const int __crtopt_ldso __attribute((weak,alias("__disabled"))); -extern const int __crtopt_vrfs __attribute((weak,alias("__disabled"))); +extern const int __crtopt_dinga __attribute((weak,alias("__disabled"))); +extern const int __crtopt_ldso __attribute((weak,alias("__disabled"))); +extern const int __crtopt_vrfs __attribute((weak,alias("__disabled"))); int main(); void __libc_loader_init(void * __main, int flags); diff --git a/crt/nt32/crtldso.c b/crt/nt32/crtldso.c index 2a46c84..9a79a13 100644 --- a/crt/nt32/crtldso.c +++ b/crt/nt32/crtldso.c @@ -13,7 +13,7 @@ static const unsigned short __rrldso[] = {'l','i','b','\\', 'l','i','b','p','s','x','s','c','l', '.','s','o',0}; -/* loader root-relative name */ +/* libc root-relative name */ static const unsigned short __rrlibc[] = {'l','i','b','\\', 'l','i','b','c', '.','s','o',0}; diff --git a/crt/nt32/crtvrfs.c b/crt/nt32/crtvrfs.c index 4fa743c..50fffd1 100644 --- a/crt/nt32/crtvrfs.c +++ b/crt/nt32/crtvrfs.c @@ -8,11 +8,11 @@ const int __crtopt_vrfs = __PSXOPT_VRFS; /* framework (rtdata) abi */ static const struct __guid __ldsoabi = NT_PROCESS_GUID_RTDATA; -/* loader root-relative name */ +/* loader standalone (single directory) name */ static const unsigned short __sdldso[] = {'l','i','b','p','s','x','s','c','l', '.','s','o',0}; -/* loader root-relative name */ +/* libc standalone (single directory) name */ static const unsigned short __sdlibc[] = {'l','i','b','c', '.','s','o',0}; |