Jacob Garber uploaded patch set #5 to this change.
[TEST] Add support for link time optimization
- Code generation is not done until after linking, so the
compiler must be invoked at all linking stages instead of the linker. As
a consequence all linker arguments must be prefixed with -Wl.
- Partial linking is not supported. Instead, object files are collected
into thin archives that are linked instead.
Using LTO leads to a ~10% decrease in stage size for QEMU and ~18% for
the Thinkpad T500, and both targets boot successfully.
Signed-off-by: Jacob Garber <firstname.lastname@example.org>
11 files changed, 59 insertions(+), 44 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/38989/5
To view, visit change 38989. To unsubscribe, or for help writing mail filters, visit settings.