diff options
author | midipix <writeonce@midipix.org> | 2019-02-02 02:41:27 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-02-19 14:48:49 -0500 |
commit | 89292f385435ef4e4fdd8f472367035503c3634e (patch) | |
tree | fe6eb840efbfbf7ac321468d10844225ec7de83b /crt/nt32 | |
parent | 07b6814a07b3c94bf8b4ba2e2a906175fbf89ffd (diff) | |
download | mmglue-89292f385435ef4e4fdd8f472367035503c3634e.tar.bz2 mmglue-89292f385435ef4e4fdd8f472367035503c3634e.tar.xz |
_start(): directly refer to main() via hidden visibility.
Diffstat (limited to 'crt/nt32')
-rw-r--r-- | crt/nt32/crt1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crt/nt32/crt1.c b/crt/nt32/crt1.c index 1b8eea0..8c93c32 100644 --- a/crt/nt32/crt1.c +++ b/crt/nt32/crt1.c @@ -4,7 +4,7 @@ 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(); +int __attribute__((visibility("hidden"))) main(); void __libc_loader_init(void * __main, int flags); void _start(void) |