notaz.gp2x.de
/
ia32rtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bafb62
)
asm fix, new c remove list
author
notaz
<notasas@gmail.com>
Mon, 9 Dec 2013 00:18:32 +0000
(
02:18
+0200)
committer
notaz
<notasas@gmail.com>
Mon, 9 Dec 2013 00:18:32 +0000
(
02:18
+0200)
run_sed.sh
patch
|
blob
|
blame
|
history
diff --git
a/run_sed.sh
b/run_sed.sh
index
115ab6a
..
df6ae5d
100755
(executable)
--- a/
run_sed.sh
+++ b/
run_sed.sh
@@
-12,7
+12,7
@@
for sym in $usyms; do
done
echo "\
-s/^\(loc[r_].*[0-9A-F]:\)[^:]\(.*\;\)/\1:\t\2/g;\
+s/^\(
[ ]\?
loc[r_].*[0-9A-F]:\)[^:]\(.*\;\)/\1:\t\2/g;\
s/dd[[:blank:]]rva/dd/;\
s/\<fldcw\>\t\[esp+4+var_4\]/fldcw\tword ptr \[esp\]/;\
s/\<large \(.*fs:\)/\1/;\
@@
-24,7
+24,7
@@
s/\<pushf\>/pushfd/;\
s/\<popf\>/popfd/;\
s/\(\<j[mn]\?[abceglopszp]e\?\>\)\tloc_/\1\tnear ptr loc_/;\
s/\<jmp\tsub_/jmp\tnear ptr sub_/;\
-'
StarCraft.asm
" >> $f
+'
$1
" >> $f
. $f
# manual fixup: