OpenCores
URL https://opencores.org/ocsvn/zipcpu/zipcpu/trunk

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [sw/] [nlib-zippatch.patch] - Diff between revs 202 and 209

Show entire file | Details | Blame | View Log

Rev 202 Rev 209
Line 6172... Line 6172...
 
 
 /* Define if ivo supported in streamio.  */
 /* Define if ivo supported in streamio.  */
 #undef _FVWRITE_IN_STREAMIO
 #undef _FVWRITE_IN_STREAMIO
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/configure.host newlib-2.5.0-zip/newlib/configure.host
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/configure.host newlib-2.5.0-zip/newlib/configure.host
--- newlib-2.5.0/newlib/configure.host  2016-12-22 21:33:54.000000000 -0500
--- newlib-2.5.0/newlib/configure.host  2016-12-22 21:33:54.000000000 -0500
+++ newlib-2.5.0-zip/newlib/configure.host      2017-01-25 10:26:38.562136630 -0500
+++ newlib-2.5.0-zip/newlib/configure.host      2018-03-22 19:19:26.894978411 -0400
@@ -310,6 +310,9 @@
@@ -310,6 +310,9 @@
   z8k)
   z8k)
        machine_dir=z8k
        machine_dir=z8k
        ;;
        ;;
+  zip*)
+  zip*)
+       machine_dir=zip
+       machine_dir=zip
+       ;;
+       ;;
   spu)
   spu)
        stdio_dir=
        stdio_dir=
        libm_machine_dir=spu
        libm_machine_dir=spu
@@ -565,6 +568,12 @@
@@ -565,6 +568,11 @@
   z8k-*-coff)
   z8k-*-coff)
        sys_dir=z8ksim
        sys_dir=z8ksim
        ;;
        ;;
+  zip*)
+  zip*)
+#      sys_dir=zip     # But ... I don't have a directory in newlib/libc/sys
+#      sys_dir=zip     # But ... I don't have a directory in newlib/libc/sys
+       newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED "
+       newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED "
+       newlib_cflags="${newlib_cflags} -DNO_FLOATING_POINT"
 
+#        have_crt0="yes"
+#        have_crt0="yes"
+       ;;
+       ;;
 esac
 esac
 
 
 # Host specific flag settings -- usually for features that are not
 # Host specific flag settings -- usually for features that are not
@@ -851,6 +860,9 @@
@@ -851,6 +859,9 @@
   z8k-*-*)
   z8k-*-*)
        syscall_dir=syscalls
        syscall_dir=syscalls
        ;;
        ;;
+  zip*)
+  zip*)
+       syscall_dir=syscalls
+       syscall_dir=syscalls

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.