Package: src:dpkg
Version: 1.18.3

We are working on add basic support of MIPS R6 support to Debian.
Please add the support of R6 architectures to dpkg.

About MIPS R6:
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 add emulation
of the removed instructions in kernel,
so old binaries can still run on new R6 CPUs.

While for the new CPUs, we still wish they can have their own architectures.

In future, we may add them to the official Debian archive,
while now, it is just a prepare.

Thank you very much.

-- 
YunQiang Su
diff --git a/cputable b/cputable
index 676dcd7..f9f7f63 100644
--- a/cputable
+++ b/cputable
@@ -29,6 +29,10 @@ mips         mips            mips(eb)?               32      
big
 mipsel         mipsel          mipsel                  32      little
 mips64         mips64          mips64                  64      big
 mips64el       mips64el        mips64el                64      little
+mips32r6       mipsisa32r6     mipsisa32r6     `       32      big
+mips32r6el     mipsisa32r6el   mipsisa32r6el           32      little
+mips64r6       mipsisa64r6     mipsisa64r6             64      big
+mips64r6el     mipsisa64r6el   mipsisa64r6el           64      little
 or1k           or1k            or1k                    32      big
 powerpc                powerpc         (powerpc|ppc)           32      big
 powerpcel      powerpcle       powerpcle               32      little
diff --git a/triplettable b/triplettable
index 7257744..a5ec5f1 100644
--- a/triplettable
+++ b/triplettable
@@ -9,10 +9,14 @@ musleabihf-linux-arm  musl-linux-armhf
 musl-linux-<cpu>       musl-linux-<cpu>
 gnueabihf-linux-arm    armhf
 gnueabi-linux-arm      armel
-gnuabin32-linux-mips64el       mipsn32el
 gnuabin32-linux-mips64 mipsn32
-gnuabi64-linux-mips64el        mips64el
+gnuabin32-linux-mips64r6       mipsn32r6
+gnuabin32-linux-mips64el       mipsn32el
+gnuabin32-linux-mips64r6el     mipsn32r6el
 gnuabi64-linux-mips64  mips64
+gnuabi64-linux-mips64r6        mips64r6
+gnuabi64-linux-mips64el        mips64el
+gnuabi64-linux-mips64r6el      mips64r6el
 gnuspe-linux-powerpc   powerpcspe
 gnux32-linux-amd64     x32
 gnu-linux-<cpu>                <cpu>

Reply via email to