02 Apr, 2014
1 commit
-
Signed-off-by: Max Filippov
Acked-by: David Daney
24 Jan, 2014
1 commit
-
Sort the exception table at build-time rather than during boot.
Microblaze is the same case as AARCH64 that's why EM_MICROBLAZE
conditional check was added to allow cross-compilation on machines which
are not running the latest libc-dev.Inspired by AARCH64 commit adace89562c7 ("arm64: extable: sort the
exception table at build time").Signed-off-by: Michal Simek
Acked-by: David Daney
Cc: Catalin Marinas
Cc: Will Deacon
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
25 Nov, 2013
1 commit
-
Avoids wasting cycles at boot specially on slower simulators
Signed-off-by: Vineet Gupta
Cc: Michal Marek
Cc: Francois Bedard
Cc: linux-kernel@vger.kernel.org
Acked-by: David Daney
13 Nov, 2013
1 commit
-
Building with a large config and -ffunction-sections results in a large
number of sections and sortextable needs to be able to handle that.
Implement support for > 64K sections as modpost does.Signed-off-by: Jamie Iles
Cc: Rusty Russell
Cc: Michal Marek
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
25 Jul, 2013
1 commit
-
Signed-off-by: Ramkumar Ramachandra
Acked-by: David Daney
Signed-off-by: Michal Marek
12 Jun, 2013
1 commit
-
As is done for other architectures, sort the exception table at
build-time rather than during boot.Since sortextable appears to be a standalone C program relying on the
host elf.h to provide EM_AARCH64, I've had to add a conditional check in
order to allow cross-compilation on machines that aren't running a
bleeding-edge libc-dev.Signed-off-by: Will Deacon
Signed-off-by: Catalin Marinas
04 Nov, 2012
1 commit
-
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
Signed-off-by: Stephen Boyd
Tested-by: Will Deacon
Signed-off-by: Russell King
26 Sep, 2012
1 commit
-
This is the s390 port of 70627654 "x86, extable: Switch to relative
exception table entries".
Reduces the size of our exception tables by 50% on 64 bit builds.Signed-off-by: Heiko Carstens
Signed-off-by: Martin Schwidefsky
26 Jul, 2012
1 commit
-
Follow x86 and MIPS and sort the main exception table at build time.
Signed-off-by: Heiko Carstens
Signed-off-by: Martin Schwidefsky
25 Apr, 2012
1 commit
-
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
Link: http://lkml.kernel.org/r/1335291795-26693-2-git-send-email-ddaney.cavm@gmail.com
Signed-off-by: H. Peter Anvin
20 Apr, 2012
1 commit
-
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
Link: http://lkml.kernel.org/r/1334872799-14589-2-git-send-email-ddaney.cavm@gmail.com
Signed-off-by: H. Peter Anvin