/^System is [[:digit:]]+ kB$/d
/^CRC [[:xdigit:]]+$/d
/^Kernel: arch\/x86\/boot\/bzImage is ready \(#[[:digit:]]+\)$/d
-/^WARNING: vmlinux\.o\(\.text\+0x[[:xdigit:]]+\): Section mismatch in reference from /d
-/^WARNING: drivers\/built-in\.o\(\.text\+0x[[:xdigit:]]+\): Section mismatch in reference from /d
+s/^(WARNING: (drivers\/built-in|vmlinux)\.o\(\.(data|text)\+0x)[[:xdigit:]]+(\): Section mismatch in reference from .*)$/\1XXXX\4/
/^Warning: Kernel ABI header at /d
/^[[:space:]]+PERF_VERSION = /d
s/^(Parsed description of) [[:digit:]]+ (helper function)/\1 X \2/
-s/^([[:xdigit:]]+)([[:space:]]+R_PPC64_(ADDR64|REL32)[[:space:]].*)$/XXX\2/'
+s/^[[:xdigit:]]+([[:space:]]+R_PPC64_(ADDR64|REL32)[[:space:]].*)$/XXX\1/'
$cmd <<-EOF