Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 14753992 authored by Kees Cook's avatar Kees Cook Committed by Russell King
Browse files

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: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 91c617d7
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -8,9 +8,6 @@
#include <asm/thread_info.h>
#include <asm/memory.h>
#include <asm/page.h>
#ifdef CONFIG_DEBUG_RODATA
#include <asm/pgtable.h>
#endif

#define PROC_INFO							\
	. = ALIGN(4);							\
@@ -92,10 +89,6 @@ SECTIONS
		HEAD_TEXT
	}

#ifdef CONFIG_DEBUG_RODATA
	. = ALIGN(1<<SECTION_SHIFT);
#endif

	.text : {			/* Real text segment		*/
		_stext = .;		/* Text and read-only data	*/
			IDMAP_TEXT
@@ -115,9 +108,6 @@ SECTIONS
			ARM_CPU_KEEP(PROC_INFO)
	}

#ifdef CONFIG_DEBUG_RODATA
	. = ALIGN(1<<SECTION_SHIFT);
#endif
	RO_DATA(PAGE_SIZE)

	. = ALIGN(4);