projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* elflink.c (elf_link_output_extsym): Weaken assertion: if --gc-section is set, there...
[external/binutils.git]
/
ld
/
testsuite
/
ld-elf
/
elf.exp
diff --git
a/ld/testsuite/ld-elf/elf.exp
b/ld/testsuite/ld-elf/elf.exp
index
dc6a3a6
..
080d985
100644
(file)
--- a/
ld/testsuite/ld-elf/elf.exp
+++ b/
ld/testsuite/ld-elf/elf.exp
@@
-53,6
+53,13
@@
if { [istarget *-*-linux*] } {
}
}
+if { [check_gc_sections_available] } {
+ run_ld_link_tests {
+ {"--gc-sections on tls variable"
+ "--gc-section" "" {tls_gc.s} {} "tls_gc"}
+ }
+}
+
# The following tests require running the executable generated by ld.
if ![isnative] {
return