powerpc/modules: start/end_opd are only needed for ABI v1
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 12 Aug 2024 06:33:12 +0000 (16:33 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 5 Nov 2024 09:47:45 +0000 (20:47 +1100)
commitf1c774ba91054a749573781f9e8fd652b9a1f633
tree934ff3fa5eeeb4b0ac094254308d74624b1092bb
parent2866949ec889cf383c481119c617b9cead733070
powerpc/modules: start/end_opd are only needed for ABI v1

The start_opd/end_opd members of struct mod_arch_specific are only
needed for kernels built using ELF ABI v1. Guard them with an ifdef to
save a little bit of space on ELF ABI v2 kernels.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://patch.msgid.link/20240812063312.730496-1-mpe@ellerman.id.au
arch/powerpc/include/asm/module.h