tools/mkimage: fix build on MacOS arm64
authorSergey V. Lobanov <sergey@lobanov.in>
Thu, 2 Dec 2021 16:02:23 +0000 (19:02 +0300)
committerPaul Spooren <mail@aparcar.org>
Mon, 6 Dec 2021 22:36:35 +0000 (23:36 +0100)
commit8261b85844a0018c6c79e10c1abb581aca102e45
treeccc7e0c6f2c009f327291c6d77b3d7dca66b3cc2
parent7e89421a7c3855d66a20350a5bf9ca4cc7a2caf9
tools/mkimage: fix build on MacOS arm64

Fixed -no-pie compilation warning on MacOS
Fixed errors related to using absolute addressing on MacOS arm64

Based on upstream patch from Jessica Clarke and suggestions from Ronny Kotzschmar

Link to original patch and discussion:
https://github.com/u-boot/u-boot/commit/3b142045e8a7f0ab17b6099e9226296af45967d0

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
tools/mkimage/patches/090-macos-arm64-builing-fix.patch [new file with mode: 0644]