Obsolete beos

Message ID Y1CMrFUC8d9lC/NL@squeak.grove.modra.org
State Repeat Merge
Headers
Series Obsolete beos |

Checks

Context Check Description
snail/binutils-gdb-check warning Git am fail log

Commit Message

Alan Modra Oct. 19, 2022, 11:47 p.m. UTC
  See https://sourceware.org/pipermail/binutils/2021-September/117850.html

	* config.bfd: Obsolete *-*-beos*.  Simplify x86 beos match.
  

Comments

Joel Sherrill Oct. 20, 2022, 7:04 p.m. UTC | #1
What happens with Haiku? Does this impact it?

Not that I have any detailed knowledge about Haiku or Beos but I do know
they are related. :)

--joel

On Wed, Oct 19, 2022 at 6:48 PM Alan Modra via Binutils <
binutils@sourceware.org> wrote:

> See https://sourceware.org/pipermail/binutils/2021-September/117850.html
>
>         * config.bfd: Obsolete *-*-beos*.  Simplify x86 beos match.
>
> diff --git a/bfd/config.bfd b/bfd/config.bfd
> index 0ae8eb39d29..0bc27fdce97 100644
> --- a/bfd/config.bfd
> +++ b/bfd/config.bfd
> @@ -48,6 +48,7 @@ targ_underscore=no
>
>  # Catch obsolete configurations.
>  case $targ in
> + *-*-beos* | \
>   null)
>      if test "x$enable_obsolete" != xyes; then
>        echo "*** Configuration $targ is obsolete." >&2
> @@ -751,7 +752,7 @@ case "${targ}" in
>      targ_defvec=i386_pe_vec
>      targ_selvecs="i386_pe_vec i386_pei_vec"
>      ;;
> -  i[3-7]86-*-beoself* | i[3-7]86-*-beos*)
> +  i[3-7]86-*-beos*)
>      targ_defvec=i386_elf32_vec
>      targ_selvecs="iamcu_elf32_vec i386_pe_vec i386_pei_vec"
>      ;;
>
> --
> Alan Modra
> Australia Development Lab, IBM
>
  
Alan Modra Oct. 21, 2022, 12:06 a.m. UTC | #2
On Thu, Oct 20, 2022 at 02:04:01PM -0500, Joel Sherrill wrote:
> What happens with Haiku? Does this impact it?

No impact, unless people are configuring for haiku using a beos
triplet.  That shouldn't be necessary since the binutils haiku support
went in before this patch:
> > See https://sourceware.org/pipermail/binutils/2021-September/117850.html

Which aimed to remove all traces of beos, without any period of
obsolescence.
  
Joel Sherrill Oct. 21, 2022, 12:12 a.m. UTC | #3
On Thu, Oct 20, 2022, 7:06 PM Alan Modra <amodra@gmail.com> wrote:

> On Thu, Oct 20, 2022 at 02:04:01PM -0500, Joel Sherrill wrote:
> > What happens with Haiku? Does this impact it?
>
> No impact, unless people are configuring for haiku using a beos
> triplet.  That shouldn't be necessary since the binutils haiku support
> went in before this patch:
> > > See
> https://sourceware.org/pipermail/binutils/2021-September/117850.html
>
> Which aimed to remove all traces of beos, without any period of
> obsolescence.
>

Ok. Just asking.

>
>
> --
> Alan Modra
> Australia Development Lab, IBM
>
  

Patch

diff --git a/bfd/config.bfd b/bfd/config.bfd
index 0ae8eb39d29..0bc27fdce97 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -48,6 +48,7 @@  targ_underscore=no
 
 # Catch obsolete configurations.
 case $targ in
+ *-*-beos* | \
  null)
     if test "x$enable_obsolete" != xyes; then
       echo "*** Configuration $targ is obsolete." >&2
@@ -751,7 +752,7 @@  case "${targ}" in
     targ_defvec=i386_pe_vec
     targ_selvecs="i386_pe_vec i386_pei_vec"
     ;;
-  i[3-7]86-*-beoself* | i[3-7]86-*-beos*)
+  i[3-7]86-*-beos*)
     targ_defvec=i386_elf32_vec
     targ_selvecs="iamcu_elf32_vec i386_pe_vec i386_pei_vec"
     ;;