D | common.c | 123 const char *normalize_arch(char *arch) in normalize_arch() argument 125 if (!strcmp(arch, "x86_64")) in normalize_arch() 127 if (arch[0] == 'i' && arch[2] == '8' && arch[3] == '6') in normalize_arch() 129 if (!strcmp(arch, "sun4u") || !strncmp(arch, "sparc", 5)) in normalize_arch() 131 if (!strcmp(arch, "aarch64") || !strcmp(arch, "arm64")) in normalize_arch() 133 if (!strncmp(arch, "arm", 3) || !strcmp(arch, "sa110")) in normalize_arch() 135 if (!strncmp(arch, "s390", 4)) in normalize_arch() 137 if (!strncmp(arch, "parisc", 6)) in normalize_arch() 139 if (!strncmp(arch, "powerpc", 7) || !strncmp(arch, "ppc", 3)) in normalize_arch() 141 if (!strncmp(arch, "mips", 4)) in normalize_arch() [all …]
|