Ping/Repost (Updated 20120127): RFA: Add Epiphany newlib & libgloss port

Joern Rennecke
Fri Jan 27 21:00:00 GMT 2012

While I've been waiting for approval of this port, both the
diff/patch context, and the port itself have changed a bit,
since my posting ,
so I'm reposting an updated version here.

2012-01-20  Jeremy Bennett  <>
             Alan Lehotsky  <>
             Joern Rennecke  <>

          * COPYING.NEWLIB: Add Adapteva notice.
          * COPYING.LIBGLOSS: Add Adapteva notice.
          * Add Epiphany support.
          * configure: Regenerate.
          * epiphany: New directory.
          * libgloss/README: Add Epiphany entry.
          * Add Epiphany support.
          * libc/include/machine/ieeefp.h: Likewise.
          * libc/include/machine/setjmp.h: Likewise.
          * libc/machine/, libc/sys/ Likewise.
          * libc/machine/configure, libc/sys/configure: Regenerate.
          * libc/machine/epiphany, libc/sys/epiphany: New directories.
          * NEWS: Mention addition of Epiphany.

I have made the following changes till the last posting (20111110):

- Fixed merge conflict on COPYING.LIBGLOSS due to other port added in the

- switched trap back from syscall to open/read/write trap for backward
   compatibility (while keeping the fixed semantics):
         * epiphany/open.c (_open): Revert to use asm_open.
         * epiphany/read.c (_read): Revert to use asm_read.
         * epiphany/write.c (_write): Revert to use asm_write.

- Some cleanup in newlib/libc/{sys,machine}/epiphany:
         * libc/machine/epiphany/access.c: Move to libgloss.
         * libc/machine/epiphany/one_cmplsi2.S: Delete.
         * libc/machine/epiphany/ (lib_a_SOURCES): Remove access.c
         and one_cmplsi2.S.
         * libc/machine/epiphany/ Regenerate.
         * libc/machine/epiphany/aclocal.m4: Regenerate.
         * libc/machine/epiphany/ Regenerate.
         * libc/machine/epiphany/machine/endian.h: Delete.
         * libc/machine/epiphany/machine/epiphany_config.h: Move to libgloss.
         * libc/machine/epiphany/machine/param.h: Delete.
         * libc/sys/epiphany/isatty.c: Delete (use newlib/posix one).
         * libc/sys/epiphany/mem-layout.c, ___crt0.old.S: Delete.
         * libc/sys/epiphany/ (lib_a_sources): Remove isatty.c
         and mem-layout.c .  Add e_printf.c .
         * libc/sys/epiphany/ (AC_CONFIG_SRCDIR): Use e_printf.c.
         * libc/sys/epiphany/configure: Regenerate.
         * libc/sys/epiphany/aclocal.m4: Regenerate.
         * libc/sys/epiphany/ Regenerate.
         * epiphany/access.c: Moved from newlib.
         * epiphany-config.h: Likewise.
         * epiphany-syscalls.c: Adjust include name/path for  
epiphany-config.h .
         * epiphany/isatty.c: Delete.
         * epiphany/_isatty.c: New file, copied from newlib/libc/posix.
         Change fstat to _fstat.
         * epiphany/ (COMMON_OBJS): Add access.c and _isatty.c .
         Remove isatty.c .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: epiphany-newlib-diff-20120127.xz
Type: application/x-xz
Size: 2452 bytes
Desc: not available
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: epiphany-newlib-port-20120127.tar.xz
Type: application/x-xz
Size: 60904 bytes
Desc: not available
URL: <>

More information about the Newlib mailing list