]> sourceware.org Git - glibc.git/commitdiff
elf: Fix the ld flags not be applied to tst-execstack-mod.so
authorZong Li <zong@andestech.com>
Thu, 25 Oct 2018 11:08:24 +0000 (13:08 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 25 Oct 2018 11:08:24 +0000 (13:08 +0200)
The Makefile variable name lacked the file extension (.so).  As a
result, tst-execstack-mod.so was not linked with the -z execstack
flag.

ChangeLog
elf/Makefile

index 7a4063bd0ea094b817dd2c635e36d7ae58419dfb..0e4069ce4bd6f8c96ced8461d107001b50ef629d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-10-25  Zong Li  <zong@andestech.com>
+
+       * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
+       name by adding the file extension (.so).
+
 2018-10-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
        * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
index 455ec730fc19dcb1555d63f41c6cf8b815be4259..e86874492e343073392497baf0d02726992ff536 100644 (file)
@@ -1012,7 +1012,7 @@ $(objpfx)tst-execstack: $(libdl)
 $(objpfx)tst-execstack.out: $(objpfx)tst-execstack-mod.so
 CPPFLAGS-tst-execstack.c += -DUSE_PTHREADS=0
 LDFLAGS-tst-execstack = -Wl,-z,noexecstack
-LDFLAGS-tst-execstack-mod = -Wl,-z,execstack
+LDFLAGS-tst-execstack-mod.so = -Wl,-z,execstack
 
 $(objpfx)tst-execstack-needed: $(objpfx)tst-execstack-mod.so
 LDFLAGS-tst-execstack-needed = -Wl,-z,noexecstack
This page took 0.070581 seconds and 5 git commands to generate.