projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ff9675
)
ld/testsuite/ld-elfvsb: correctly test "weak hidden symbol DSO last"
author
Clément Chigot
<clement.chigot@atos.net>
Wed, 24 Nov 2021 14:56:51 +0000
(15:56 +0100)
committer
Clément Chigot
<clement.chigot@atos.net>
Thu, 25 Nov 2021 07:59:21 +0000
(08:59 +0100)
The test must be done with the shared object and not with the object
file which is already being tested above.
ld/
* testsuite/ld-elfvsb/elfvsb.exp: use .so file in "weak hidden
symbol DSO last"
ld/testsuite/ld-elfvsb/elfvsb.exp
patch
|
blob
|
history
diff --git
a/ld/testsuite/ld-elfvsb/elfvsb.exp
b/ld/testsuite/ld-elfvsb/elfvsb.exp
index 1866be5e66d65a537b068411d3fb43a6aa56a719..735a3d8bff181e04d7c6afc4b302ced554b68b74 100644
(file)
--- a/
ld/testsuite/ld-elfvsb/elfvsb.exp
+++ b/
ld/testsuite/ld-elfvsb/elfvsb.exp
@@
-464,7
+464,7
@@
if { ![ld_compile "$CC_FOR_TARGET -g $NOSANITIZE_CFLAGS $NOLTO_CFLAGS" $srcdir/$
if ![ld_link $ld tmpdir/sh3.so "-shared tmpdir/sh3.o"] {
fail "weak hidden symbol"
} else {
- if ![ld_link $ld tmpdir/weak "tmpdir/test.o tmpdir/sh3.o"] {
+ if ![ld_link $ld tmpdir/weak "tmpdir/test.o tmpdir/sh3.
s
o"] {
fail "weak hidden symbol DSO last"
} else {
pass "weak hidden symbol DSO last"