# HG changeset patch # User Pascal Bellard # Date 1543663532 -3600 # Node ID 6774699d48355e1d3c7cfad72fbe24742dfff749 # Parent 857bcb9a456d3498ac55d89bb0e3c2b4739b953d linld: typos (again) diff -r 857bcb9a456d -r 6774699d4835 linld/stuff/src/pipehole.awk --- a/linld/stuff/src/pipehole.awk Sat Dec 01 12:11:23 2018 +0100 +++ b/linld/stuff/src/pipehole.awk Sat Dec 01 12:25:32 2018 +0100 @@ -156,9 +156,8 @@ split($0,args,",") if (args[2] == "large") { args[2] = $3 } if (isnum(args[2])) { - if (args[2] % 16777216 == 0) { + if (/dword ptr/ && args[2] % 16777216 == 0) { sub(/dword/,"byte",s); - sub(/ e/,"",s); sub(/x,/,"h,",s) || sub(/\],/,"+3],",s) || sub(/,/,"+3,",s) print s "/16777216"; next }