Re: [PATCH V2] mkimage: fix segfault on MacOS arm64

2022-01-24 Thread Jessica Clarke
On Mon, Jan 17, 2022 at 02:07:13AM +0300, Sergey V. Lobanov wrote: > mkimage segfaults due ASLR mechasim on MacOS arm64 > > It is required to use _dyld_get_image_vmaddr_slide() > to prevent segfault on MacOS arm64 > > This patch ased on the discussion > https://github.com/u-boot/u-boot/commit/3b1

Re: [PATCH V2] mkimage: fix segfault on MacOS arm64

2022-01-24 Thread Sergey V. Lobanov
Thank you, Jessica. I have rebased on current master, added Reviewed-by tag, fixed grammar/typos and sent v3 > On 25 Jan 2022, at 02:00, Jessica Clarke wrote: > > On Mon, Jan 17, 2022 at 02:07:13AM +0300, Sergey V. Lobanov wrote: >> mkimage segfaults due ASLR mechasim on MacOS arm64 >> >> It

Re: [PATCH V2] mkimage: fix segfault on MacOS arm64

2022-01-24 Thread Sergey V. Lobanov
CC: Jessica Clarke > On 17 Jan 2022, at 02:07, Sergey V. Lobanov wrote: > > mkimage segfaults due ASLR mechasim on MacOS arm64 > > It is required to use _dyld_get_image_vmaddr_slide() > to prevent segfault on MacOS arm64 > > This patch ased on the discussion > https://github.com/u-boot/u-boot/

[PATCH V2] mkimage: fix segfault on MacOS arm64

2022-01-16 Thread Sergey V. Lobanov
mkimage segfaults due ASLR mechasim on MacOS arm64 It is required to use _dyld_get_image_vmaddr_slide() to prevent segfault on MacOS arm64 This patch ased on the discussion https://github.com/u-boot/u-boot/commit/3b142045e8a7f0ab17b6099e9226296af45967d0 Thanks to Ronny Kotzschmar and ptpt52 gith