summaryrefslogtreecommitdiff
path: root/src/linker
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-04-19 15:17:05 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2018-04-19 15:17:05 +0300
commitdfcd8f70da0fa3b3cb08753e2fbeeddbc9ca7654 (patch)
tree62ff7f007be6332d7c1692e8a8f4e813fcfd9475 /src/linker
parentf2c5d2cf28d92c77a729054d12053f433fad9e1c (diff)
linker: Remove libc precond
Diffstat (limited to 'src/linker')
-rw-r--r--src/linker/linker.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/linker/linker.c b/src/linker/linker.c
index 058baa5..4645454 100644
--- a/src/linker/linker.c
+++ b/src/linker/linker.c
@@ -1615,8 +1615,7 @@ void apkenv_call_constructors_recursive(soinfo *si)
{
if (si->constructors_called)
return;
- if (strcmp(si->name, "libc.so") == 0)
-return;
+
// Set this before actually calling the constructors, otherwise it doesn't
// protect against recursive constructor calls. One simple example of
// constructor recursion is the libc debug malloc, which is implemented in