remove always-true conditional in dynamic linker TLSDESC processing
the allocating path which can fail is for dynamic TLS, which can only
occur at runtime, and the check for runtime was already made in the
outer conditional.
diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c
index efb0049..7c92ef6 100644
--- a/src/ldso/dynlink.c
+++ b/src/ldso/dynlink.c
@@ -340,7 +340,7 @@
error(
"Error relocating %s: cannot allocate TLSDESC for %s",
dso->name, sym ? name : "(local)" );
- if (runtime) longjmp(*rtld_fail, 1);
+ longjmp(*rtld_fail, 1);
}
new->next = dso->td_index;
dso->td_index = new;