Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Use LTO #18864

Closed
wants to merge 8 commits into from
Closed

[WIP] Use LTO #18864

wants to merge 8 commits into from

Conversation

nbdd0121
Copy link
Contributor

@nbdd0121 nbdd0121 commented Jun 9, 2023

No description provided.

@nbdd0121 nbdd0121 force-pushed the lto branch 4 times, most recently from d928497 to 7228036 Compare June 9, 2023 16:49
luismarques and others added 7 commits June 12, 2023 12:42
This prevents the variables from being discarded when using LTO.

Signed-off-by: Luís Marques <[email protected]>
These are not needed to detect calls to the compiler runtime library
helper functions, caused by multi-word sized arithmetic. They also cause
problems with LTO.

Signed-off-by: Luís Marques <[email protected]>
Signed-off-by: Luís Marques <[email protected]>
LLD doesn't support placing a non-alloc section at any start address other
than zero. So keep them at zero and adjust the address accordingly when
writing to it.

Signed-off-by: Gary Guo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants