[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').
netbsd-eabi.patch
Description: Text document
nbsd.data
Description: Text document
nbsd.sh
Description: Text document
- [PATCH] NetBSD ARM EABI,
Taylor R Campbell <=