Commit 93240b32 authored by Kees Cook's avatar Kees Cook Committed by Borislav Petkov
Browse files

vmlinux.lds.h: Replace RO_DATA_SECTION with RO_DATA



Finish renaming RO_DATA_SECTION to RO_DATA. (Calling this a "section"
is a lie, since it's multiple sections and section flags cannot be
applied to the macro.)

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com> # s390
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> # m68k
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: linux-alpha@vger.kernel.org
Cc: linux-arch@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-c6x-dev@linux-c6x.org
Cc: linux-ia64@vger.kernel.org
Cc: linux-s390@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Rick Edgecombe <rick.p.edgecombe@intel.com>
Cc: Segher Boessenkool <segher@kernel.crashing.org>
Cc: Will Deacon <will@kernel.org>
Cc: x86-ml <x86@kernel.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Link: https://lkml.kernel.org/r/20191029211351.13243-13-keescook@chromium.org
parent c8231825
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ SECTIONS
	_etext = .;

	_sdata = .;
	RO_DATA_SECTION(PAGE_SIZE)
	RO_DATA(PAGE_SIZE)

	/*
	 * 1. this is .data essentially
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ SECTIONS

	EXCEPTION_TABLE(16)

	RO_DATA_SECTION(PAGE_SIZE)
	RO_DATA(PAGE_SIZE)
	.const :
	{
		*(.const .const.* .gnu.linkonce.r.*)
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ SECTIONS


	_sdata = .;
	RO_DATA_SECTION(PAGE_SIZE)
	RO_DATA(PAGE_SIZE)
	RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
	_edata = .;

+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ SECTIONS
	_etext = . ;
	}
	EXCEPTION_TABLE(16)
	RO_DATA_SECTION(4)
	RO_DATA(4)
	ROMEND = .;
#if defined(CONFIG_ROMKERNEL)
	. = RAMTOP;
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ SECTIONS

	_sdata = .;
		RW_DATA_SECTION(32,PAGE_SIZE,_THREAD_SIZE)
		RO_DATA_SECTION(PAGE_SIZE)
		RO_DATA(PAGE_SIZE)
	_edata = .;

	EXCEPTION_TABLE(16)
Loading