[PATCH v3] mkimage: fix segfault on MacOS arm64

Tom Rini trini at konsulko.com
Mon Jan 31 16:22:18 CET 2022


On Tue, Jan 25, 2022 at 02:29:44AM +0300, Sergey V. Lobanov wrote:

> mkimage segfaults due to the ASLR mechanism on MacOS arm64
> 
> It is required to use _dyld_get_image_vmaddr_slide()
> to prevent segfault on MacOS arm64
> 
> This patch is based on the discussion
> https://github.com/u-boot/u-boot/commit/3b142045e8a7f0ab17b6099e9226296af45967d0
> 
> Thanks to Jessica Clarke, Ronny Kotzschmar and ptpt52 github user
> 
> Reviewed-by: Jessica Clarke <jrtc27 at jrtc27.com>
> Signed-off-by: Sergey V. Lobanov <sergey at lobanov.in>

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/20220131/27024869/attachment.sig>


More information about the U-Boot mailing list