From 1475399207548333311e374446a113d4733b3878 Mon Sep 17 00:00:00 2001 From: Kees Cook Date: Fri, 19 Feb 2016 16:41:56 +0100 Subject: ARM: 8537/1: drop unused DEBUG_RODATA from XIP_KERNEL With CONFIG_DEBUG_RODATA not being sensible under XIP_KERNEL, remove it from the XIP linker script. Signed-off-by: Kees Cook Signed-off-by: Arnd Bergmann Signed-off-by: Russell King --- arch/arm/kernel/vmlinux-xip.lds.S | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'arch/arm/kernel/vmlinux-xip.lds.S') diff --git a/arch/arm/kernel/vmlinux-xip.lds.S b/arch/arm/kernel/vmlinux-xip.lds.S index 40bc4cadb959..cba1ec899a69 100644 --- a/arch/arm/kernel/vmlinux-xip.lds.S +++ b/arch/arm/kernel/vmlinux-xip.lds.S @@ -8,9 +8,6 @@ #include #include #include -#ifdef CONFIG_DEBUG_RODATA -#include -#endif #define PROC_INFO \ . = ALIGN(4); \ @@ -92,10 +89,6 @@ SECTIONS HEAD_TEXT } -#ifdef CONFIG_DEBUG_RODATA - . = ALIGN(1<