projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8922bc3
)
ARCv2: extable: Enable sorting at build time
author
Vineet Gupta
<vgupta@synopsys.com>
Fri, 22 Nov 2013 07:35:58 +0000
(13:05 +0530)
committer
Vineet Gupta
<vgupta@synopsys.com>
Mon, 22 Jun 2015 08:36:56 +0000
(14:06 +0530)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
scripts/sortextable.c
patch
|
blob
|
history
diff --git
a/scripts/sortextable.c
b/scripts/sortextable.c
index 1052d4834a44f502bda4f4f1ebe1202ace1608f5..c2423d913b46bd0e659ea4d4c057a3af6119c2d4 100644
(file)
--- 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: