Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

+2
+2
arch/powerpc/include/asm/module.h
··· 35 35 bool toc_fixed; /* Have we fixed up .TOC.? */ 36 36 #endif 37 37 38 + #ifdef CONFIG_PPC64_ELF_ABI_V1 38 39 /* For module function descriptor dereference */ 39 40 unsigned long start_opd; 40 41 unsigned long end_opd; 42 + #endif 41 43 #else /* powerpc64 */ 42 44 /* Indices of PLT sections within module. */ 43 45 unsigned int core_plt_section;