]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/32: Add .data.rel* sections explicitly
authorNicholas Piggin <npiggin@gmail.com>
Mon, 13 Nov 2017 12:06:55 +0000 (23:06 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 Dec 2017 02:03:31 +0000 (13:03 +1100)
commit3b0bae40f6c69348e3abc5012981a1b9ba7893b8
tree6a5e8f294b9c9032a375d48a4676a0ab7cda8ce6
parent58c5777e579debb64a9a49104f947e273d7ee6c0
powerpc/32: Add .data.rel* sections explicitly

Match powerpc/64 and include .data.rel* input sections in the .data output
section explicitly.

This solves the warning:

powerpc-linux-gnu-ld: warning: orphan section `.data.rel.ro' from `arch/powerpc/kernel/head_44x.o' being placed in section `.data.rel.ro'.

Link: https://lists.01.org/pipermail/kbuild-all/2017-November/040010.html
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/vmlinux.lds.S