DescriptionPort LTO-related flags to more platforms.
Specifically:
- Supply -function-sections flag to the gold plugin when targeting ARM.
Without this flag, LTO can produce a .text section that is larger than
the maximum call displacement, preventing the linker from relocating calls.
- Move the other gold plugin-specific flag to the same place,
and add a Mac version.
BUG=469376, 469377
R=thakis@chromium.org
Committed: https://crrev.com/99ee00d89b2ecfc70682d3222014839adfbceab8
Cr-Commit-Position: refs/heads/master@{#321841}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add link to LLVM bug #Messages
Total messages: 9 (3 generated)
|