[v3,3/4] sparc: add sparc-phoenix target

Message ID 20260316110746.1718-3-michal.lach@phoenix-rtos.com
State New
Headers
Series [v3,1/4] ld: use armelf_phoenix emul for arm-*-phoenix targets |

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-arm success Test passed
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 success Test passed

Commit Message

Michal Lach March 16, 2026, 11:07 a.m. UTC
  From: Michał Lach <michal.lach@phoenix-rtos.com>

Adds sparc-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>
---
 gas/configure.tgt | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Jose E. Marchesi March 16, 2026, 11:22 a.m. UTC | #1
OK.

> From: Michał Lach <michal.lach@phoenix-rtos.com>
>
> Adds sparc-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>
> ---
>  gas/configure.tgt | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/gas/configure.tgt b/gas/configure.tgt
> index 9f561ed450d..dbec23b0390 100644
> --- a/gas/configure.tgt
> +++ b/gas/configure.tgt
> @@ -407,6 +407,7 @@ case ${generic_target} in
>      esac ;;
>    sparc-*-freebsd*)			fmt=elf em=freebsd ;;
>    sparc-*-*bsd*)			fmt=elf em=nbsd ;;
> +  sparc-*-phoenix*)			fmt=elf ;;
>  
>    spu-*-elf)				fmt=elf ;;
  

Patch

diff --git a/gas/configure.tgt b/gas/configure.tgt
index 9f561ed450d..dbec23b0390 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -407,6 +407,7 @@  case ${generic_target} in
     esac ;;
   sparc-*-freebsd*)			fmt=elf em=freebsd ;;
   sparc-*-*bsd*)			fmt=elf em=nbsd ;;
+  sparc-*-phoenix*)			fmt=elf ;;
 
   spu-*-elf)				fmt=elf ;;