]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Dec 2021 08:17:59 +0000 (09:17 +0100)
commit724b98b292187634e45af4e14a0803203e8ac62a
tree2b048fdae720553850ad5881da1fce3ed01c119b
parentc0b2b958b9d8ea1f23209592590990398f9716f1
recordmcount.pl: look for jgnop instruction as well as bcrl on s390

commit 85bf17b28f97ca2749968d8786dc423db320d9c2 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/recordmcount.pl