提交 b3210d14 编写于 作者: V Vineet Gupta

ARCv2: extable: Enable sorting at build time

Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
上级 8922bc30
...@@ -47,6 +47,10 @@ ...@@ -47,6 +47,10 @@
#define EM_MICROBLAZE 189 #define EM_MICROBLAZE 189
#endif #endif
#ifndef EM_ARCV2
#define EM_ARCV2 195
#endif
static int fd_map; /* File descriptor for file being modified. */ static int fd_map; /* File descriptor for file being modified. */
static int mmap_failed; /* Boolean flag. */ static int mmap_failed; /* Boolean flag. */
static void *ehdr_curr; /* current ElfXX_Ehdr * for resource cleanup */ static void *ehdr_curr; /* current ElfXX_Ehdr * for resource cleanup */
...@@ -281,6 +285,7 @@ do_file(char const *const fname) ...@@ -281,6 +285,7 @@ do_file(char const *const fname)
custom_sort = sort_relative_table; custom_sort = sort_relative_table;
break; break;
case EM_ARCOMPACT: case EM_ARCOMPACT:
case EM_ARCV2:
case EM_ARM: case EM_ARM:
case EM_AARCH64: case EM_AARCH64:
case EM_MICROBLAZE: case EM_MICROBLAZE:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册