diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-11-22 02:35:58 -0500 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-06-22 04:36:56 -0400 |
commit | b3210d141f5ec32d3b29d0cf4f33d922a739602f (patch) | |
tree | d7f87e9502c7b4e5a486f0cecde1bebc6f96960d | |
parent | 8922bc3058abbe5deaf887147e26531750ce7513 (diff) |
ARCv2: extable: Enable sorting at build time
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
-rw-r--r-- | scripts/sortextable.c | 5 |
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 @@ | |||
47 | #define EM_MICROBLAZE 189 | 47 | #define EM_MICROBLAZE 189 |
48 | #endif | 48 | #endif |
49 | 49 | ||
50 | #ifndef EM_ARCV2 | ||
51 | #define EM_ARCV2 195 | ||
52 | #endif | ||
53 | |||
50 | static int fd_map; /* File descriptor for file being modified. */ | 54 | static int fd_map; /* File descriptor for file being modified. */ |
51 | static int mmap_failed; /* Boolean flag. */ | 55 | static int mmap_failed; /* Boolean flag. */ |
52 | static void *ehdr_curr; /* current ElfXX_Ehdr * for resource cleanup */ | 56 | static void *ehdr_curr; /* current ElfXX_Ehdr * for resource cleanup */ |
@@ -281,6 +285,7 @@ do_file(char const *const fname) | |||
281 | custom_sort = sort_relative_table; | 285 | custom_sort = sort_relative_table; |
282 | break; | 286 | break; |
283 | case EM_ARCOMPACT: | 287 | case EM_ARCOMPACT: |
288 | case EM_ARCV2: | ||
284 | case EM_ARM: | 289 | case EM_ARM: |
285 | case EM_AARCH64: | 290 | case EM_AARCH64: |
286 | case EM_MICROBLAZE: | 291 | case EM_MICROBLAZE: |