This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.26-428-g2000067
- From: hjl at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 30 Sep 2017 09:07:39 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.26-428-g2000067
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 2000067a4be0dc8a70f6d3704a9e8388eb9066c9 (commit)
from 1e2bffd05c36a9be30d7092d6593a9e9aa009ada (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=2000067a4be0dc8a70f6d3704a9e8388eb9066c9
commit 2000067a4be0dc8a70f6d3704a9e8388eb9066c9
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Sat Sep 30 01:39:14 2017 -0700
Add a test for non-PIE static executable
tst-tls1-static-non-pie is built with $(no-pie-ldflag) to make it a
non-PIE static executable, regardless if --enable-static-pie is used
to configure glibc.
* elf/Makefile (tests-static-internal): Add
tst-tls1-static-non-pie.
(LDFLAGS-tst-tls1-static-non-pie): New.
* elf/tst-tls1-static-non-pie.c: New file.
diff --git a/ChangeLog b/ChangeLog
index 3636af0..37cd690 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf/Makefile (tests-static-internal): Add
+ tst-tls1-static-non-pie.
+ (LDFLAGS-tst-tls1-static-non-pie): New.
+ * elf/tst-tls1-static-non-pie.c: New file.
+
2017-09-29 Joseph Myers <joseph@codesourcery.com>
* sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
diff --git a/elf/Makefile b/elf/Makefile
index e21f37e..c6edebd 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -149,7 +149,10 @@ tests-static-normal := tst-leaks1-static tst-array1-static tst-array5-static \
tst-tlsalign-static tst-tlsalign-extern-static \
tst-linkall-static tst-env-setuid tst-env-setuid-tunables
tests-static-internal := tst-tls1-static tst-tls2-static \
- tst-ptrguard1-static tst-stackguard1-static
+ tst-ptrguard1-static tst-stackguard1-static \
+ tst-tls1-static-non-pie
+
+LDFLAGS-tst-tls1-static-non-pie = $(no-pie-ldflag)
tests := tst-tls9 tst-leaks1 \
tst-array1 tst-array2 tst-array3 tst-array4 tst-array5 \
diff --git a/elf/tst-tls1-static-non-pie.c b/elf/tst-tls1-static-non-pie.c
new file mode 100644
index 0000000..a010080
--- /dev/null
+++ b/elf/tst-tls1-static-non-pie.c
@@ -0,0 +1 @@
+#include "tst-tls1.c"
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
elf/Makefile | 5 ++++-
...tst-tls1-static.c => tst-tls1-static-non-pie.c} | 0
3 files changed, 11 insertions(+), 1 deletions(-)
copy elf/{tst-tls1-static.c => tst-tls1-static-non-pie.c} (100%)
hooks/post-receive
--
GNU C Library master sources