summaryrefslogtreecommitdiffstats
path: root/newlib/configure.host
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host12
1 files changed, 12 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index 2da15de5e..a6673af9f 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -122,6 +122,9 @@ case "${host_cpu}" in
d30v*)
machine_dir=d30v
;;
+ epiphany)
+ machine_dir=epiphany
+ ;;
fido)
machine_dir=m68k
newlib_cflags="${newlib_cflags} -DCOMPACT_CTYPE"
@@ -385,6 +388,11 @@ case "${host}" in
d30v*)
sys_dir=
;;
+ epiphany-*-*)
+ sys_dir=epiphany
+ # crt0 is provided by libgloss.
+ have_crt0="no"
+ ;;
frv*)
sys_dir=
;;
@@ -598,6 +606,10 @@ case "${host}" in
newlib_cflags="${newlib_cflags} -DABORT_MESSAGE -DSMALL_MEMORY -DMISSING_SYSCALL_NAMES"
syscall_dir=
;;
+ epiphany*)
+ syscall_dir=syscalls
+ newlib_cflags="${newlib_cflags} -DSIGNAL_PROVIDED"
+ ;;
fido-*-elf)
newlib_cflags="${newlib_cflags} -DHAVE_RENAME -DHAVE_SYSTEM -DMISSING_SYSCALL_NAMES"
syscall_dir=