summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVineet Gupta2013-11-22 08:35:58 +0100
committerVineet Gupta2015-06-22 10:36:56 +0200
commitb3210d141f5ec32d3b29d0cf4f33d922a739602f (patch)
treed7f87e9502c7b4e5a486f0cecde1bebc6f96960d
parentARCv2: Adhere to Zero Delay loop restriction (diff)
downloadkernel-qcow2-linux-b3210d141f5ec32d3b29d0cf4f33d922a739602f.tar.gz
kernel-qcow2-linux-b3210d141f5ec32d3b29d0cf4f33d922a739602f.tar.xz
kernel-qcow2-linux-b3210d141f5ec32d3b29d0cf4f33d922a739602f.zip
ARCv2: extable: Enable sorting at build time
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
-rw-r--r--scripts/sortextable.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/sortextable.c b/scripts/sortextable.c
index 1052d4834a44..c2423d913b46 100644
--- a/scripts/sortextable.c
+++ b/scripts/sortextable.c
@@ -47,6 +47,10 @@
#define EM_MICROBLAZE 189
#endif
+#ifndef EM_ARCV2
+#define EM_ARCV2 195
+#endif
+
static int fd_map; /* File descriptor for file being modified. */
static int mmap_failed; /* Boolean flag. */
static void *ehdr_curr; /* current ElfXX_Ehdr * for resource cleanup */
@@ -281,6 +285,7 @@ do_file(char const *const fname)
custom_sort = sort_relative_table;
break;
case EM_ARCOMPACT:
+ case EM_ARCV2:
case EM_ARM:
case EM_AARCH64:
case EM_MICROBLAZE: