Port 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 Review URL: https://codereview.chromium.org/1024203004 Cr-Commit-Position: refs/heads/master@{#321841}
Showing
Please register or sign in to comment