aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2020-05-06 13:52:45 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-05-07 10:31:01 +0200
commitff487d41036035376e47972c7c522490b839ab37 (patch)
tree3fd4276e90bb58d26b6df6c6ff4f586457da7969 /arch/mips/math-emu
parentMIPS: Remove dead code in pci.h (diff)
downloadlinux-dev-ff487d41036035376e47972c7c522490b839ab37.tar.xz
linux-dev-ff487d41036035376e47972c7c522490b839ab37.zip
MIPS: Truncate link address into 32bit for 32bit kernel
LLD failed to link vmlinux with 64bit load address for 32bit ELF while bfd will strip 64bit address into 32bit silently. To fix LLD build, we should truncate load address provided by platform into 32bit for 32bit kernel. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Link: https://github.com/ClangBuiltLinux/linux/issues/786 Link: https://sourceware.org/bugzilla/show_bug.cgi?id=25784 Reviewed-by: Fangrui Song <maskray@google.com> Reviewed-by: Kees Cook <keescook@chromium.org> Tested-by: Nathan Chancellor <natechancellor@gmail.com> Cc: Maciej W. Rozycki <macro@linux-mips.org> Tested-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/math-emu')
0 files changed, 0 insertions, 0 deletions