This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, OR1K] Baremetal system for OpenRISC


On 14.01.2015 10:25, Corinna Vinschen wrote:
> Patch applied. Thanks, Corinna 
Hi,

thanks a lot. But are you sure the patch got comitted entirely? I think
the configure.host update is missing and I separated it attached. Can
you please apply this? Thanks a lot!

Bye,
Stefan
commit b0c2d78baedb9f1b8e9f9af0dc4cdde3da66453a
Author: Stefan Wallentowitz <stefan.wallentowitz@tum.de>
Date:   Tue Jan 20 10:23:40 2015 +0100

    newlib/Changelog:
    	* configure.host: Add extra system for OpenRISC baremetal

diff --git a/newlib/configure.host b/newlib/configure.host
index c4773d9..a8bbead 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -502,8 +502,10 @@ case "${host}" in
   nios2*)
 	sys_dir=
 	;;
-  or1k-*-* | or1knd-*-*)
-        syscall_dir=syscalls
+  or1k-*-elf | or1knd-*-elf)
+	sys_dir=or1k
+	newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED "
+	have_crt0="no"
 	;;
   powerpcle-*-pe)
 	posix_dir=posix
@@ -748,6 +750,9 @@ case "${host}" in
   nds32*)
 	syscall_dir=syscalls
 	;;
+  or1k*|or1knd*)
+	syscall_dir=syscalls
+	;;
   powerpc*-*-eabialtivec*)
 	default_newlib_io_long_long="yes"
 	newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES"

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]