RFA: Deprecate the ARM simulator

Message ID 87zfmj46x8.fsf@redhat.com
State Committed
Headers
Series RFA: Deprecate the ARM simulator |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_gcc_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_gcc_check--master-aarch64 success Test passed
linaro-tcwg-bot/tcwg_gcc_check--master-arm success Test passed

Commit Message

Nick Clifton Nov. 1, 2024, 9:52 a.m. UTC
  Hi Guys,

  I recently applied a patch to the top level configure script in the
  binutils-gdb repository to deprecate the ARM simulator and I would
  like to apply a similar one to the GCC repository so that the two
  configure systems are kept in sync.

  Any objections ?

Cheers
  Nick
  

Comments

Richard Earnshaw (lists) Nov. 1, 2024, 10:59 a.m. UTC | #1
On 01/11/2024 09:52, Nick Clifton wrote:
> Hi Guys,
> 
>   I recently applied a patch to the top level configure script in the
>   binutils-gdb repository to deprecate the ARM simulator and I would
>   like to apply a similar one to the GCC repository so that the two
>   configure systems are kept in sync.
> 
>   Any objections ?
> 

OK.

R.

> Cheers
>   Nick
> 
> diff --git a/configure b/configure
> index 8d031adafa8..a2e86731b08 100755
> --- a/configure
> +++ b/configure
> @@ -3766,6 +3766,13 @@ case "${target}" in
>      ;;
>  esac
>  
> +# The ARM simulator has been deprecated for all ARM targets.
> +case "${target}" in
> +  arm*-*-*)
> +    noconfigdirs="$noconfigdirs sim"
> +    ;;
> +esac
> +
>  case "${target}" in
>    *-*-chorusos)
>      ;;
> @@ -3777,7 +3784,7 @@ case "${target}" in
>      ;;
>    arm-*-darwin*)
>      noconfigdirs="$noconfigdirs ld gas gdb gprof"
> -    noconfigdirs="$noconfigdirs sim target-rda"
> +    noconfigdirs="$noconfigdirs target-rda"
>      ;;
>    powerpc-*-darwin*)
>      noconfigdirs="$noconfigdirs ld gas gdb gprof"
> diff --git a/configure.ac b/configure.ac
> index a688e9e2425..25419a1d2ab 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -991,6 +991,13 @@ case "${target}" in
>      ;;
>  esac
>  
> +# The ARM simulator has been deprecated for all ARM targets.
> +case "${target}" in
> +  arm*-*-*)
> +    noconfigdirs="$noconfigdirs sim"
> +    ;;
> +esac
> +
>  case "${target}" in
>    *-*-chorusos)
>      ;;
> @@ -1002,7 +1009,7 @@ case "${target}" in
>      ;;
>    arm-*-darwin*)
>      noconfigdirs="$noconfigdirs ld gas gdb gprof"
> -    noconfigdirs="$noconfigdirs sim target-rda"
> +    noconfigdirs="$noconfigdirs target-rda"
>      ;;
>    powerpc-*-darwin*)
>      noconfigdirs="$noconfigdirs ld gas gdb gprof"
>
  

Patch

diff --git a/configure b/configure
index 8d031adafa8..a2e86731b08 100755
--- a/configure
+++ b/configure
@@ -3766,6 +3766,13 @@  case "${target}" in
     ;;
 esac
 
+# The ARM simulator has been deprecated for all ARM targets.
+case "${target}" in
+  arm*-*-*)
+    noconfigdirs="$noconfigdirs sim"
+    ;;
+esac
+
 case "${target}" in
   *-*-chorusos)
     ;;
@@ -3777,7 +3784,7 @@  case "${target}" in
     ;;
   arm-*-darwin*)
     noconfigdirs="$noconfigdirs ld gas gdb gprof"
-    noconfigdirs="$noconfigdirs sim target-rda"
+    noconfigdirs="$noconfigdirs target-rda"
     ;;
   powerpc-*-darwin*)
     noconfigdirs="$noconfigdirs ld gas gdb gprof"
diff --git a/configure.ac b/configure.ac
index a688e9e2425..25419a1d2ab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -991,6 +991,13 @@  case "${target}" in
     ;;
 esac
 
+# The ARM simulator has been deprecated for all ARM targets.
+case "${target}" in
+  arm*-*-*)
+    noconfigdirs="$noconfigdirs sim"
+    ;;
+esac
+
 case "${target}" in
   *-*-chorusos)
     ;;
@@ -1002,7 +1009,7 @@  case "${target}" in
     ;;
   arm-*-darwin*)
     noconfigdirs="$noconfigdirs ld gas gdb gprof"
-    noconfigdirs="$noconfigdirs sim target-rda"
+    noconfigdirs="$noconfigdirs target-rda"
     ;;
   powerpc-*-darwin*)
     noconfigdirs="$noconfigdirs ld gas gdb gprof"