summaryrefslogtreecommitdiffstats
path: root/scripts/sortextable.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2016-10-13 07:42:55 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2016-11-14 01:11:51 +0100
commit5b9ff027859868efd63cdbbff5d30182d4cca50a (patch)
tree244df148367705df8bb22c0706e2affcb5ce7552 /scripts/sortextable.c
parentpowerpc: Add support for relative exception tables (diff)
downloadlinux-5b9ff027859868efd63cdbbff5d30182d4cca50a.tar.xz
linux-5b9ff027859868efd63cdbbff5d30182d4cca50a.zip
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: