Re: [PATCH] powerpc: Include .BTF section

2020-02-27 Thread Michael Ellerman
On Thu, 2020-02-20 at 11:31:32 UTC, "Naveen N. Rao" wrote: > 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. > >

Re: [PATCH] powerpc: Include .BTF section

2020-02-24 Thread Michael Ellerman
"Naveen N. Rao" writes: > Michael Ellerman wrote: >> "Naveen N. Rao" writes: >>> 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 exp

Re: [PATCH] powerpc: Include .BTF section

2020-02-23 Thread Naveen N. Rao
Michael Ellerman wrote: "Naveen N. Rao" writes: 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. I don't see any oth

Re: [PATCH] powerpc: Include .BTF section

2020-02-23 Thread Michael Ellerman
"Naveen N. Rao" writes: > 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. I don't see any other architectures do

[PATCH] powerpc: Include .BTF section

2020-02-20 Thread Naveen N. Rao
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 --- arch/powerpc/kernel/vmlinux.lds.S | 6