summaryrefslogtreecommitdiff
path: root/kexec/arch/mips/crashdump-mips.c
diff options
context:
space:
mode:
authorMaxim Uvarov <muvarov@gmail.com>2010-09-30 19:52:16 +0400
committerSimon Horman <horms@verge.net.au>2010-10-19 18:01:21 +0200
commit46b2d0b8a7192bb3b8f3b34629514bc7d50bf3ce (patch)
treed58795849d7f9a07f89864e55e02a9e6575ab477 /kexec/arch/mips/crashdump-mips.c
parentc88bd2e43b4b304f840baf1d7d40153ca6982401 (diff)
kexec/powerpc fix optimization for size (gcc -Os) build
crt.S patch had fixes for gcc -Os (optimaze for size), same as kernel has. Without this fixes powerpc gcc 4.4 generates forever loop functions for kexec. This happends because crtsavres code was spit up to individual files (http://gcc.gnu.org/ml/gcc-patches/2008-03/msg01294.html) and kexec purgatory code has following options: --no-undefined -nostartfiles -nostdlib -nodefaultlibs So in that case crtasaveregs function are not defined and final object file has been linked without them. This does not happen with applications built without -nostdlib, because gcc will add it's standard functions. Signed-off-by: Maxim Uvarov <muvarov@gmail.com> Acked-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/mips/crashdump-mips.c')
0 files changed, 0 insertions, 0 deletions