[binutils-gdb] sframe: Add -nostdlib when testing PR 32789
Claudiu Zissulescu
claziss@sourceware.org
Wed Jan 21 09:14:16 GMT 2026
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0805965b3636e5e77b2cca217adbe4b34490227c
commit 0805965b3636e5e77b2cca217adbe4b34490227c
Author: Claudiu Zissulescu <claudiu.zissulescu-ianculescu@oracle.com>
Date: Tue Jan 20 16:49:11 2026 +0200
sframe: Add -nostdlib when testing PR 32789
As a result of the mail exchange in
https://sourceware.org/pipermail/binutils/2026-January/147439.html,
the run_cc_link_test procedure may want to link standard libs
too. However, this is not required for running PR 32789 tests. Add
-nostdlib option.
ld/
* testsuite/ld-sframe/sframe.exp: Add nostdlib when testing PR
32789.
Signed-off-by: Claudiu Zissulescu <claudiu.zissulescu-ianculescu@oracle.com>
Diff:
---
ld/testsuite/ld-sframe/sframe.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ld/testsuite/ld-sframe/sframe.exp b/ld/testsuite/ld-sframe/sframe.exp
index ab386d7ca65..c0c3f1be0d5 100644
--- a/ld/testsuite/ld-sframe/sframe.exp
+++ b/ld/testsuite/ld-sframe/sframe.exp
@@ -95,7 +95,7 @@ if { [check_compiler_available] } {
run_cc_link_tests [list \
[list \
"Build pr32789-1a.o pr32789-1b.o" \
- "-r" \
+ "-r -nostdlib" \
"-Wa,--gsframe" \
{ pr32789-1a.c pr32789-1b.c } \
{{readelf --sframe pr32789-1.sd}
More information about the Binutils-cvs
mailing list