Run plt-main test with -pie

* ld-x86-64/x86-64.exp: Run plt-main test with -pie.
This commit is contained in:
H.J. Lu 2014-11-21 07:57:38 -08:00
parent 278289d5d7
commit ce641d0b6b
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
* ld-x86-64/x86-64.exp: Run plt-main test with -pie.
2014-11-21 Terry Guo <terry.guo@arm.com>
* ld-arm/tls-longplt-lib.s: Require ARMv6T2.

View File

@ -386,6 +386,16 @@ if { [isnative] && [which $CC] != 0 } {
"plt-main" \
"plt-main.out" \
] \
[list \
"Run plt-main with PIE" \
"tmpdir/plt-main1.o tmpdir/plt-main2.o tmpdir/plt-main3.o \
tmpdir/plt-main4.o tmpdir/libplt-lib.so -pie" \
"" \
{ plt-main5.c } \
"plt-main-pie" \
"plt-main.out" \
"-fPIC" \
] \
]
}