diff options
author | Ben Elliston <bje@gnu.org> | 2006-05-22 07:09:39 +0000 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2006-05-22 07:09:39 +0000 |
commit | 459573046abde19dc73ec156a739490208af8e81 (patch) | |
tree | 975757fbde028e86fe2207f04fa5cd86388f6b61 /baseboards | |
parent | 433e1aeb52247acb6ebed9b7ecba5077eb7a7083 (diff) |
* baseboards/cris-sim.exp: Use switch, not case.
* baseboards/h8300.exp: Likewise.
* config/base68k.exp (base68k_ld): Brace an if expression.
Diffstat (limited to 'baseboards')
-rw-r--r-- | baseboards/cris-sim.exp | 2 | ||||
-rw-r--r-- | baseboards/h8300.exp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/baseboards/cris-sim.exp b/baseboards/cris-sim.exp index 732e490..3ef4e5b 100644 --- a/baseboards/cris-sim.exp +++ b/baseboards/cris-sim.exp @@ -29,7 +29,7 @@ foreach x $board_variant_list { regsub -all "^\[ \t\]*" "$x" "" x;
regsub -all "\[ \t\]*$" "$x" "" x;
- case $x in {
+ switch $x {
# We force the arch to either pre-v32 (i.e. v10) or v32 for the
# "common" compatible subset, by letting the otherwise
# functionally equivalent gcc options "-march=..." and
diff --git a/baseboards/h8300.exp b/baseboards/h8300.exp index 5bb7dd6..bedb4f2 100644 --- a/baseboards/h8300.exp +++ b/baseboards/h8300.exp @@ -67,7 +67,7 @@ foreach x $board_variant_list { regsub -all "^\[ \t\]*" "$x" "" x regsub -all "\[ \t\]*$" "$x" "" x - case $x in { + switch $x { { h -mh } { set linker_script "h8300h.ld" } |