s390: vmlinux.lds: move JUMP_TABLE_DATA into output section
Guenter Roeck
Tested-byQuoted 5 lines · Ard Biesheuvel
Commit
e872267b8bcbb179("jump_table: move entries intoro_after_initregion") moved the__jump_tableinput section into the__ro_after_initoutput section, but inadvertently put the macro in the wrong place in the s390 linker script. Let's fix that.
Quoted 10 lines
Fixes e872267b8bcbb179 ("jump_table: move entries into ro_after_init region")Reported-by Guenter Roeck <[email protected]>Cc Heiko Carstens <[email protected]>Cc Kees Cook <[email protected]>Cc Thomas Gleixner <[email protected]>Cc Ingo Molnar <[email protected]>Cc Martin Schwidefsky <[email protected]>Cc Jessica Yu <[email protected]>Cc Peter Zijlstra <[email protected]>Signed-off-by Ard Biesheuvel <[email protected]>
Tested-by Guenter Roeck <[email protected]>
Quoted 22 lines
--- arch/s390/kernel/vmlinux.lds.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/s390/kernel/vmlinux.lds.S +1
-1@@ -64,9 +64,9 @@ SECTIONS __start_ro_after_init = .; .data..ro_after_init : { *(.data..ro_after_init) + JUMP_TABLE_DATA } EXCEPTION_TABLE(16) - JUMP_TABLE_DATA . = ALIGN(PAGE_SIZE); __end_ro_after_init = .;Signature · 1 line
2.17.1