diff options
author | Dimitar Dimitrov <dimitar@dinux.eu> | 2024-01-22 18:11:36 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2024-01-23 09:49:02 +0100 |
commit | 276dd12f69b1cf113a009da331d3bcfc4783fdce (patch) | |
tree | 2db515b59245c64779dc7a4c03bf2b08bf3c7996 /configure | |
parent | d5c4edca81c87c784b4420cc194bea07436e0ab7 (diff) | |
download | newlib-276dd12f69b1cf113a009da331d3bcfc4783fdce.zip newlib-276dd12f69b1cf113a009da331d3bcfc4783fdce.tar.gz newlib-276dd12f69b1cf113a009da331d3bcfc4783fdce.tar.bz2 |
libgloss: pru: Trim crt0-minrt.o
Strip a few more instructions from crt0-minrt.S:
- Remove "halt" and rely on the infinite loop after main()'s return.
- Remove main()'s argc and argv argument initialization. Host loader
does not set them, and typical firmware does not use them, either.
- Remove the __dso_handle symbol.
This should be safe because the default crt0.S is fully standards
compliant. Whereas crt0-minrt.S has been documented from the beginning
to intentionally miss features in order to reduce firmware size, while
still enabling typical PRU firmware to operate.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions