Re: Cleanups for pru target

Jeff Johnston <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <CAOox84sZ709Bbso_GSmVbgqpizELsCbdG5hRSuiHC7m_XT5B0w@mail.gmail.com>
Thanks Dimitar.  Patches applied.

-- Jeff J.

On Fri, Jun 4, 2021 at 4:38 PM Dimitar Dimitrov <[email protected]> wrote:

> 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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.