summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-12-13 16:14:39 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2013-12-13 16:14:39 -0800
commit2430cdd0fe14884cb533b13020a0ff000144af6d (patch)
tree094cb1b7db94c9824337f67f336eb2582bfefdae /scripts
parent93e1585e2c909662e97c59fe0204f93fcf985f04 (diff)
parentda990a4f2d5a321911026c26c7eeec3bbc6fb7b7 (diff)
downloadlinux-2430cdd0fe14884cb533b13020a0ff000144af6d.tar.gz
linux-2430cdd0fe14884cb533b13020a0ff000144af6d.tar.bz2
linux-2430cdd0fe14884cb533b13020a0ff000144af6d.zip
Merge tag 'arc-fixes-for-3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
Pull ARC fixes from Vineet Gupta: "These are couple of weeks old already, but I just couldn't get them to you earlier. - couple of fixes for recently added perf code - build time extable sort" * tag 'arc-fixes-for-3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc: ARC: [perf] Fix a few thinkos ARC: Add guard macro to uapi/asm/unistd.h ARC: extable: Enable sorting at build time
Diffstat (limited to 'scripts')
-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 @@
#include <tools/be_byteshift.h>
#include <tools/le_byteshift.h>
+#ifndef EM_ARCOMPACT
+#define EM_ARCOMPACT 93
+#endif
+
#ifndef EM_AARCH64
#define EM_AARCH64 183
#endif
@@ -268,6 +272,7 @@ do_file(char const *const fname)
case EM_S390:
custom_sort = sort_relative_table;
break;
+ case EM_ARCOMPACT:
case EM_ARM:
case EM_AARCH64:
case EM_MIPS: