# HG changeset patch # User Shinji KONO # Date 1254534616 -32400 # Node ID c5f283bd88afc32806a89ccd28a370bbbf7658ca # Parent 16f0abb574b7b0df92df1178c5a8afe91a0310fd fix diff -r 16f0abb574b7 -r c5f283bd88af 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 ; }