Преглед на файлове

Add MIPS R6 architectures to arch tables

MIPS R6 is a new release of MIPS32 and MIPS64. R6 is not fully compatible
with R5-, as it adds and *removes* some instructions, and adds emulation
of the removed instructions in the kernel, so old binaries can still run
on new R6 CPUs, but at a significant performance cost.

Closes: #807340
Signed-off-by: Guillem Jover <guillem@debian.org>
YunQiang Su преди 10 години
родител
ревизия
8adc184ffa
променени са 4 файла, в които са добавени 11 реда и са изтрити 1 реда
  1. 4 0
      cputable
  2. 2 0
      debian/changelog
  3. 1 1
      scripts/t/Dpkg_Arch.t
  4. 4 0
      triplettable

+ 4 - 0
cputable

@@ -27,8 +27,12 @@ m32r		m32r		m32r			32	big
 m68k		m68k		m68k			32	big
 mips		mips		mips(eb)?		32	big
 mipsel		mipsel		mipsel			32	little
+mips32r6	mipsisa32r6	mipsisa32r6		32	big
+mips32r6el	mipsisa32r6el	mipsisa32r6el		32	little
 mips64		mips64		mips64			64	big
 mips64el	mips64el	mips64el		64	little
+mips64r6	mipsisa64r6	mipsisa64r6		64	big
+mips64r6el	mipsisa64r6el	mipsisa64r6el		64	little
 nios2		nios2		nios2			32	little
 or1k		or1k		or1k			32	big
 powerpc		powerpc		(powerpc|ppc)		32	big

+ 2 - 0
debian/changelog

@@ -24,6 +24,8 @@ dpkg (1.18.5) UNRELEASED; urgency=medium
   * Check first for build type to short-circuit boolean expressions in
     dpkg-genchanges.
   * Add source format backend-specific --help options support to dpkg-source.
+  * Add MIPS R6 architectures to arch tables. Closes: #807340
+    Thanks to YunQiang Su <wzssyqa@gmail.com>.
   * Perl modules:
     - Add new CTRL_REPO_RELEASE control block type to Dpkg::Control.
     - Add new CTRL_COPYRIGHT_HEADER, CTRL_COPYRIGHT_FILES and

+ 1 - 1
scripts/t/Dpkg_Arch.t

@@ -98,7 +98,7 @@ is(gnutriplet_to_debarch(undef), undef, 'undef gnutriplet');
 is(gnutriplet_to_debarch('unknown-unknown-unknown'), undef, 'unknown gnutriplet');
 is(gnutriplet_to_debarch('x86_64-linux-gnu'), 'amd64', 'known gnutriplet');
 
-is(scalar get_valid_arches(), 417, 'expected amount of known architectures');
+is(scalar get_valid_arches(), 475, 'expected amount of known architectures');
 
 {
     local $ENV{CC} = 'false';

+ 4 - 0
triplettable

@@ -9,8 +9,12 @@ musleabihf-linux-arm	musl-linux-armhf
 musl-linux-<cpu>	musl-linux-<cpu>
 gnueabihf-linux-arm	armhf
 gnueabi-linux-arm	armel
+gnuabin32-linux-mips64r6el	mipsn32r6el
+gnuabin32-linux-mips64r6	mipsn32r6
 gnuabin32-linux-mips64el	mipsn32el
 gnuabin32-linux-mips64	mipsn32
+gnuabi64-linux-mips64r6el	mips64r6el
+gnuabi64-linux-mips64r6	mips64r6
 gnuabi64-linux-mips64el	mips64el
 gnuabi64-linux-mips64	mips64
 gnuspe-linux-powerpc	powerpcspe