[PATCH v2] fs/squashfs: use lldiv function for math

Tom Rini trini at konsulko.com
Mon May 23 19:57:58 CEST 2022


On Thu, May 12, 2022 at 08:37:14PM +0200, Sean Nyekjaer wrote:

> From: Sean Nyekjaer <sean.nyekjaer.ext at siemensgamesa.com>
> 
> When compling for x86:
> ld.bfd: fs/squashfs/sqfs.o: in function `sqfs_read':
> u-boot/fs/squashfs/sqfs.c:1443: undefined reference to `__udivmoddi4'
> ld.bfd: u-boot/fs/squashfs/sqfs.c:1521: undefined reference to `__udivmoddi4'
> 
> Signed-off-by: Sean Nyekjaer <sean.nyekjaer.ext at siemensgamesa.com>
> Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>
> Reviewed-by: Pali Rohár <pali at kernel.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220523/8e725898/attachment.sig>


More information about the U-Boot mailing list