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

Joern Rennecke amylaar@spamcop.net
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 http://sources.redhat.com/ml/newlib/2011/msg00580.html ,
so I'm reposting an updated version here.

2012-01-20  Jeremy Bennett  <jeremy.bennett@embecosm.com>
             Alan Lehotsky  <apl@alum.mit.edu>
             Joern Rennecke  <joern.rennecke@embecosm.com>

toplevel:
          * COPYING.NEWLIB: Add Adapteva notice.
          * COPYING.LIBGLOSS: Add Adapteva notice.
libgloss:
          * configure.in: Add Epiphany support.
          * configure: Regenerate.
          * epiphany: New directory.
          * libgloss/README: Add Epiphany entry.
newlib:
          * configure.host: Add Epiphany support.
          * libc/include/machine/ieeefp.h: Likewise.
          * libc/include/machine/setjmp.h: Likewise.
          * libc/machine/configure.in, libc/sys/configure.in: 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
   meantime.

- switched trap back from syscall to open/read/write trap for backward
   compatibility (while keeping the fixed semantics):
   libgloss:
         * 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:
   newlib:
         * libc/machine/epiphany/access.c: Move to libgloss.
         * libc/machine/epiphany/one_cmplsi2.S: Delete.
         * libc/machine/epiphany/Makefile.am (lib_a_SOURCES): Remove access.c
         and one_cmplsi2.S.
         * libc/machine/epiphany/Makefile.in: Regenerate.
         * libc/machine/epiphany/aclocal.m4: Regenerate.
         * libc/machine/epiphany/Makefile.in: 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/Makefile.am (lib_a_sources): Remove isatty.c
         and mem-layout.c .  Add e_printf.c .
         * libc/sys/epiphany/configure.in (AC_CONFIG_SRCDIR): Use e_printf.c.
         * libc/sys/epiphany/configure: Regenerate.
         * libc/sys/epiphany/aclocal.m4: Regenerate.
         * libc/sys/epiphany/Makefile.in: Regenerate.
   libgloss:
         * 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/Makefile.in (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: <http://sourceware.org/pipermail/newlib/attachments/20120127/1dd78b04/attachment.xz>
-------------- 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: <http://sourceware.org/pipermail/newlib/attachments/20120127/1dd78b04/attachment-0001.xz>


More information about the Newlib mailing list