mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
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.
This commit is contained in:
parent
1e2bffd05c
commit
2000067a4b
@ -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>.
|
||||
|
@ -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 \
|
||||
|
1
elf/tst-tls1-static-non-pie.c
Normal file
1
elf/tst-tls1-static-non-pie.c
Normal file
@ -0,0 +1 @@
|
||||
#include "tst-tls1.c"
|
Loading…
Reference in New Issue
Block a user