aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'target.c')
-rw-r--r--target.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/target.c b/target.c
index 6776c3a1..e512f7f1 100644
--- a/target.c
+++ b/target.c
@@ -60,9 +60,9 @@ static const struct target *targets[] = {
[MACH_ALPHA] = &target_alpha,
[MACH_ARM] = &target_arm,
[MACH_ARM64] = &target_arm64,
- [MACH_I386] = &target_i386,
[MACH_BFIN] = &target_bfin,
- [MACH_X86_64] = &target_x86_64,
+ [MACH_I386] = &target_i386,
+ [MACH_M68K] = &target_m68k,
[MACH_MICROBLAZE] = &target_microblaze,
[MACH_MIPS32] = &target_mips32,
[MACH_MIPS64] = &target_mips64,
@@ -75,7 +75,7 @@ static const struct target *targets[] = {
[MACH_S390X] = &target_s390x,
[MACH_SPARC32] = &target_sparc32,
[MACH_SPARC64] = &target_sparc64,
- [MACH_M68K] = &target_m68k,
+ [MACH_X86_64] = &target_x86_64,
[MACH_UNKNOWN] = &target_default,
};
const struct target *arch_target = &target_default;
@@ -91,8 +91,8 @@ enum machine target_parse(const char *name)
{ "aarch64", MACH_ARM64, 64, },
{ "arm64", MACH_ARM64, 64, },
{ "arm", MACH_ARM, 32, },
- { "i386", MACH_I386, 32, },
{ "bfin", MACH_BFIN, 32, },
+ { "i386", MACH_I386, 32, },
{ "m68k", MACH_M68K, 32, },
{ "microblaze", MACH_MICROBLAZE,32, },
{ "mips", MACH_MIPS32, 0, },