[binutils-gdb] x86-64: Disable PIE on PR gas/32189 test
H.J. Lu
hjl@sourceware.org
Thu Sep 19 23:18:56 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=075c4ca29a1afb1fa19e3038cae5730487e99701
commit 075c4ca29a1afb1fa19e3038cae5730487e99701
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Fri Sep 20 07:15:02 2024 +0800
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>
Diff:
---
ld/testsuite/ld-x86-64/x86-64.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp
index c203fbe4037..d87ab1f8916 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" \
More information about the Binutils-cvs
mailing list