ld testsuite cleanups
Ben Elliston
bje@au1.ibm.com
Wed May 12 03:08:00 GMT 2004
More changes along the same lines as my previous message:
2004-05-12 Ben Elliston <bje@au.ibm.com>
* ld-sh/sh64/relax.exp: Remove stray semicolons.
* ld-sh/sh64/relfail.exp: Likewise.
* lib/ld-lib.exp: Likewise.
Index: ld-sh/sh64/relax.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/sh64/relax.exp,v
retrieving revision 1.3
diff -u -p -r1.3 relax.exp
--- ld-sh/sh64/relax.exp 13 Oct 2003 05:09:21 -0000 1.3
+++ ld-sh/sh64/relax.exp 12 May 2004 03:07:23 -0000
@@ -116,7 +116,7 @@ proc run_sh64relaxtest {sh64relaxtests}
if {$expect_relaxed == -1} {
pass $testname
- continue;
+ continue
}
verbose "$testname: file $binfile doesn't exist" 1
Index: ld-sh/sh64/relfail.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/sh64/relfail.exp,v
retrieving revision 1.3
diff -u -p -r1.3 relfail.exp
--- ld-sh/sh64/relfail.exp 13 Oct 2003 05:09:21 -0000 1.3
+++ ld-sh/sh64/relfail.exp 12 May 2004 03:07:23 -0000
@@ -150,10 +150,10 @@ proc run_sh64relfailtests {sh64relfailte
}
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 {sh64relfailte
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"] {
Index: lib/ld-lib.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/lib/ld-lib.exp,v
retrieving revision 1.26
diff -u -p -r1.26 ld-lib.exp
--- lib/ld-lib.exp 6 Jan 2004 19:19:31 -0000 1.26
+++ lib/ld-lib.exp 12 May 2004 03:07:23 -0000
@@ -90,7 +90,7 @@ proc is_endian_output_format { object_fl
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 obje
}
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"
More information about the Binutils
mailing list