Linking runtime libraries as fat LTO objects?
Asked by
Michael
Hello,
I checked through the libraries like libc.a, libc_nano.a, libg, libm, and so forth with readelf, and I didn't notice any LTO sections.
Would it be possible to distribute the Embedded Toolchain with all of the system/runtime archives linked as fat LTO so both LTO bitcode and ARM machine code is emitted? I imagine it would help optimization somewhat when compiling/linking things with -flto.
I imagine all that should be needed is adding -flto -ffat-lto-objects to the build.
Thank you!
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Michael for more information if necessary.
To post a message you must log in.