WSL2-Linux-Kernel/arch/mips/boot/compressed
Paul Cercueil fbf3bce458 MIPS: boot/compressed/: add __ashldi3 to target for ZSTD compression
Just like before with __bswapdi2(), for MIPS pre-boot when
CONFIG_KERNEL_ZSTD=y the decompressor function will use __ashldi3(), so
the object file should be added to the target object file.

Fixes these build errors:

mipsel-linux-ld: arch/mips/boot/compressed/decompress.o: in function `FSE_buildDTable_internal':
decompress.c:(.text.FSE_buildDTable_internal+0x48): undefined reference to `__ashldi3'
mipsel-linux-ld: arch/mips/boot/compressed/decompress.o: in function `FSE_decompress_wksp_body_default':
decompress.c:(.text.FSE_decompress_wksp_body_default+0xa8): undefined reference to `__ashldi3'
mipsel-linux-ld: arch/mips/boot/compressed/decompress.o: in function `ZSTD_getFrameHeader_advanced':
decompress.c:(.text.ZSTD_getFrameHeader_advanced+0x134): undefined reference to `__ashldi3'

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2021-11-25 10:13:41 +01:00
..
Makefile MIPS: boot/compressed/: add __ashldi3 to target for ZSTD compression 2021-11-25 10:13:41 +01:00
ashldi3.c mips: decompressor: do not copy source files while building 2021-11-10 19:45:06 +01:00
bswapdi.c mips: decompressor: do not copy source files while building 2021-11-10 19:45:06 +01:00
bswapsi.c mips: decompressor: do not copy source files while building 2021-11-10 19:45:06 +01:00
calc_vmlinuz_load_addr.c MIPS: fix build on non-linux hosts 2019-06-19 15:55:53 -07:00
dbg.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
decompress.c mips: disable branch profiling in boot/decompress.o 2021-07-05 17:04:01 +02:00
dummy.c MIPS: Add support for GZIP / BZIP2 / LZMA compressed kernel images 2009-12-17 01:56:56 +00:00
head.S MIPS: zboot: Avoid endless loop in clear BSS. 2021-01-07 17:12:14 +01:00
ld.script MIPS: zboot: put appended dtb into a section 2020-11-06 11:28:16 +01:00
string.c MIPS: Add support for ZSTD-compressed kernels 2020-09-03 10:13:24 +02:00
uart-16550.c MIPS: Remove NETLOGIC support 2021-10-24 17:24:47 +02:00
uart-alchemy.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
uart-ath79.c mips: decompressor: do not copy source files while building 2021-11-10 19:45:06 +01:00
uart-prom.c mips: unify prom_putchar() declarations 2018-07-17 09:40:17 -07:00