diff options
author | midipix <writeonce@midipix.org> | 2017-11-23 08:20:56 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-11-23 08:35:08 -0500 |
commit | d1c8880dafd022971a7a541db0d2299bbc764952 (patch) | |
tree | ab60cac3227806d7c5ba7eaee847d3a11e0e6066 /crt/nt64 | |
parent | 6f8ae442bbadc51a12ad6ce8fc94461bb1e632e8 (diff) | |
download | mmglue-d1c8880dafd022971a7a541db0d2299bbc764952.tar.bz2 mmglue-d1c8880dafd022971a7a541db0d2299bbc764952.tar.xz |
crt source files: fixed comments, whitespace meditation.
Diffstat (limited to 'crt/nt64')
-rw-r--r-- | crt/nt64/Scrt1.c | 2 | ||||
-rw-r--r-- | crt/nt64/crt1.c | 11 | ||||
-rw-r--r-- | crt/nt64/crtldso.c | 2 | ||||
-rw-r--r-- | crt/nt64/crtvrfs.c | 4 |
4 files changed, 7 insertions, 12 deletions
diff --git a/crt/nt64/Scrt1.c b/crt/nt64/Scrt1.c index bb534d3..81da1b5 100644 --- a/crt/nt64/Scrt1.c +++ b/crt/nt64/Scrt1.c @@ -1,5 +1,5 @@ /****************************************/ -/* dynamically linked applications only */ +/* statically linked applications only */ /* see also: crtidata.c */ /****************************************/ diff --git a/crt/nt64/crt1.c b/crt/nt64/crt1.c index b74a2bf..1b8eea0 100644 --- a/crt/nt64/crt1.c +++ b/crt/nt64/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/nt64/crtldso.c b/crt/nt64/crtldso.c index 2a46c84..9a79a13 100644 --- a/crt/nt64/crtldso.c +++ b/crt/nt64/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/nt64/crtvrfs.c b/crt/nt64/crtvrfs.c index 4fa743c..50fffd1 100644 --- a/crt/nt64/crtvrfs.c +++ b/crt/nt64/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}; |