[v3,2/4] i386: add i386-phoenix target
Checks
| Context |
Check |
Description |
| linaro-tcwg-bot/tcwg_binutils_build--master-arm |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 |
success
|
Test passed
|
| linaro-tcwg-bot/tcwg_binutils_check--master-arm |
success
|
Test passed
|
Commit Message
From: Michał Lach <michal.lach@phoenix-rtos.com>
Adds i386-phoenix target from downstream Phoenix-RTOS patches.
Co-authored-by: Hubert Badocha <hubert.badocha@phoenix-rtos.com>
Signed-off-by: Michal Lach <michal.lach@phoenix-rtos.com>
---
bfd/config.bfd | 3 +++
gas/configure.tgt | 1 +
ld/configure.tgt | 2 ++
3 files changed, 6 insertions(+)
@@ -785,6 +785,9 @@ case "${targ}" in
targ_defvec=i386_elf32_vxworks_vec
targ_underscore=yes
;;
+ i[3-6]86-*-phoenix*)
+ targ_defvec=i386_elf32_vec
+ ;;
ia16-*-elf)
targ_defvec=i386_elf32_vec
@@ -266,6 +266,7 @@ case ${generic_target} in
i386-*-*nt*) fmt=coff em=pe ;;
i386-*-rdos*) fmt=elf ;;
i386-*-darwin*) fmt=macho ;;
+ i386-*-phoenix*) fmt=elf ;;
ia16-*-elf*) fmt=elf ;;
@@ -431,6 +431,8 @@ i[3-7]86-*-haiku*) targ_emul=elf_i386_haiku
;;
i[3-7]86-*-vxworks*) targ_emul=elf_i386_vxworks
;;
+i[3-6]86-*-phoenix*) targ_emul=elf_i386
+ ;;
i[3-7]86-*-chaos) targ_emul=elf_i386_chaos
;;
ia16-*-elf*) targ_emul=elf_i386