wok diff linld/stuff/src/pipehole.awk @ rev 23804

Up cryptsetup (2.3.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 24 07:30:14 2020 +0000 (2020-05-24)
parents cb9350ef2c43
children d70f7cc6e3ac
line diff
     1.1 --- a/linld/stuff/src/pipehole.awk	Sat Jan 18 11:53:11 2020 +0100
     1.2 +++ b/linld/stuff/src/pipehole.awk	Sun May 24 07:30:14 2020 +0000
     1.3 @@ -45,6 +45,12 @@
     1.4  		if (/ax,word ptr/) $0="	xchg	ax,bx"
     1.5  		if (/\[si\]$/) { islinld=0; print "; " $0; next }
     1.6  	}
     1.7 +	if (/do strcatb/) islinld=5
     1.8 +	if (islinld==5) {
     1.9 +		if (/si/) next
    1.10 +		$0="	lodsw"
    1.11 +		islinld=0
    1.12 +	}
    1.13  	 } # file == "linld.cpp"
    1.14  	 if (file == "himem.cpp") {
    1.15  	if (/void load_image/) ishimem=1