]> git.baikalelectronics.ru Git - kernel.git/commit
recordmcount.pl: look for jgnop instruction as well as bcrl on s390
authorJerome Marchand <jmarchan@redhat.com>
Fri, 10 Dec 2021 09:38:27 +0000 (10:38 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Sun, 12 Dec 2021 17:52:26 +0000 (18:52 +0100)
commit1922ac9585ee8728c620bea20b0e4b3be06f022e
treec5e486c88eca05986821834643e7d5dc261c294e
parent416198b460d67a6d14c871d9dc8046512174d706
recordmcount.pl: look for jgnop instruction as well as bcrl on s390

On s390, recordmcount.pl is looking for "bcrl 0,<xxx>" instructions in
the objdump -d outpout. However since binutils 2.37, objdump -d
display "jgnop <xxx>" for the same instruction. Update the
mcount_regex so that it accepts both.

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20211210093827.1623286-1-jmarchan@redhat.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
scripts/recordmcount.pl