aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--elf/Makefile4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2da8ae1ce9..642d9f9662 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
+
+ * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
+ (tst-tlsmod6.so): Likewise.
+
2014-05-09 Roland McGrath <roland@hack.frob.com>
* sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
diff --git a/elf/Makefile b/elf/Makefile
index 3d675d7003..084abcaf2c 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -521,8 +521,8 @@ LDFLAGS-tst-initordera2.so = $(no-as-needed)
LDFLAGS-tst-initordera3.so = $(no-as-needed)
LDFLAGS-tst-initordera4.so = $(no-as-needed)
LDFLAGS-tst-initorderb2.so = $(no-as-needed)
-LDFLAGS-tst-tlsmod5.so = -nostdlib
-LDFLAGS-tst-tlsmod6.so = -nostdlib
+LDFLAGS-tst-tlsmod5.so = -nostdlib $(no-as-needed)
+LDFLAGS-tst-tlsmod6.so = -nostdlib $(no-as-needed)
testobj1.so-no-z-defs = yes
testobj3.so-no-z-defs = yes