hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/arch/powerpc/include/asm/elf.h
....@@ -1,10 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * ELF register definitions..
3
- *
4
- * This program is free software; you can redistribute it and/or
5
- * modify it under the terms of the GNU General Public License
6
- * as published by the Free Software Foundation; either version
7
- * 2 of the License, or (at your option) any later version.
84 */
95 #ifndef _ASM_POWERPC_ELF_H
106 #define _ASM_POWERPC_ELF_H
....@@ -56,8 +52,6 @@
5652 PPC_ELF_CORE_COPY_REGS(elf_regs, regs);
5753 }
5854 #define ELF_CORE_COPY_REGS(gregs, regs) ppc_elf_core_copy_regs(gregs, regs);
59
-
60
-typedef elf_vrregset_t elf_fpxregset_t;
6155
6256 /* ELF_HWCAP yields a mask that user programs can use to figure out what
6357 instruction set this cpu supports. This could be done in userspace,
....@@ -179,4 +173,7 @@
179173 ARCH_DLINFO_CACHE_GEOMETRY; \
180174 } while (0)
181175
176
+/* Relocate the kernel image to @final_address */
177
+void relocate(unsigned long final_address);
178
+
182179 #endif /* _ASM_POWERPC_ELF_H */