mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
3dddf6ac1e
Implement -Z function-sections=yes|no This lets rustc users tweak whether all functions should be put in their own TEXT section, using whatever default value the target defines if the flag is missing. I'm having fun experimenting with musl libc and trying to implement the start symbol in Rust, that means avoiding code that requires relocations, and AFAIK putting everything in its own section makes the toolchain generate `GOTPCREL` relocations for symbols that could use plain old PC-relative addressing (at least on `x86_64`) if they were all in the same section. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |