mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-07 15:16:09 +00:00
We will need to recognize pointers in .rodata specific to hyp, so establish a .hyp.rodata ELF section. Merge it with the existing .hyp.data..ro_after_init as they are treated the same at runtime. Signed-off-by: David Brazdil <dbrazdil@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20210105180541.65031-3-dbrazdil@google.com
24 lines
886 B
C
24 lines
886 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2016 ARM Limited
|
|
*/
|
|
#ifndef __ASM_SECTIONS_H
|
|
#define __ASM_SECTIONS_H
|
|
|
|
#include <asm-generic/sections.h>
|
|
|
|
extern char __alt_instructions[], __alt_instructions_end[];
|
|
extern char __hibernate_exit_text_start[], __hibernate_exit_text_end[];
|
|
extern char __hyp_idmap_text_start[], __hyp_idmap_text_end[];
|
|
extern char __hyp_text_start[], __hyp_text_end[];
|
|
extern char __hyp_rodata_start[], __hyp_rodata_end[];
|
|
extern char __idmap_text_start[], __idmap_text_end[];
|
|
extern char __initdata_begin[], __initdata_end[];
|
|
extern char __inittext_begin[], __inittext_end[];
|
|
extern char __exittext_begin[], __exittext_end[];
|
|
extern char __irqentry_text_start[], __irqentry_text_end[];
|
|
extern char __mmuoff_data_start[], __mmuoff_data_end[];
|
|
extern char __entry_tramp_text_start[], __entry_tramp_text_end[];
|
|
|
|
#endif /* __ASM_SECTIONS_H */
|