We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b72433b commit aacc5f7Copy full SHA for aacc5f7
1 file changed
platform/linux/platform_linux.cpp
@@ -671,6 +671,18 @@ extern "C"
671
BinaryViewType::RegisterPlatform("ELF", 3, platform);
672
}
673
674
+ Ref<Architecture> cskyv2be = Architecture::GetByName("csky_be");
675
+ if (cskyv2be)
676
+ {
677
+ Ref<Platform> platform;
678
+
679
+ platform = new LinuxCSkyV2Platform(cskyv2be, "linux-csky_be");
680
+ Platform::Register("linux", platform);
681
+ // Linux binaries sometimes have an OS identifier of zero, even though 3 is the correct one
682
+ BinaryViewType::RegisterPlatform("ELF", 0, platform);
683
+ BinaryViewType::RegisterPlatform("ELF", 3, platform);
684
+ }
685
686
Ref<Architecture> nds32 = Architecture::GetByName("nds32");
687
if (nds32)
688
{
0 commit comments