mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
Revert "ANDROID: kbuild: merge more sections with LTO"
This reverts commit f31cfc8907.
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: Jeevan Shriram <jshriram@codeaurora.org>
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
This commit is contained in:
parent
c65e3412df
commit
75e1e42e98
1 changed files with 7 additions and 14 deletions
|
|
@ -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*)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue