[PATCH v3 0/2] Initial PRU port

Dimitar Dimitrov <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Hi,

I would like to contribute newlib port for the TI PRU I/O processor [1] [2].
Binutils and GCC ports have already been merged.

The is the third version of the patch [3], [4]. Changes from last version:
  - Updated source copyright to BSD 2 clause.

I'm maintaining MCU spec files separately [5]. If libgloss would be a more
suitable place for them, please let me know.

The following files need to be regenerated. Let me know if I should post a
separate patch for them:
  configure
  libgloss/configure
  libgloss/pru/aclocal.m4
  libgloss/pru/configure
  newlib/libc/machine/configure
  newlib/libc/machine/pru/Makefile.in
  newlib/libc/machine/pru/aclocal.m4
  newlib/libc/machine/pru/configure
  newlib/libm/machine/configure
  newlib/libm/machine/pru/Makefile.in
  newlib/libm/machine/pru/aclocal.m4
  newlib/libm/machine/pru/configure

Regards,
Dimitar

[1] http://processors.wiki.ti.com/index.php/PRU-ICSS
[2] http://beagleboard.org/pru
[3] https://sourceware.org/ml/newlib/2018/msg00392.html
[4] https://sourceware.org/ml/newlib/2019/msg00501.html
[5] https://github.com/dinuxbg/gnuprumcu

Dimitar Dimitrov (2):
  Initial PRU port for libgloss and newlib
  PRU: Align libmath to PRU ABI

 configure.ac                             |   4 +
 libgloss/configure.in                    |   3 +
 libgloss/pru/Makefile.in                 | 155 ++++++++++++++++++
 libgloss/pru/configure.in                |  66 ++++++++
 libgloss/pru/crt0.S                      |  97 +++++++++++
 libgloss/pru/device-specs/sim            |   5 +
 libgloss/pru/do_global_dtors.c           |  53 ++++++
 libgloss/pru/gettimeofday.c              |  31 ++++
 libgloss/pru/inbyte.c                    |  51 ++++++
 libgloss/pru/isatty.c                    |  26 +++
 libgloss/pru/ldscripts/gen-ld-scripts.sh |  80 +++++++++
 libgloss/pru/ldscripts/pruelf-sim.x      | 200 +++++++++++++++++++++++
 libgloss/pru/outbyte.c                   |  37 +++++
 libgloss/pru/print.c                     |  25 +++
 libgloss/pru/putnum.c                    |  42 +++++
 libgloss/pru/raise.c                     |  24 +++
 libgloss/pru/sbrk.c                      |  46 ++++++
 libgloss/pru/stat.c                      |  31 ++++
 libgloss/pru/syscalls.S                  |  78 +++++++++
 newlib/configure.host                    |  15 +-
 newlib/libc/include/machine/ieeefp.h     |   4 +
 newlib/libc/include/machine/setjmp.h     |   5 +
 newlib/libc/machine/configure.in         |   1 +
 newlib/libc/machine/pru/Makefile.am      |  16 ++
 newlib/libc/machine/pru/configure.in     |  14 ++
 newlib/libc/machine/pru/setjmp.s         |  45 +++++
 newlib/libm/machine/configure.in         |   1 +
 newlib/libm/machine/pru/Makefile.am      |  19 +++
 newlib/libm/machine/pru/configure.in     |  11 ++
 newlib/libm/machine/pru/fpclassify.c     |  36 ++++
 newlib/libm/machine/pru/fpclassifyf.c    |  36 ++++
 newlib/libm/machine/pru/isfinite.c       |  36 ++++
 newlib/libm/machine/pru/isfinitef.c      |  36 ++++
 newlib/libm/machine/pru/isinf.c          |  36 ++++
 newlib/libm/machine/pru/isinff.c         |  36 ++++
 newlib/libm/machine/pru/isnan.c          |  36 ++++
 newlib/libm/machine/pru/isnanf.c         |  36 ++++
 newlib/libm/machine/pru/isnormal.c       |  36 ++++
 newlib/libm/machine/pru/isnormalf.c      |  36 ++++
 39 files changed, 1544 insertions(+), 1 deletion(-)
 create mode 100644 libgloss/pru/Makefile.in
 create mode 100644 libgloss/pru/configure.in
 create mode 100644 libgloss/pru/crt0.S
 create mode 100644 libgloss/pru/device-specs/sim
 create mode 100644 libgloss/pru/do_global_dtors.c
 create mode 100644 libgloss/pru/gettimeofday.c
 create mode 100644 libgloss/pru/inbyte.c
 create mode 100644 libgloss/pru/isatty.c
 create mode 100755 libgloss/pru/ldscripts/gen-ld-scripts.sh
 create mode 100644 libgloss/pru/ldscripts/pruelf-sim.x
 create mode 100644 libgloss/pru/outbyte.c
 create mode 100644 libgloss/pru/print.c
 create mode 100644 libgloss/pru/putnum.c
 create mode 100644 libgloss/pru/raise.c
 create mode 100644 libgloss/pru/sbrk.c
 create mode 100644 libgloss/pru/stat.c
 create mode 100644 libgloss/pru/syscalls.S
 create mode 100644 newlib/libc/machine/pru/Makefile.am
 create mode 100644 newlib/libc/machine/pru/configure.in
 create mode 100644 newlib/libc/machine/pru/setjmp.s
 create mode 100644 newlib/libm/machine/pru/Makefile.am
 create mode 100644 newlib/libm/machine/pru/configure.in
 create mode 100644 newlib/libm/machine/pru/fpclassify.c
 create mode 100644 newlib/libm/machine/pru/fpclassifyf.c
 create mode 100644 newlib/libm/machine/pru/isfinite.c
 create mode 100644 newlib/libm/machine/pru/isfinitef.c
 create mode 100644 newlib/libm/machine/pru/isinf.c
 create mode 100644 newlib/libm/machine/pru/isinff.c
 create mode 100644 newlib/libm/machine/pru/isnan.c
 create mode 100644 newlib/libm/machine/pru/isnanf.c
 create mode 100644 newlib/libm/machine/pru/isnormal.c
 create mode 100644 newlib/libm/machine/pru/isnormalf.c

-- 
2.20.1
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.