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

Commit 75e1e42e authored by Jeevan Shriram's avatar Jeevan Shriram Committed by Blagovest Kolenichev
Browse files

Revert "ANDROID: kbuild: merge more sections with LTO"



This reverts commit f31cfc89.

This is a preparation change for merging android-5.4-stable.50 into
msm-5.4 branch. Merging the sections into compound literal has side
effects in the clock_regulator driver. Device is failing to boot with
NULL PTR dereference. This affects only modules. Reverting this change
for now until fix is available.

Change-Id: Icc089014ead99d7eace9eac4f97ad322d363cfb2
Signed-off-by: default avatarJeevan Shriram <jshriram@codeaurora.org>
Signed-off-by: default avatarBlagovest Kolenichev <bkolenichev@codeaurora.org>
parent c65e3412
Loading
Loading
Loading
Loading
+7 −14
Original line number Diff line number Diff line
@@ -15,20 +15,12 @@ SECTIONS {
		*(.eh_frame)
	}

	.bss : {
		*(.bss .bss.[0-9a-zA-Z_]*)
		*(.bss..L* .bss..compoundliteral*)
	}

	.data : {
		*(.data .data.[0-9a-zA-Z_]*)
		*(.data..L* .data..compoundliteral*)
	}

	.rodata : {
		*(.rodata .rodata.[0-9a-zA-Z_]*)
		*(.rodata..L* .rodata..compoundliteral*)
	}
	.bss : { *(.bss .bss.[0-9a-zA-Z_]*) }
	.data : { *(.data .data.[0-9a-zA-Z_]*) }
	.rela.data : { *(.rela.data .rela.data.[0-9a-zA-Z_]*) }
	.rela.rodata : { *(.rela.rodata .rela.rodata.[0-9a-zA-Z_]*) }
	.rela.text : { *(.rela.text .rela.text.[0-9a-zA-Z_]*) }
	.rodata : { *(.rodata .rodata.[0-9a-zA-Z_]*) }

	/*
	 * With CFI_CLANG, ensure __cfi_check is at the beginning of the
@@ -38,4 +30,5 @@ SECTIONS {
		*(.text.__cfi_check)
		*(.text .text.[0-9a-zA-Z_]* .text..L.cfi*)
	}

}