* [PATCH] target: keep tables sorted
@ 2020-07-08 22:24 Luc Van Oostenryck
0 siblings, 0 replies; only message in thread
From: Luc Van Oostenryck @ 2020-07-08 22:24 UTC (permalink / raw)
To: linux-sparse; +Cc: Luc Van Oostenryck
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
target.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/target.c b/target.c
index 6776c3a1cbb0..e512f7f1b618 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, },
--
2.27.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-08 22:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08 22:24 [PATCH] target: keep tables sorted Luc Van Oostenryck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).