diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2017-11-13 13:06:55 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-12-11 03:03:31 +0100 |
commit | a10726075dec4ceb050c2f775e54363411141f7a (patch) | |
tree | 6a5e8f294b9c9032a375d48a4676a0ab7cda8ce6 /arch/powerpc/kernel/vmlinux.lds.S | |
parent | powerpc/boot: Only build CPM code when necessary (diff) | |
download | linux-a10726075dec4ceb050c2f775e54363411141f7a.tar.xz linux-a10726075dec4ceb050c2f775e54363411141f7a.zip |
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>
Diffstat (limited to 'arch/powerpc/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/powerpc/kernel/vmlinux.lds.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index 0494e1566ee2..51e4ec92ade1 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S @@ -264,6 +264,7 @@ SECTIONS #ifdef CONFIG_PPC32 .data : AT(ADDR(.data) - LOAD_OFFSET) { DATA_DATA + *(.data.rel*) *(.sdata) *(.sdata2) *(.got.plt) *(.got) |