Thread (2 messages) flat view 2 messages, 2 authors, 2012-10-25

[PATCHv3] ARM: Sort exception table at compile time

From: Will Deacon <hidden>
Date: 2012-10-25 12:29:09
Also in: lkml

On Thu, Oct 25, 2012 at 01:44:42AM +0100, Stephen Boyd wrote:
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 <redacted>
Signed-off-by: Stephen Boyd <redacted>
---
Just had a play with this for my A15 platform and it seems to work fine when
targetting either ARM or Thumb-2 kernels.

Tested-by: Will Deacon <redacted>

Cheers,

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help