summaryrefslogtreecommitdiff
path: root/include/stdio_dev.h
diff options
context:
space:
mode:
authorJessica Clarke <[email protected]>2021-03-20 20:43:05 +0000
committerTom Rini <[email protected]>2021-03-28 17:30:35 -0400
commit3b142045e8a7f0ab17b6099e9226296af45967d0 (patch)
treebbe4450a7d04e9a955597acea01988acf61c7205 /include/stdio_dev.h
parent6863c7f1b633d50e025ce34ad249b59a14c99b2a (diff)
Support building on macOS/arm64
On Arm-based Macs, -no_pie is ignored and gives a linker warning. Moreover, the build falls over with: ld: Absolute addressing not allowed in arm64 code but used in '_image_type_ptr_aisimage' referencing '_image_type_aisimage' for dumpimage and mkimage, since we put data structs in text sections not data sections and so cannot have dynamic relocations. Instead, move the sections to __DATA and drop disabling PIE. Signed-off-by: Jessica Clarke <[email protected]> Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'include/stdio_dev.h')
0 files changed, 0 insertions, 0 deletions