aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/sortextable.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-11-15 01:38:05 -0500
committerVineet Gupta <vgupta@synopsys.com>2013-11-25 00:05:23 -0500
commitf06d19e460cdd326eff955ca614cb8064bd0a5f2 (patch)
tree2abbdf400694d13f8934f0294ae97f11140a19ba /scripts/sortextable.c
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff)
ARC: extable: Enable sorting at build time
Avoids wasting cycles at boot specially on slower simulators Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: Michal Marek <mmarek@suse.cz> Cc: Francois Bedard <fbedard@synopsys.com> Cc: linux-kernel@vger.kernel.org Acked-by: David Daney <david.daney@cavium.com>
Diffstat (limited to 'scripts/sortextable.c')
-rw-r--r--scripts/sortextable.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/sortextable.c b/scripts/sortextable.c
index 5f7a8b663cb9..7941fbdfb050 100644
--- a/scripts/sortextable.c
+++ b/scripts/sortextable.c
@@ -31,6 +31,10 @@
31#include <tools/be_byteshift.h> 31#include <tools/be_byteshift.h>
32#include <tools/le_byteshift.h> 32#include <tools/le_byteshift.h>
33 33
34#ifndef EM_ARCOMPACT
35#define EM_ARCOMPACT 93
36#endif
37
34#ifndef EM_AARCH64 38#ifndef EM_AARCH64
35#define EM_AARCH64 183 39#define EM_AARCH64 183
36#endif 40#endif
@@ -268,6 +272,7 @@ do_file(char const *const fname)
268 case EM_S390: 272 case EM_S390:
269 custom_sort = sort_relative_table; 273 custom_sort = sort_relative_table;
270 break; 274 break;
275 case EM_ARCOMPACT:
271 case EM_ARM: 276 case EM_ARM:
272 case EM_AARCH64: 277 case EM_AARCH64:
273 case EM_MIPS: 278 case EM_MIPS: