Home
last modified time | relevance | path

Searched hist:"98 ecc6768e8fdba95da1fc1efa0ef2d769e7fe1c" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/powerpc/kernel/
H A Dvmlinux.lds.S98ecc6768e8fdba95da1fc1efa0ef2d769e7fe1c Wed Nov 14 03:02:18 UTC 2018 Joel Stanley <joel@jms.id.au> powerpc/32: Include .branch_lt in data section

When building a 32 bit powerpc kernel with Binutils 2.31.1 this warning
is emitted:

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

As of binutils commit 2d7ad24e8726 ("Support PLT16 relocs against local
symbols")[1], 32 bit targets can produce .branch_lt sections in their
output.

Include these symbols in the .data section as the ppc64 kernel does.

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=2d7ad24e8726ba4c45c9e67be08223a146a837ce
Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Alan Modra <amodra@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>