* lib/ld-lib.exp (default_ld_link): Remove support for ldflags.

(default_ld_simple_link): Likewise.
This commit is contained in:
Vidya Praveen 2014-01-14 13:09:22 +00:00 committed by Nick Clifton
parent 73812f599c
commit c0a6c611f1
2 changed files with 6 additions and 9 deletions

View File

@ -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.

View File

@ -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.