aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog5
-rw-r--r--nptl/Makefile4
-rw-r--r--nptl/tst-execstack-mod.c1
3 files changed, 8 insertions, 2 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 031c9e08cd..0ee343c3d1 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-24 Ulrich Drepper <drepper@redhat.com>
+
+ * Makefile: Build tst-execstack-mod locally.
+ * tst-execstack-mod.c: New file.
+
2003-09-23 Jakub Jelinek <jakub@redhat.com>
* Makefile (tests): Only add tst-execstack if have-z-execstack is yes.
diff --git a/nptl/Makefile b/nptl/Makefile
index cf438bbdb6..b0962dc662 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -261,7 +261,7 @@ endif
modules-names = tst-atfork2mod tst-tls3mod tst-tls4moda tst-tls4modb \
tst-tls5mod tst-tls5moda tst-tls5modb tst-tls5modc \
tst-tls5modd tst-tls5mode tst-tls5modf \
- tst-_res1mod1 tst-_res1mod2
+ tst-_res1mod1 tst-_res1mod2 tst-execstack-mod
extra-objs += $(addsuffix .os,$(strip $(modules-names)))
test-extras += $(modules-names)
test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(modules-names)))
@@ -545,5 +545,5 @@ endif
tst-exec4-ARGS = $(built-program-cmd)
$(objpfx)tst-execstack: $(libdl)
-$(objpfx)tst-execstack.out: $(elf-objpfx)tst-execstack-mod.so
+$(objpfx)tst-execstack.out: $(objpfx)tst-execstack-mod.so
LDFLAGS-tst-execstack = -Wl,-z,noexecstack
diff --git a/nptl/tst-execstack-mod.c b/nptl/tst-execstack-mod.c
new file mode 100644
index 0000000000..5b9812c258
--- /dev/null
+++ b/nptl/tst-execstack-mod.c
@@ -0,0 +1 @@
+#include "../elf/tst-execstack-mod.c"