aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Boyd2012-10-29 13:19:34 -0500
committerRussell King2012-11-04 04:31:16 -0600
commitee951c630c5ce5108f8014ce1c9d738b5bbfea60 (patch)
treea0f7428f58d1ff028c4a88c94fdb1aa61bbcbbd6 /scripts
parenta68becd1dcda55b467dcabaff136cadc10abb761 (diff)
downloadkernel-audio-ee951c630c5ce5108f8014ce1c9d738b5bbfea60.tar.gz
kernel-audio-ee951c630c5ce5108f8014ce1c9d738b5bbfea60.tar.xz
kernel-audio-ee951c630c5ce5108f8014ce1c9d738b5bbfea60.zip
ARM: 7568/1: Sort exception table at compile time
Add the ARM machine identifier to sortextable and select the config option so that we can sort the exception table at compile time. sortextable relies on a section named __ex_table existing in the vmlinux, but ARM's linker script places the exception table in the data section. Give the exception table its own section so that sortextable can find it. This allows us to skip the sorting step during boot. Cc: David Daney <david.daney@cavium.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Tested-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/sortextable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/sortextable.c b/scripts/sortextable.c
index f19ddc47304c..1f10e89d15b4 100644
--- a/scripts/sortextable.c
+++ b/scripts/sortextable.c
@@ -248,6 +248,7 @@ do_file(char const *const fname)
248 case EM_S390: 248 case EM_S390:
249 custom_sort = sort_relative_table; 249 custom_sort = sort_relative_table;
250 break; 250 break;
251 case EM_ARM:
251 case EM_MIPS: 252 case EM_MIPS:
252 break; 253 break;
253 } /* end switch */ 254 } /* end switch */