Cleanups for pru target

Dimitar Dimitrov dimitar@dinux.eu
Fri Jun 4 20:37:50 GMT 2021


Hi,

I'm attaching two improvements to help the PRU target with --gc-sections, and 
one cleanup allowed by a recent Binutils change.

Regards,
Dimitar


Dimitar Dimitrov (3):
  libgloss: pru: Remove sim ld script
  pru: Enable -ffunction-sections and -fdata-sections
  libgloss: pru: Place sim syscalls into their own sections

 libgloss/pru/Makefile.in                 |  10 +-
 libgloss/pru/device-specs/sim            |   2 +-
 libgloss/pru/ldscripts/gen-ld-scripts.sh |  80 ---------
 libgloss/pru/ldscripts/pruelf-sim.x      | 200 -----------------------
 libgloss/pru/syscalls.S                  |   4 +-
 newlib/configure.host                    |   1 +
 6 files changed, 6 insertions(+), 291 deletions(-)
 delete mode 100755 libgloss/pru/ldscripts/gen-ld-scripts.sh
 delete mode 100644 libgloss/pru/ldscripts/pruelf-sim.x
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libgloss-pru-Place-sim-syscalls-into-their-own-secti.patch
Type: text/x-patch
Size: 1165 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20210604/f9f2b7e5/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libgloss-pru-Remove-sim-ld-script.patch
Type: text/x-patch
Size: 11961 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20210604/f9f2b7e5/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-pru-Enable-ffunction-sections-and-fdata-sections.patch
Type: text/x-patch
Size: 939 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20210604/f9f2b7e5/attachment-0005.bin>


More information about the Newlib mailing list