tools/mkimage: fix build on MacOS arm64
authorSergey V. Lobanov <sergey@lobanov.in>
Thu, 2 Dec 2021 16:02:23 +0000 (19:02 +0300)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 9 Dec 2022 02:25:49 +0000 (03:25 +0100)
commit784565b6a0ad482b19c4851b0ce8ffeddb7010c1
treee1b77e5e95e109d7a33ac1e9331fce5ab814faa9
parent295c612a4a76e9f0860e2efdb609a38bc74d3e4a
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>
(cherry picked from commit 8261b85844a0018c6c79e10c1abb581aca102e45)
tools/mkimage/patches/090-macos-arm64-builing-fix.patch [new file with mode: 0644]