OSDN Git Service

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)
commit85bf17b28f97ca2749968d8786dc423db320d9c2
treec5e486c88eca05986821834643e7d5dc261c294e
parentc9b12b59e2ea4c3c7cedec7efb071b649652f3a9
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