kernel: Fix perf build with binutils 2.40
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 6 Mar 2023 22:39:51 +0000 (23:39 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 7 Mar 2023 21:31:36 +0000 (22:31 +0100)
commitfb06f533b355fad4268ae49f5dcf986afff60371
treeb4a3ff7efe43899a3e21e7840337d4c2b4f6a579
parent9d8374cadcbdf46ea5552778950af35b3df5d655
kernel: Fix perf build with binutils 2.40

Backport patches from kernel 6.0 which are fixing building of perf with
binutils 2.40.

perf with kernel 5.10 is also not building but the backporting is more
complicated and only a few targets are still using kernel 5.10.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/generic/backport-5.15/060-v6.0-01-tools-build-Add-feature-test-for-init_disassemble_in.patch [new file with mode: 0644]
target/linux/generic/backport-5.15/060-v6.0-02-tools-include-add-dis-asm-compat.h-to-handle-version.patch [new file with mode: 0644]
target/linux/generic/backport-5.15/060-v6.0-03-tools-perf-Fix-compilation-error-with-new-binutils.patch [new file with mode: 0644]
target/linux/generic/backport-5.15/060-v6.0-04-tools-bpf_jit_disasm-Fix-compilation-error-with-new-.patch [new file with mode: 0644]
target/linux/generic/backport-5.15/060-v6.0-05-tools-bpftool-Fix-compilation-error-with-new-binutil.patch [new file with mode: 0644]