aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/math-emu/sp_sub.c
diff options
context:
space:
mode:
authorJiaxun Yang <[email protected]>2020-05-06 13:52:45 +0800
committerThomas Bogendoerfer <[email protected]>2020-05-07 10:31:01 +0200
commitff487d41036035376e47972c7c522490b839ab37 (patch)
tree3fd4276e90bb58d26b6df6c6ff4f586457da7969 /arch/mips/math-emu/sp_sub.c
parent53635eb2e24b96b7f2d308b7ac74641c8e2e112c (diff)
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 <[email protected]> Link: https://github.com/ClangBuiltLinux/linux/issues/786 Link: https://sourceware.org/bugzilla/show_bug.cgi?id=25784 Reviewed-by: Fangrui Song <[email protected]> Reviewed-by: Kees Cook <[email protected]> Tested-by: Nathan Chancellor <[email protected]> Cc: Maciej W. Rozycki <[email protected]> Tested-by: Nick Desaulniers <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'arch/mips/math-emu/sp_sub.c')
0 files changed, 0 insertions, 0 deletions