aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-09-20 07:15:02 +0800
committerH.J. Lu <hjl.tools@gmail.com>2024-09-20 07:15:02 +0800
commit075c4ca29a1afb1fa19e3038cae5730487e99701 (patch)
treecb88d78d467a5f53fde6c89d60c273d651d648e5
parent8015b1b0c1a1d3a581099c4855f95e4adfa3c0ad (diff)
downloadbinutils-075c4ca29a1afb1fa19e3038cae5730487e99701.zip
binutils-075c4ca29a1afb1fa19e3038cae5730487e99701.tar.gz
binutils-075c4ca29a1afb1fa19e3038cae5730487e99701.tar.bz2
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>
-rw-r--r--ld/testsuite/ld-x86-64/x86-64.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp
index c203fbe..d87ab1f 100644
--- a/ld/testsuite/ld-x86-64/x86-64.exp
+++ b/ld/testsuite/ld-x86-64/x86-64.exp
@@ -1923,7 +1923,7 @@ if { [isnative] && [check_compiler_available] } {
] \
[list \
"Run pr32189" \
- "-nostdlib -nostartfiles" \
+ "$NOPIE_LDFLAGS -nostdlib -nostartfiles" \
"" \
{ pr32189.s } \
"pr32189" \