53 lines
1.7 KiB
Diff
53 lines
1.7 KiB
Diff
Based on 037c26d0aeb750ca9c8d605884ea1db7baecfea8 Mon Sep 17 00:00:00 2001
|
|
Based on 9a00f57a5ba7ed431e6bac8d8b36518708503b4e Mon Sep 17 00:00:00 2001
|
|
From: Lennart Poettering <lennart@poettering.net>
|
|
Date: Mon, 7 Jul 2014 14:59:06 +0200
|
|
Subject: [PATCH] architecture: add string table entries for mips-le archs
|
|
which were missing
|
|
|
|
---
|
|
src/shared/architecture.c | 2 ++
|
|
src/shared/architecture.h | 4 ++++
|
|
2 files changed, 6 insertions(+)
|
|
|
|
diff --git src/shared/architecture.c src/shared/architecture.c
|
|
index 6cdca4e..dc45f35 100644
|
|
--- src/shared/architecture.c
|
|
+++ src/shared/architecture.c
|
|
@@ -153,7 +153,9 @@ static const char *const architecture_table[_ARCHITECTURE_MAX] = {
|
|
[ARCHITECTURE_SPARC] = "sparc",
|
|
[ARCHITECTURE_SPARC64] = "sparc64",
|
|
[ARCHITECTURE_MIPS] = "mips",
|
|
+ [ARCHITECTURE_MIPS_LE] = "mips-le",
|
|
[ARCHITECTURE_MIPS64] = "mips64",
|
|
+ [ARCHITECTURE_MIPS64_LE] = "mips64-le",
|
|
[ARCHITECTURE_ALPHA] = "alpha",
|
|
[ARCHITECTURE_ARM] = "arm",
|
|
[ARCHITECTURE_ARM_BE] = "arm-be",
|
|
diff --git src/shared/architecture.h src/shared/architecture.h
|
|
index 20e848b..0807924 100644
|
|
--- src/shared/architecture.h
|
|
+++ src/shared/architecture.h
|
|
@@ -23,6 +23,8 @@
|
|
|
|
#include "util.h"
|
|
|
|
+/* A cleaned up architecture definition */
|
|
+
|
|
typedef enum Architecture {
|
|
ARCHITECTURE_X86 = 0,
|
|
ARCHITECTURE_X86_64,
|
|
@@ -38,7 +40,9 @@ typedef enum Architecture {
|
|
ARCHITECTURE_SPARC,
|
|
ARCHITECTURE_SPARC64,
|
|
ARCHITECTURE_MIPS,
|
|
+ ARCHITECTURE_MIPS_LE,
|
|
ARCHITECTURE_MIPS64,
|
|
+ ARCHITECTURE_MIPS64_LE,
|
|
ARCHITECTURE_ALPHA,
|
|
ARCHITECTURE_ARM,
|
|
ARCHITECTURE_ARM_BE,
|
|
--
|
|
1.7.9.2
|
|
|