[PATCH] Build on GNU/KNetBSD w/ ChangeLog

Nick Clifton nickc@redhat.com
Mon Oct 6 09:11:00 GMT 2003


Hi Robert,

> The attached patch fixes binutils to use the new system triplet ("knetbsd-gnu")
> for Glibc-based GNU/KNetBSD systems.
>
> Since it consists of a repetition of the same change, I don't think there
> should be any copyright problem; please commit.
>
> bfd/ChangeLog:
>
> 2003-10-03  Robert Millan  <robertmh@gnu.org>
>
> 	* configure.in: Match GNU/KNetBSD with new knetbsd*-gnu triplet.
> 	* config.bfd: Likewise.
> 	* configure: Regenerate.
>
> gas/ChangeLog:
>
> 2003-10-03  Robert Millan  <robertmh@gnu.org>
>
> 	* configure.in: Match GNU/KNetBSD with new knetbsd*-gnu	triplet.
> 	* configure: Regenerate.
>
> ld/ChangeLog:
>
> 2003-10-03  Robert Millan  <robertmh@gnu.org>
>
> 	* configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet.

Approved and applied.

Note - I made a couple of changes.  I changed the tests so that the
old "i[3-7]86-netbsd*-gnu" triplet would still be recognised.  If this
triplet needs to be removed it should be added to the obsolete
configurations code in bfd/config.bfd first.

Also, I did not check in this part of the patch:

> gas/testsuite/ChangeLog:
> 2003-10-03  Robert Millan  <robertmh@gnu.org>
>
> 	* gas/alpha/alpha.exp: Match GNU/KNetBSD with new knetbsd*-gnu triplet.

Since the code in alpha.exp has already checked to see if the first
part of the triplet contains "alpha" there seemed to be no need to
check the last part for knetbsd.  Of course if there is going to be an
alpha port using the knetbsd string then this ought to be changed.

Cheers
        Nick
        



More information about the Binutils mailing list