2005-03-22 Jeff Johnston <jjohnstn@redhat.com>

* configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
        * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
        than errno.
This commit is contained in:
Jeff Johnston
2005-03-22 23:45:43 +00:00
parent eb35705027
commit 859c94e8de
3 changed files with 17 additions and 7 deletions

View File

@@ -502,6 +502,9 @@ case "${host}" in
newlib_cflags="${newlib_cflags} -DARM_RDI_MONITOR"
fi
;;
arc*)
newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED"
;;
avr*)
newlib_cflags="${newlib_cflags} -DNO_EXEC -DSMALL_MEMORY -DMISSING_SYSCALL_NAMES"
;;