# HG changeset patch # User Shinji KONO # Date 1254534616 -32400 # Node ID 077845279741a93e04f58f53e714ffc6444f5c00 # Parent 7777761e8e02fcd890d39d8b288f381e0705cbb8 fix diff -r 7777761e8e02 -r 077845279741 bin/cell_fixpic.pl --- a/bin/cell_fixpic.pl Sat Oct 03 10:49:51 2009 +0900 +++ b/bin/cell_fixpic.pl Sat Oct 03 10:50:16 2009 +0900 @@ -46,14 +46,17 @@ for(@line) { if (! /^#/) { - next if (/\.section\s+\.rodata/); - if(/\s(br)\s+([^\s]+)/||/\s(brsl|hbrr)\s+[^\s]+,\s*([^\s]+)/) { + next if (/\.section\s+\.rodata/); + if (/\s(brsl|hbrr|br)\s+[^\s]+,\s*(\d+[fb])/) { + } elsif(/\s(br)\s+([^\s]+)/||/\s(brsl|hbrr)\s+[^\s]+,\s*([^\s]+)/) { my $name = $2; if (! defined $local{$name} || defined $weak{$name} ) { s/hbrr/hbra/ || s/brsl/brasl/ || s/br/bra/ ; } + } + # } elsif(/\s(lqr)\s+(\$\d+),([^\s]+)/) { # my $name = $2; # if (! defined $local{$name} || defined $weak{$name} ) { @@ -66,7 +69,6 @@ # } else { # $_ = "\tai\t$2,\$0,$3-.\n"; # } - } } print ; }