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

Commit 53749f73 authored by Tim Abbott's avatar Tim Abbott Committed by Greg Ungerer
Browse files

m68knommu: Split the .init section into INIT_TEXT_SECTION and INIT_DATA_SECTION.



Signed-off-by: default avatarTim Abbott <tabbott@ksplice.com>
Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
parent 995bcd3d
Loading
Loading
Loading
Loading
+4 −13
Original line number Original line Diff line number Diff line
@@ -154,22 +154,13 @@ SECTIONS {
		_edata = . ;
		_edata = . ;
	} > DATA
	} > DATA


	.init : {
	.init.text : {
		. = ALIGN(PAGE_SIZE);
		. = ALIGN(PAGE_SIZE);
		__init_begin = .;
		__init_begin = .;
	} > INIT
	} > INIT
	.init : {
	INIT_TEXT_SECTION(PAGE_SIZE) > INIT
		_sinittext = .;
	INIT_DATA_SECTION(16) > INIT
		INIT_TEXT
	.init.data : {
		_einittext = .;
		INIT_DATA
		INIT_SETUP(16)
		INIT_CALLS
		CON_INITCALL
		SECURITY_INITCALL
		INIT_RAM_FS
	} > INIT
	.init : {
		. = ALIGN(PAGE_SIZE);
		. = ALIGN(PAGE_SIZE);
		__init_end = .;
		__init_end = .;
	} > INIT
	} > INIT