aboutsummaryrefslogtreecommitdiff
path: root/scripts/sortextable.h
AgeCommit message (Collapse)AuthorFilesLines
2013-02-14scripts/sortextable: silence script outputArnd Bergmann1-1/+1
The exception table sorter outputs one line every time it gets called, e.g. 'sort done marker at 66dc00', which is slightly annoying when doing 'make -s' which is otherwise completely silent. Since that output is not helpful to most people building the kernel, turn it off by default. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: David Daney <[email protected]> Cc: "H. Peter Anvin" <[email protected]>
2012-04-24scripts/sortextable: Handle relative entries, and other cleanupsDavid Daney1-28/+51
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: David Daney <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: H. Peter Anvin <[email protected]>
2012-04-19scripts: Add sortextable to sort the kernel's exception table.David Daney1-0/+168
Using this build-time sort saves time booting as we don't have to burn cycles sorting the exception table. Signed-off-by: David Daney <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: H. Peter Anvin <[email protected]>