config-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] NetBSD ARM EABI


From: Taylor R Campbell
Subject: [PATCH] NetBSD ARM EABI
Date: Sun, 15 Feb 2015 19:32:05 +0000
User-agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/9.1.99

The attached patch extends config.guess to distinguish the old ARM ABI
from EABI and EABI with hardfloat on NetBSD, as NetBSD uses on ~all
modern ARM platforms, and extends config.sub to recognize it.

I extended config-sub.data with examples of platform triples generated
by config.guess, and of platform triples used by NetBSD's
cross-compiler toolchain and pkgsrc (which omit the release number and
say `ARCH--netbsd...' instead of `ARCH-unknown-netbsd...').

I would have extended config-guess.data, but it depends on the
hw.machine_arch sysctl, which config-guess.sh does not have a way to
furnish.  Incidentally, on NetBSD, `uname -p' has been the same as
`sysctl -n hw.machine_arch' since the former was introduced in 1998,
so I'm not sure why config.guess bothers with sysctl.  (The
hw.machine_arch sysctl was introduced in 1997.)

So I have also attached a collection of test data for NetBSD and a
little script to run it: `./nbsd.sh < nbsd.data' (provided
config.guess is patched to say `sysctl' instead of `/sbin/sysctl').

Attachment: netbsd-eabi.patch
Description: Text document

Attachment: nbsd.data
Description: Text document

Attachment: nbsd.sh
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]