diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-01-17 19:12:39 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2023-01-17 19:12:39 +0100 |
commit | 706a91be38837451977491aa7465e98edf6d35d8 (patch) | |
tree | 40bf41ed25edf68ec8138629b7820779ec79a29b /arch/s390/kernel/vmlinux.lds.S | |
parent | docs/ABI: use linux-s390 list as the main contact (diff) | |
parent | s390: workaround invalid gcc-11 out of bounds read warning (diff) | |
download | linux-706a91be38837451977491aa7465e98edf6d35d8.tar.xz linux-706a91be38837451977491aa7465e98edf6d35d8.zip |
Merge branch 'fixes' into features
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/s390/kernel/vmlinux.lds.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/kernel/vmlinux.lds.S b/arch/s390/kernel/vmlinux.lds.S index a965ddc34f43..5c2224f5b128 100644 --- a/arch/s390/kernel/vmlinux.lds.S +++ b/arch/s390/kernel/vmlinux.lds.S @@ -17,6 +17,8 @@ /* Handle ro_after_init data on our own. */ #define RO_AFTER_INIT_DATA +#define RUNTIME_DISCARD_EXIT + #define EMITS_PT_NOTE #include <asm-generic/vmlinux.lds.h> @@ -79,6 +81,7 @@ SECTIONS _end_amode31_refs = .; } + . = ALIGN(PAGE_SIZE); _edata = .; /* End of data section */ /* will be freed after init */ @@ -193,6 +196,7 @@ SECTIONS BSS_SECTION(PAGE_SIZE, 4 * PAGE_SIZE, PAGE_SIZE) + . = ALIGN(PAGE_SIZE); _end = . ; /* |