summaryrefslogtreecommitdiffstats
path: root/scripts/sortextable.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2016-10-13 16:42:55 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2016-11-14 11:11:51 +1100
commit5b9ff027859868efd63cdbbff5d30182d4cca50a (patch)
tree244df148367705df8bb22c0706e2affcb5ce7552 /scripts/sortextable.c
parent61a92f703120daf7ed25e046275aa8a2d3085ad4 (diff)
downloadlinux-5b9ff027859868efd63cdbbff5d30182d4cca50a.tar.bz2
powerpc: Build-time sort the exception table
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'scripts/sortextable.c')
-rw-r--r--scripts/sortextable.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/sortextable.c b/scripts/sortextable.c
index f453b7ce99d6..365a907f98b3 100644
--- a/scripts/sortextable.c
+++ b/scripts/sortextable.c
@@ -316,6 +316,8 @@ do_file(char const *const fname)
case EM_S390:
case EM_AARCH64:
case EM_PARISC:
+ case EM_PPC:
+ case EM_PPC64:
custom_sort = sort_relative_table;
break;
case EM_ARCOMPACT: