Skip to content
Commit d59a1683 authored by David Daney's avatar David Daney Committed by H. Peter Anvin
Browse files

scripts/sortextable: Handle relative entries, and other cleanups



x86 is now using relative rather than absolute addresses in its
exception table, so we add a sorter for these.  If there are
relocations on the __ex_table section, they are redundant and probably
incorrect after the sort, so they are zeroed out leaving them valid
and consistent.

Also use the unaligned safe accessors from tools/{be,le}_byteshift.h

Signed-off-by: default avatarDavid Daney <david.daney@cavium.com>
Link: http://lkml.kernel.org/r/1335291795-26693-2-git-send-email-ddaney.cavm@gmail.com


Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 70627654
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment