1# Version=1.0
2#
3# Bidirectional mapping between a Debian arch tuple and a Debian arch name.
4#
5# Debian arch tuple names are formed as a combination of the Debian system
6# name (from the ostable) and the Debian CPU name (from the cputable) after
7# applying the variable substitutions. Debian arch names are the result of
8# historical naming conventions in Debian, where the predominant system
9# architectures have many of their parts in implicit form, by only exposing
10# the CPU with the ABI bolted on, where less common architectures have their
11# OS part spelled out, and where even less common ones, have their libc
12# spelled out. This table maps between the ideal architecture tuple, with
13# the current messy reality.
14#
15# - Column 1 is the Debian arch tuple name, as the normalized form of the
16#   architecture names, used as the internal representation.
17# - Column 2 is the Debian arch name, as the abbreviated form of the
18#   architecture names, used as the public interface.
19#
20# Supported variables: <cpu>
21#
22# <Debian arch tuple>		<Debian arch name>
23eabi-uclibc-linux-arm		uclibc-linux-armel
24base-uclibc-linux-<cpu>		uclibc-linux-<cpu>
25eabihf-musl-linux-arm		musl-linux-armhf
26base-musl-linux-<cpu>		musl-linux-<cpu>
27ilp32-gnu-linux-arm64		arm64ilp32
28eabihf-gnu-linux-arm		armhf
29eabi-gnu-linux-arm		armel
30abin32-gnu-linux-mips64r6el	mipsn32r6el
31abin32-gnu-linux-mips64r6	mipsn32r6
32abin32-gnu-linux-mips64el	mipsn32el
33abin32-gnu-linux-mips64		mipsn32
34abi64-gnu-linux-mips64r6el	mips64r6el
35abi64-gnu-linux-mips64r6	mips64r6
36abi64-gnu-linux-mips64el	mips64el
37abi64-gnu-linux-mips64		mips64
38spe-gnu-linux-powerpc		powerpcspe
39x32-gnu-linux-amd64		x32
40base-gnu-linux-<cpu>		<cpu>
41eabihf-gnu-kfreebsd-arm		kfreebsd-armhf
42base-gnu-kfreebsd-<cpu>		kfreebsd-<cpu>
43base-gnu-knetbsd-<cpu>		knetbsd-<cpu>
44base-gnu-kopensolaris-<cpu>	kopensolaris-<cpu>
45base-gnu-hurd-<cpu>		hurd-<cpu>
46base-bsd-dragonflybsd-<cpu>	dragonflybsd-<cpu>
47base-bsd-freebsd-<cpu>		freebsd-<cpu>
48base-bsd-openbsd-<cpu>		openbsd-<cpu>
49base-bsd-netbsd-<cpu>		netbsd-<cpu>
50base-bsd-darwin-<cpu>		darwin-<cpu>
51base-sysv-aix-<cpu>		aix-<cpu>
52base-sysv-solaris-<cpu>		solaris-<cpu>
53eabi-uclibc-uclinux-arm		uclinux-armel
54base-uclibc-uclinux-<cpu>	uclinux-<cpu>
55base-tos-mint-m68k		mint-m68k
56