]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64/build: only include .opd with ELFv1
authorNicholas Piggin <npiggin@gmail.com>
Fri, 16 Sep 2022 04:07:53 +0000 (14:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 26 Sep 2022 10:58:17 +0000 (20:58 +1000)
commita3a96de769ef4ca4af07ad0dce022240a32f28b1
tree7fdc78db5b19b01d51ea97ebb78eb27fcba3fb49
parent97a0e7b619117d9a4e999f9122ebb9cf34d16c80
powerpc/64/build: only include .opd with ELFv1

ELFv2 does not use function descriptors so .opd is not required.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220916040755.2398112-6-npiggin@gmail.com
arch/powerpc/kernel/vmlinux.lds.S