ld-x86-64: Pass -z notext to linker for tests with DT_TEXTREL
* testsuite/ld-x86-64/x86-64.exp: Pass -z notext to linker.
This commit is contained in:
parent
af2c48d854
commit
07e0bb0fb2
|
@ -1,3 +1,7 @@
|
||||||
|
2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* testsuite/ld-x86-64/x86-64.exp: Pass -z notext to linker.
|
||||||
|
|
||||||
2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
|
2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* testsuite/ld-elf/eh6.d: Pass -z notext to linker.
|
* testsuite/ld-elf/eh6.d: Pass -z notext to linker.
|
||||||
|
|
|
@ -1446,7 +1446,7 @@ if { [isnative] && [check_compiler_available] } {
|
||||||
run_cc_link_tests [list \
|
run_cc_link_tests [list \
|
||||||
[list \
|
[list \
|
||||||
"Build pr22001-1b" \
|
"Build pr22001-1b" \
|
||||||
"$NOPIE_LDFLAGS -Wl,-z,nocopyreloc,--no-as-needed tmpdir/pr22001-1.so" \
|
"$NOPIE_LDFLAGS -Wl,-z,nocopyreloc,--no-as-needed,-z,notext tmpdir/pr22001-1.so" \
|
||||||
"$NOPIE_CFLAGS -Wa,-mx86-used-note=yes" \
|
"$NOPIE_CFLAGS -Wa,-mx86-used-note=yes" \
|
||||||
{ pr22001-1c.c } \
|
{ pr22001-1c.c } \
|
||||||
{{error_output "pr22001-1b.err"}} \
|
{{error_output "pr22001-1b.err"}} \
|
||||||
|
@ -1454,7 +1454,7 @@ if { [isnative] && [check_compiler_available] } {
|
||||||
] \
|
] \
|
||||||
[list \
|
[list \
|
||||||
"Build pr21997-1b" \
|
"Build pr21997-1b" \
|
||||||
"$NOPIE_LDFLAGS -Wl,--no-as-needed tmpdir/pr21997-1.so" \
|
"$NOPIE_LDFLAGS -Wl,--no-as-needed,-z,notext tmpdir/pr21997-1.so" \
|
||||||
"$NOPIE_CFLAGS -Wa,-mx86-used-note=yes" \
|
"$NOPIE_CFLAGS -Wa,-mx86-used-note=yes" \
|
||||||
{ pr21997-1c.c } \
|
{ pr21997-1c.c } \
|
||||||
{{error_output "pr21997-1b.err"}} \
|
{{error_output "pr21997-1b.err"}} \
|
||||||
|
|
Loading…
Reference in New Issue