summaryrefslogtreecommitdiff
path: root/compiler/rename/RnTypes.hs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-12-02 12:48:23 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-12-03 21:05:27 -0500
commitf03a41d4bf9418ee028ecb51654c928b2da74edd (patch)
tree8314eef64683ddd08a9e2c3d104cedfa7de2ff00 /compiler/rename/RnTypes.hs
parent78b67ad0e891fc3b66df72643fb173dc985e8306 (diff)
downloadhaskell-f03a41d4bf9418ee028ecb51654c928b2da74edd.tar.gz
Elf: Fix link info note generation
Previously we would use the `.int` assembler directive to generate 32-bit words in the note section. However, `.int` is note guaranteed to produce 4-bytes; in fact, on some platforms (e.g. AArch64) it produces 8-bytes. Use the `.4bytes` directive to avoid this. Moreover, we used the `.align` directive, which is quite platform dependent. On AArch64 it appears to not even be idempotent (despite what the documentation claims). `.balign` is consequentially preferred as it offers consistent behavior across platforms.
Diffstat (limited to 'compiler/rename/RnTypes.hs')
0 files changed, 0 insertions, 0 deletions