X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ldso%2Fdynlink.c;h=d1edb131f7a8e57e1239d325a9149fb148d45e98;hb=6818c31c9bc4bbad5357f1de14bedf781e5b349e;hp=1398ff4575fd4808e98f97c43fb78f6380fccf44;hpb=a60b9e06861e56c0810bae0249b421e1758d281a;p=musl diff --git a/ldso/dynlink.c b/ldso/dynlink.c index 1398ff45..d1edb131 100644 --- a/ldso/dynlink.c +++ b/ldso/dynlink.c @@ -1644,7 +1644,7 @@ hidden void __dls2(unsigned char *base, size_t *sp) * so that loads of the thread pointer and &errno can be pure/const and * thereby hoistable. */ -_Noreturn void __dls2b(size_t *sp) +void __dls2b(size_t *sp) { /* Setup early thread pointer in builtin_tls for ldso/libc itself to * use during dynamic linking. If possible it will also serve as the @@ -1665,7 +1665,7 @@ _Noreturn void __dls2b(size_t *sp) * process dependencies and relocations for the main application and * transfer control to its entry point. */ -_Noreturn void __dls3(size_t *sp) +void __dls3(size_t *sp) { static struct dso app, vdso; size_t aux[AUX_CNT], *auxv; @@ -2217,7 +2217,7 @@ int dladdr(const void *addr_arg, Dl_info *info) } } - if (bestsym && besterr > bestsym->st_size-1) { + if (best && besterr > bestsym->st_size-1) { best = 0; bestsym = 0; }