]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
powerpc: Include .BTF section
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Thu, 20 Feb 2020 11:31:32 +0000 (17:01 +0530)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 3 Apr 2020 13:17:23 +0000 (15:17 +0200)
commit12d9c3fb778e769b78bde91457593c8aadcc7944
tree84cfdd7af1cf1904b00ccaad99b4f911a80b93ec
parent66f5309d33fc20474bcd9459349558974e15e4b7
powerpc: Include .BTF section

BugLink: https://bugs.launchpad.net/bugs/1869061
[ Upstream commit cb0cc635c7a9fa8a3a0f75d4d896721819c63add ]

Selecting CONFIG_DEBUG_INFO_BTF results in the below warning from ld:
  ld: warning: orphan section `.BTF' from `.btf.vmlinux.bin.o' being placed in section `.BTF'

Include .BTF section in vmlinux explicitly to fix the same.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200220113132.857132-1-naveen.n.rao@linux.vnet.ibm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
arch/powerpc/kernel/vmlinux.lds.S