diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index 54b617f..99fb5d8 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -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.