commit | 0fe2f1b058659e2877c22b19419e92be0420ab16 | [log] [tgz] |
---|---|---|
author | Sergey V. Lobanov <sergey@lobanov.in> | Tue Jan 25 02:29:44 2022 +0300 |
committer | Tom Rini <trini@konsulko.com> | Mon Jan 31 10:17:16 2022 -0500 |
tree | 64cbf7e8d98c7bedce56aa0aa481797f917afd19 | |
parent | 5e45856791faf935eb72e9313e2ee3eeb72b41fe [diff] |
mkimage: fix segfault on MacOS arm64 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@jrtc27.com> Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>