x86-64: Disable PIE on PR gas/32189 test

Disable PIE on PR gas/32189 test, which contains the non-PIE assembly
source, to support GCC defaulted to PIE.

	PR gas/32189
	* testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS to linker
	on PR gas/32189 test.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
H.J. Lu 2024-09-20 07:15:02 +08:00
parent 8015b1b0c1
commit 075c4ca29a

View File

@ -1923,7 +1923,7 @@ if { [isnative] && [check_compiler_available] } {
] \
[list \
"Run pr32189" \
"-nostdlib -nostartfiles" \
"$NOPIE_LDFLAGS -nostdlib -nostartfiles" \
"" \
{ pr32189.s } \
"pr32189" \