[binutils-gdb] i386: add i386-phoenix target

Jan Beulich via Binutils-cvs <[email protected]>
Newsgroups gmane.comp.gnu.binutils.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5c501f16aacf69c596f7fb4dda81b64d48971586

commit 5c501f16aacf69c596f7fb4dda81b64d48971586
Author: Michał Lach <[email protected]>
Date:   Fri Mar 20 14:24:44 2026 +0100

    i386: add i386-phoenix target
    
    Adds i386-phoenix target from downstream Phoenix-RTOS patches.
    
    Co-authored-by: Hubert Badocha <[email protected]>
    Signed-off-by: Michal Lach <[email protected]>

Diff:
---
 bfd/config.bfd    | 2 +-
 gas/configure.tgt | 1 +
 ld/configure.tgt  | 3 ++-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/bfd/config.bfd b/bfd/config.bfd
index e25f77a369d..9d4d2f8f19f 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -628,7 +628,7 @@ case "${targ}" in
     targ_defvec=i386_elf32_vec
     targ_selvecs="i386_coff_lynx_vec i386_aout_lynx_vec"
     ;;
-  i[3-7]86-*-aros* | i[3-7]86-*-gnu* | i[3-7]86-*-openbsd*)
+  i[3-7]86-*-aros* | i[3-7]86-*-gnu* | i[3-7]86-*-openbsd* | i[3-6]86-*-phoenix*)
     targ_defvec=i386_elf32_vec
     ;;
   i[3-7]86-*-msdos*)
diff --git a/gas/configure.tgt b/gas/configure.tgt
index f0ea55d9def..9f561ed450d 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -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 ;;
 
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 8201599073b..0234992057f 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -375,7 +375,8 @@ i[3-7]86-*-solaris*)
 i[3-7]86-*-netbsd* | \
 i[3-7]86-*-netbsd*-gnu* | \
 i[3-7]86-*-knetbsd*-gnu | \
-i[3-7]86-*-openbsd*)
+i[3-7]86-*-openbsd* | \
+i[3-6]86-*-phoenix*)
 			targ_emul=elf_i386
 			;;
 i[3-7]86-*-elfiamcu)	targ_emul=elf_iamcu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.