wok diff linld/stuff/src/pipehole.awk @ rev 25629
Fix xscreensaver and up to 5.45 (thanks Pat)
| author | Stanislas Leduc <shann@slitaz.org> |
|---|---|
| date | Tue Dec 19 20:23:40 2023 +0100 (22 months ago) |
| parents | c11594098e34 |
| children |
line diff
1.1 --- a/linld/stuff/src/pipehole.awk Fri Feb 25 18:06:36 2022 +0000 1.2 +++ b/linld/stuff/src/pipehole.awk Tue Dec 19 20:23:40 2023 +0100 1.3 @@ -67,12 +67,10 @@ 1.4 if (islinld==7) { 1.5 if (/endif/) islinld=0 1.6 if (/mov/) sub(/ax/,"cx"); 1.7 - if (/;/ || /_memtop/ || /mov/) { print; next } 1.8 - if (/ax,0/) { 1.9 - print " jcxz minram_done" 1.10 - print " cmp cx,dx" 1.11 + if (/;/ || /_memtop/) print 1.12 + if (/cmdnum/) { 1.13 + print 1.14 print " ja call_exit" 1.15 - print "minram_done:" 1.16 } 1.17 next 1.18 }