X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=arch%2Friscv%2Fkernel%2Fvmlinux.lds.S;h=5104f3a871e38237b6b1a66b5d5c1e52b83c8881;hb=6f55ab36bef505b449723300a5a445ddc76a94d7;hp=502d0826ecb14c85ad7c6a4f74a438e37b91a20b;hpb=baa99c926718c1a1549a7e08383f53a8e2944f04;p=linux-2.6-microblaze.git diff --git a/arch/riscv/kernel/vmlinux.lds.S b/arch/riscv/kernel/vmlinux.lds.S index 502d0826ecb1..5104f3a871e3 100644 --- a/arch/riscv/kernel/vmlinux.lds.S +++ b/arch/riscv/kernel/vmlinux.lds.S @@ -4,6 +4,8 @@ * Copyright (C) 2017 SiFive */ +#define RO_EXCEPTION_TABLE_ALIGN 16 + #ifdef CONFIG_XIP_KERNEL #include "vmlinux-xip.lds.S" #else @@ -112,8 +114,6 @@ SECTIONS *(.srodata*) } - EXCEPTION_TABLE(0x10) - . = ALIGN(SECTION_ALIGN); _data = .;