OSDN Git Service

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)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 24 Feb 2020 11:04:07 +0000 (22:04 +1100)
commitcb0cc635c7a9fa8a3a0f75d4d896721819c63add
tree487733b9bc9500421a6d3c898be629d1a28065f6
parente08658a657f974590809290c62e889f0fd420200
powerpc: Include .BTF section

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
arch/powerpc/kernel/vmlinux.lds.S