mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
c82318254d
There's no reason to keep the RODATA macro: replace the callers with the expected RO_DATA macro. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Borislav Petkov <bp@suse.de> Cc: Andy Lutomirski <luto@kernel.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: linux-alpha@vger.kernel.org Cc: linux-arch@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-c6x-dev@linux-c6x.org Cc: linux-ia64@vger.kernel.org Cc: linux-s390@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Michal Simek <monstr@monstr.eu> Cc: Rick Edgecombe <rick.p.edgecombe@intel.com> Cc: Segher Boessenkool <segher@kernel.crashing.org> Cc: Will Deacon <will@kernel.org> Cc: x86-ml <x86@kernel.org> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Link: https://lkml.kernel.org/r/20191029211351.13243-12-keescook@chromium.org
100 lines
1.7 KiB
ArmAsm
100 lines
1.7 KiB
ArmAsm
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#include <asm-generic/vmlinux.lds.h>
|
|
|
|
.fini : { *(.fini) } =0x9090
|
|
_etext = .;
|
|
PROVIDE (etext = .);
|
|
|
|
. = ALIGN(4096);
|
|
_sdata = .;
|
|
PROVIDE (sdata = .);
|
|
|
|
RO_DATA(4096)
|
|
|
|
.unprotected : { *(.unprotected) }
|
|
. = ALIGN(4096);
|
|
PROVIDE (_unprotected_end = .);
|
|
|
|
. = ALIGN(4096);
|
|
EXCEPTION_TABLE(0)
|
|
|
|
BUG_TABLE
|
|
|
|
.uml.setup.init : {
|
|
__uml_setup_start = .;
|
|
*(.uml.setup.init)
|
|
__uml_setup_end = .;
|
|
}
|
|
|
|
.uml.help.init : {
|
|
__uml_help_start = .;
|
|
*(.uml.help.init)
|
|
__uml_help_end = .;
|
|
}
|
|
|
|
.uml.postsetup.init : {
|
|
__uml_postsetup_start = .;
|
|
*(.uml.postsetup.init)
|
|
__uml_postsetup_end = .;
|
|
}
|
|
|
|
.init.setup : {
|
|
INIT_SETUP(0)
|
|
}
|
|
|
|
PERCPU_SECTION(32)
|
|
|
|
.initcall.init : {
|
|
INIT_CALLS
|
|
}
|
|
|
|
.con_initcall.init : {
|
|
CON_INITCALL
|
|
}
|
|
|
|
.exitcall : {
|
|
__exitcall_begin = .;
|
|
*(.exitcall.exit)
|
|
__exitcall_end = .;
|
|
}
|
|
|
|
.uml.exitcall : {
|
|
__uml_exitcall_begin = .;
|
|
*(.uml.exitcall.exit)
|
|
__uml_exitcall_end = .;
|
|
}
|
|
|
|
. = ALIGN(4);
|
|
.altinstructions : {
|
|
__alt_instructions = .;
|
|
*(.altinstructions)
|
|
__alt_instructions_end = .;
|
|
}
|
|
.altinstr_replacement : { *(.altinstr_replacement) }
|
|
/* .exit.text is discard at runtime, not link time, to deal with references
|
|
from .altinstructions and .eh_frame */
|
|
.exit.text : { EXIT_TEXT }
|
|
.exit.data : { *(.exit.data) }
|
|
|
|
.preinit_array : {
|
|
__preinit_array_start = .;
|
|
*(.preinit_array)
|
|
__preinit_array_end = .;
|
|
}
|
|
.init_array : {
|
|
/* dummy - we call this ourselves */
|
|
__init_array_start = .;
|
|
__init_array_end = .;
|
|
}
|
|
.fini_array : {
|
|
__fini_array_start = .;
|
|
*(.fini_array)
|
|
__fini_array_end = .;
|
|
}
|
|
|
|
. = ALIGN(4096);
|
|
.init.ramfs : {
|
|
INIT_RAM_FS
|
|
}
|
|
|