summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/module.h
blob: e5c10e35da492b16438f3d38f001a3dd1a19c974 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-only */


/**/
struct mod_arch_specific {
	/* Indices of PLT sections within module. */
	unsigned int core_plt_section;
	unsigned int init_plt_section;
};

#define Elf_Shdr	Elf32_Shdr
#define Elf_Sym	Elf32_Sym
#define Elf_Ehdr	Elf32_Ehdr

struct ppc_plt_entry {
	/* 16 byte jump instruction sequence (4 instructions) */
	unsigned int jump[4];
};