Pārlūkot izejas kodu

arch: Add TILE-Gx support to cputable

TILE-Gx is little endian 64-bit.

Closes: #823167
Signed-off-by: Guillem Jover <guillem@debian.org>
Helmut Grohne 10 gadi atpakaļ
vecāks
revīzija
6ab5c0754b
3 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  1. 1 0
      cputable
  2. 3 0
      debian/changelog
  3. 1 1
      scripts/t/Dpkg_Arch.t

+ 1 - 0
cputable

@@ -47,3 +47,4 @@ sh4		sh4		sh4			32	little
 sh4eb		sh4eb		sh4eb			32	big
 sparc		sparc		sparc			32	big
 sparc64		sparc64		sparc64			64	big
+tilegx		tilegx		tilegx			64	little

+ 3 - 0
debian/changelog

@@ -46,6 +46,9 @@ dpkg (1.18.8) UNRELEASED; urgency=medium
     packages that are not found in debian/control.
   * Export SOURCE_DATE_EPOCH from pkg-info.mk makefile snippet.
     Closes: #824572
+  * Architecture support:
+    - Add TILE-Gx support to cputable. Closes: #823167
+      Thanks to Helmut Grohne <helmut@subdivi.de>.
   * Perl modules:
     - Use warnings::warnif() instead of carp() for deprecated warnings.
     - Add new format_range() method and deprecate dpkg() and rfc822() methods

+ 1 - 1
scripts/t/Dpkg_Arch.t

@@ -120,7 +120,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(), 475, 'expected amount of known architectures');
+is(scalar get_valid_arches(), 489, 'expected amount of known architectures');
 
 {
     local $ENV{CC} = 'false';