about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/ldso/dynlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c
index efb00496..7c92ef6c 100644
--- a/src/ldso/dynlink.c
+++ b/src/ldso/dynlink.c
@@ -340,7 +340,7 @@ static void do_relocs(struct dso *dso, size_t *rel, size_t rel_size, size_t stri
 					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;