summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2019-11-06 04:33:22 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2019-11-06 04:33:56 +0100
commitcb9d1f53717dd67892ba943626f3d1b46f3e760b (patch)
tree354ae263423ca4c024dd17e5d068f73d4366cd3b /libc/misc
parent858ffad217076227089cc17eb832db0bd1497792 (diff)
riscv64: lazy relocations do not work like sparc/m68k
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/internals/__uClibc_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c
index 6611090bd..affa0ce0a 100644
--- a/libc/misc/internals/__uClibc_main.c
+++ b/libc/misc/internals/__uClibc_main.c
@@ -500,6 +500,7 @@ void __uClibc_main(int (*main)(int, char **, char **), int argc,
#endif
}
# endif
+#endif
/* Note: It is possible that any initialization done above could
* have resulted in errno being set nonzero, so set it to 0 before
@@ -511,7 +512,6 @@ void __uClibc_main(int (*main)(int, char **, char **), int argc,
/* Set h_errno to 0 as well */
if (likely(not_null_ptr(__h_errno_location)))
*(__h_errno_location()) = 0;
-#endif
#if defined HAVE_CLEANUP_JMP_BUF && defined __UCLIBC_HAS_THREADS_NATIVE__
/* Memory for the cancellation buffer. */