Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 Bug: 175351675 Change-Id: I858c5fcc48283d5528c1d3e2b2d7a3c72f9e03d6 Link: ClangBuiltLinux/linux#958 Suggested-by: Danny Lin <[email protected]> Suggested-by: Fangrui Song <[email protected]> Signed-off-by: Sami Tolvanen <[email protected]> Signed-off-by: Nick Desaulniers <[email protected]> Signed-off-by: atndko <[email protected]>
- Loading branch information