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

Skip to content
Commit 442c302e authored by Sami Tolvanen's avatar Sami Tolvanen
Browse files

ANDROID: vmlinux.lds.h: merge compound literal sections

After LLVM rG9e33c096476a ("[ELF] Keep orphan section names
(.rodata.foo .text.foo) unchanged if !hasSectionsCommand"), LLD splits
compound literals to separate sections with -fdata-sections, which
it always enables with LTO. Merge these sections to allow LLVM to be
upgraded.

Bug: 174047799
Change-Id: I858c5fcc48283d5528c1d3e2b2d7a3c72f9e03d6
Link: https://github.com/ClangBuiltLinux/linux/issues/958


Suggested-by: default avatarDanny Lin <danny@kdrag0n.dev>
Suggested-by: default avatarFangrui Song <maskray@google.com>
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent 444683e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment