Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
36 lines
1.1 KiB
C
36 lines
1.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_IA64_MODULE_H
|
|
#define _ASM_IA64_MODULE_H
|
|
|
|
#include <asm-generic/module.h>
|
|
|
|
/*
|
|
* IA-64-specific support for kernel module loader.
|
|
*
|
|
* Copyright (C) 2003 Hewlett-Packard Co
|
|
* David Mosberger-Tang <davidm@hpl.hp.com>
|
|
*/
|
|
|
|
struct elf64_shdr; /* forward declration */
|
|
|
|
struct mod_arch_specific {
|
|
struct elf64_shdr *core_plt; /* core PLT section */
|
|
struct elf64_shdr *init_plt; /* init PLT section */
|
|
struct elf64_shdr *got; /* global offset table */
|
|
struct elf64_shdr *opd; /* official procedure descriptors */
|
|
struct elf64_shdr *unwind; /* unwind-table section */
|
|
unsigned long gp; /* global-pointer for module */
|
|
|
|
void *core_unw_table; /* core unwind-table cookie returned by unwinder */
|
|
void *init_unw_table; /* init unwind-table cookie returned by unwinder */
|
|
unsigned int next_got_entry; /* index of next available got entry */
|
|
};
|
|
|
|
#define MODULE_PROC_FAMILY "ia64"
|
|
#define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY \
|
|
"gcc-" __stringify(__GNUC__) "." __stringify(__GNUC_MINOR__)
|
|
|
|
#define ARCH_SHF_SMALL SHF_IA_64_SHORT
|
|
|
|
#endif /* _ASM_IA64_MODULE_H */
|