aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorVidya Praveen <vidyapraveen@arm.com>2014-01-14 13:09:22 +0000
committerNick Clifton <nickc@redhat.com>2014-01-14 13:09:22 +0000
commitc0a6c611f171a40b0c69fdc2fb29b75abfd90ba6 (patch)
treee01fe51f2f81770212cd5c5171ca990ab88fa239 /ld/testsuite
parent73812f599c58b21a25c295e6ba546e875e63be50 (diff)
downloadgdb-c0a6c611f171a40b0c69fdc2fb29b75abfd90ba6.zip
gdb-c0a6c611f171a40b0c69fdc2fb29b75abfd90ba6.tar.gz
gdb-c0a6c611f171a40b0c69fdc2fb29b75abfd90ba6.tar.bz2
* lib/ld-lib.exp (default_ld_link): Remove support for ldflags.
(default_ld_simple_link): Likewise.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/lib/ld-lib.exp10
2 files changed, 6 insertions, 9 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 756e7ae..cd97fd5 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2014-01-14 Vidya Praveen <vidyapraveen@arm.com>
+
+ * lib/ld-lib.exp (default_ld_link): Remove support for ldflags.
+ (default_ld_simple_link): Likewise.
+
2014-01-10 Alan Modra <amodra@gmail.com>
* ld-x86-64/pr14207.d: Adjust.
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index 54b617f..46e7b5f 100644
--- a/ld/testsuite/lib/ld-lib.exp
+++ b/ld/testsuite/lib/ld-lib.exp
@@ -1,5 +1,5 @@
# Support routines for LD testsuite.
-# Copyright 1994-2013 Free Software Foundation, Inc.
+# Copyright 1994-2014 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
@@ -199,10 +199,6 @@ proc default_ld_link { ld target objects } {
set flags ""
}
- if [board_info [target_info name] exists ldflags] {
- append flags " [board_info [target_info name] ldflags]"
- }
-
remote_file host delete $target
return [run_host_cmd_yesno "$ld" "$HOSTING_EMU $flags -o $target $objs $libs"]
@@ -221,10 +217,6 @@ proc default_ld_simple_link { ld target objects } {
set flags ""
}
- if [board_info [target_info name] exists ldflags] {
- append flags " [board_info [target_info name] ldflags]"
- }
-
# If we are compiling with gcc, we want to add gcc_ld_flag to
# flags. Rather than determine this in some complex way, we guess
# based on the name of the compiler.