aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/testsuite/lib/ld-lib.exp17
2 files changed, 5 insertions, 17 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 0453e2e..7fee0dd 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
+
+ * testsuite/lib/ld-lib.exp (check_shared_lib_support): Moved to
+ binutils-common.exp.
+
2018-10-29 Alan Modra <amodra@gmail.com>
* ldlang.c (load_symbols): When -t, print file names for script
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index d6453f19..3fb1e58 100644
--- a/ld/testsuite/lib/ld-lib.exp
+++ b/ld/testsuite/lib/ld-lib.exp
@@ -1069,23 +1069,6 @@ proc check_gc_sections_available { } {
return $gc_sections_available_saved
}
-# Returns true if -shared is supported on the target
-
-proc check_shared_lib_support { } {
- global shared_available_saved
- global ld
-
- if {![info exists shared_available_saved]} {
- set ld_output [remote_exec host $ld "-shared"]
- if { [ string first "not supported" $ld_output ] >= 0 } {
- set shared_available_saved 0
- } else {
- set shared_available_saved 1
- }
- }
- return $shared_available_saved
-}
-
# Return true if target uses genelf.em (assuming it is ELF).
proc is_generic_elf { } {
if { [istarget "d30v-*-*"]