bad_build_check: also look for call on x86_64 (#5159)

It should make the script compatible with binutils-2.36.1 (where
"callq" is no longer present in the output of objdump)

It was spotted in https://github.com/systemd/systemd/pull/18528
This commit is contained in:
Evgeny Vereshchagin 2021-02-10 20:43:18 +03:00 committed by GitHub
parent 281914ea8f
commit 4af2cfe3cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ function check_mixed_sanitizers {
else
case $(uname -m) in
x86_64)
CALL_INSN="callq\s+[0-9a-f]+\s+<"
CALL_INSN="callq?\s+[0-9a-f]+\s+<"
;;
aarch64)
CALL_INSN="bl\s+[0-9a-f]+\s+<"