]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #97843 - overdrivenpotato:psp-lto, r=michaelwoerister
authorYuki Okushi <jtitor@2k36.org>
Thu, 9 Jun 2022 10:19:56 +0000 (19:19 +0900)
committerGitHub <noreply@github.com>
Thu, 9 Jun 2022 10:19:56 +0000 (19:19 +0900)
commit5d81f91a3bbb6b26894b2b03a488321eb3665214
treedb6ee8fcb509802fc3e6d7e7000e9517e8220d4a
parentfa4f8f144c9b1938afeef5b36834766901c2ba39
parent611107af5f870f8f5f1d77b19e8f735be2a1da36
Rollup merge of #97843 - overdrivenpotato:psp-lto, r=michaelwoerister

Relax mipsel-sony-psp's linker script

Previously, the linker script forcefully kept all `.lib.stub` sections, unnecessarily bloating the binary. Now, the script is LTO and `--gc-sections` friendly.

`--nmagic` was also added to the linker, because page alignment is not required on the PSP. This further reduces binary size.

Accompanying changes for the `psp` crate are found in: https://github.com/overdrivenpotato/rust-psp/pull/118