From b24f926d5bbe0644c5396f5e2c5c4db1b56c99fb Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Wed, 12 May 2004 03:08:09 +0000 Subject: [PATCH] * ld-sh/sh64/relax.exp: Remove stray semicolons. * ld-sh/sh64/relfail.exp: Likewise. * lib/ld-lib.exp: Likewise. --- ld/testsuite/ChangeLog | 6 ++++++ ld/testsuite/ld-sh/sh64/relax.exp | 2 +- ld/testsuite/ld-sh/sh64/relfail.exp | 6 +++--- ld/testsuite/lib/ld-lib.exp | 4 ++-- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 3abac4cf117..53527650df0 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2004-05-12 Ben Elliston + + * ld-sh/sh64/relax.exp: Remove stray semicolons. + * ld-sh/sh64/relfail.exp: Likewise. + * lib/ld-lib.exp: Likewise. + 2004-05-11 Jakub Jelinek * ld-i386/tlspic.rd: Adjust for section reordering changes diff --git a/ld/testsuite/ld-sh/sh64/relax.exp b/ld/testsuite/ld-sh/sh64/relax.exp index 5c8c996cb4b..43fefcefcd7 100644 --- a/ld/testsuite/ld-sh/sh64/relax.exp +++ b/ld/testsuite/ld-sh/sh64/relax.exp @@ -116,7 +116,7 @@ proc run_sh64relaxtest {sh64relaxtests} { if {$expect_relaxed == -1} { pass $testname - continue; + continue } verbose "$testname: file $binfile doesn't exist" 1 diff --git a/ld/testsuite/ld-sh/sh64/relfail.exp b/ld/testsuite/ld-sh/sh64/relfail.exp index f9f9210bf77..7cbe108d3e4 100644 --- a/ld/testsuite/ld-sh/sh64/relfail.exp +++ b/ld/testsuite/ld-sh/sh64/relfail.exp @@ -150,10 +150,10 @@ proc run_sh64relfailtests {sh64relfailtests} { } if {$as_options == ""} { - set as_options $def_as_options; + set as_options $def_as_options } if {$ld_options == ""} { - set ld_options $def_ld_options; + set ld_options $def_ld_options } if { $is_unresolved } { @@ -165,7 +165,7 @@ proc run_sh64relfailtests {sh64relfailtests} { puts $asm " .text" puts $asm " .global $startsym" puts $asm "$startsym:" - puts $asm " $opcode"; + puts $asm " $opcode" close $asm if ![ld_assemble $as "$as_options tmpdir/relfail-$testindex.s" "tmpdir/relfail-$testindex.o"] { diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index acb7a5d175d..3758937f2cd 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -90,7 +90,7 @@ proc is_endian_output_format { object_flags } { proc big_or_little_endian {} { if [board_info [target_info name] exists multilib_flags] { - set tmp_flags " [board_info [target_info name] multilib_flags]"; + set tmp_flags " [board_info [target_info name] multilib_flags]" foreach x $tmp_flags { case $x in { @@ -235,7 +235,7 @@ proc default_ld_compile { cc source object } { } if [board_info [target_info name] exists multilib_flags] { - append flags " [board_info [target_info name] multilib_flags]"; + append flags " [board_info [target_info name] multilib_flags]" } verbose -log "$cc $flags -c $source -o $object" -- 2.30.2