Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/toolchain Add ELF tagging (-netbsdelf) to the arm t...
details: https://anonhg.NetBSD.org/src/rev/634707017971
branches: trunk
changeset: 508973:634707017971
user: tv <tv%NetBSD.org@localhost>
date: Mon Apr 23 15:17:59 2001 +0000
description:
Add ELF tagging (-netbsdelf) to the arm target.
diffstat:
gnu/dist/toolchain/config.guess | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r daa398e92de2 -r 634707017971 gnu/dist/toolchain/config.guess
--- a/gnu/dist/toolchain/config.guess Mon Apr 23 15:12:39 2001 +0000
+++ b/gnu/dist/toolchain/config.guess Mon Apr 23 15:17:59 2001 +0000
@@ -133,11 +133,15 @@
hp300:0*|hp300:1.[012]*) UNAME_MACHINE_ARCH=m68k4k;;
*)
UNAME_MACHINE_ARCH=`(uname -p || sysctl -n hw.machine_arch || echo unknown) 2>/dev/null`
+ # Remap some names to GNU equivalents.
case "${UNAME_MACHINE_ARCH}" in
arm26) UNAME_MACHINE_ARCH=armv2;;
arm32) UNAME_MACHINE_ARCH=arm;;
mips) UNAME_MACHINE_ARCH=mipsel;;
- i386|m68k|ns32k|sparc|vax)
+ esac
+ # Mark platforms for which ELF is not the original format.
+ case "${UNAME_MACHINE_ARCH}" in
+ arm|i386|m68k|ns32k|sparc|vax)
if ! echo __ELF__ | cc -E - | grep -q __ELF__; then
UNAME_OBJFORMAT=elf
fi
Home |
Main Index |
Thread Index |
Old Index