From d0695096ba9ea056dc7b26eb22bec951cd60f889 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 20 Jan 2015 09:59:40 +0000 Subject: * configure.host: Add extra system for OpenRISC baremetal. --- newlib/configure.host | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'newlib/configure.host') diff --git a/newlib/configure.host b/newlib/configure.host index c4773d983..a8bbead44 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" -- cgit v1.2.3