Commit 5a5f6e16 authored by Ian Douglas Scott's avatar Ian Douglas Scott Committed by Jeremy Soller

Redox support

parent 08606938
......@@ -249,6 +249,11 @@ case "${targ}" in
targ_selvecs="aarch64_elf64_be_vec arm_elf32_le_vec arm_elf32_be_vec"
want64=true
;;
aarch64-*-redox*)
targ_defvec=aarch64_elf64_le_vec
targ_selvecs="aarch64_elf64_be_vec arm_elf32_le_vec arm_elf32_be_vec"
want64=true
;;
aarch64-*-cloudabi*)
targ_defvec=aarch64_elf64_le_cloudabi_vec
targ_selvecs=aarch64_elf64_be_cloudabi_vec
......
......@@ -3883,6 +3883,9 @@ case "${target}" in
wasm32-*-*)
noconfigdirs="$noconfigdirs ld"
;;
*-*-redox)
noconfigdirs="$noconfigdirs readline gdb"
;;
esac
# If we aren't building newlib, then don't build libgloss, since libgloss
......
......@@ -1180,6 +1180,9 @@ case "${target}" in
wasm32-*-*)
noconfigdirs="$noconfigdirs ld"
;;
*-*-redox)
noconfigdirs="$noconfigdirs readline gdb"
;;
esac
# If we aren't building newlib, then don't build libgloss, since libgloss
......
......@@ -127,6 +127,7 @@ case ${generic_target} in
case ${cpu}-${os} in
aarch64*-linux-gnu_ilp32) arch=aarch64:32 ;;
esac ;;
aarch64*-*-redox*) fmt=elf;;
alpha-*-*vms*) fmt=evax ;;
alpha-*-osf*) fmt=ecoff ;;
......
......@@ -64,6 +64,8 @@ aarch64-*-linux-gnu_ilp32)
targ_emul=aarch64linux32
targ_extra_libpath="aarch64linux aarch64linuxb aarch64linux32b armelfb_linux_eabi armelf_linux_eabi"
targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb $targ_extra_libpath" ;;
aarch64-*-redox*) targ_emul=aarch64elf
targ_extra_emuls="aarch64elfb armelf armelfb" ;;
aarch64_be-*-linux*) targ_emul=aarch64linuxb
targ_extra_libpath="aarch64linux aarch64linux32 aarch64linux32b armelfb_linux_eabi armelf_linux_eabi"
targ_extra_emuls="aarch64elfb aarch64elf aarch64elf32 aarch64elf32b armelfb armelf $targ_extra_libpath" ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment