History

ARC: extable: Enable sorting at build time

Avoids wasting cycles at boot specially on slower simulators

Vineet Gupta committed 13 years ago

Commit f06d19e1 parent 6ce4eac2 files · +6 −0Browse files

Showing the changes to scripts (1 of 2 files). Show all

Unified · Split

scripts/sortextable.c+5−0
@@ -31,6 +31,10 @@ · 30 unmodified lines
3131 #include <tools/be_byteshift.h>
3232 #include <tools/le_byteshift.h>
3333
34+#ifndef EM_ARCOMPACT
35+#define EM_ARCOMPACT 93
36+#endif
37+
3438 #ifndef EM_AARCH64
3539 #define EM_AARCH64 183
3640 #endif
@@ -268,6 +272,7 @@ do_file(char const *const fname) · 231 unmodified lines
268272 case EM_S390:
269273 custom_sort = sort_relative_table;
270274 break;
275+ case EM_ARCOMPACT:
271276 case EM_ARM:
272277 case EM_AARCH64:
273278 case EM_MIPS: