Skip to content
Snippets Groups Projects
Commit 0d134cdc authored by Guillem Jover's avatar Guillem Jover
Browse files

arch: Add support for ARCv2 CPU


This is based on the ARCv2 32-bit little-endian hard-float ISA.

Closes: #980963
Based-on-patch-by: default avatarAlexey Brodkin <Alexey.Brodkin@synopsys.com>
parent 81f40c4a
No related branches found
No related tags found
1 merge request!4Update crimson to version from bookworm
......@@ -22,6 +22,7 @@ i386 i686 (i[34567]86|pentium) 32 little
ia64 ia64 ia64 64 little
alpha alpha alpha.* 64 little
amd64 x86_64 (amd64|x86_64) 64 little
arc arc arc 32 little
armeb armeb arm.*b 32 big
arm arm arm.* 32 little
arm64 aarch64 aarch64 64 little
......
......@@ -100,6 +100,7 @@ use constant {
ELF_MACH_OR1K => 92,
ELF_MACH_XTENSA => 94,
ELF_MACH_MICROBLAZE => 189,
ELF_MACH_ARCV2 => 195,
ELF_MACH_AVR_OLD => 0x1057,
ELF_MACH_OR1K_OLD => 0x8472,
ELF_MACH_ALPHA => 0x9026,
......
......@@ -16,7 +16,7 @@
use strict;
use warnings;
use Test::More tests => 17914;
use Test::More tests => 18407;
use_ok('Dpkg::Arch', qw(debarch_to_debtuple debarch_to_multiarch
debarch_eq debarch_is debarch_is_wildcard
......@@ -187,7 +187,7 @@ foreach my $arch (@valid_arches) {
"bijective triplet $triplet to tuple @tuple");
}
is(scalar @valid_arches, 539, 'expected amount of known architectures');
is(scalar @valid_arches, 554, 'expected amount of known architectures');
{
local $ENV{CC} = 'false';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment