diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2015-12-12 17:00:10 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-12-12 18:39:22 +0100 |
commit | 3640ae92fc1ffa283425203bba3dbf231fcb3e52 (patch) | |
tree | b344e17d988941e1337360216d9bda9d05d269a8 /rules | |
parent | 4935b48bdbed916507d585f9185960916ed5f04b (diff) | |
download | haskell-3640ae92fc1ffa283425203bba3dbf231fcb3e52.tar.gz |
Dwarf: Use .short instead of .hword on Darwin
Apparently gnu as uses `.short` as a synonym for `.word`. To emit a
16-bit value one would use `.hword`. However, Darwin doesn't support
`.hword`, instead taking `.short` to mean a 16-bit value. The
insanity is nearly unbearable!
OS X reference:
https://developer.apple.com/library/mac/documentation/DeveloperTools/Ref
erence/Assembler/040-Assembler_Directives/asm_directives.html#//apple_re
f/doc/uid/TP30000823-TPXREF101
gnu as reference:
https://sourceware.org/binutils/docs/as/hword.html#hword
Test Plan: Validate
Reviewers: austin
Reviewed By: austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1602
GHC Trac Issues: #11202
Diffstat (limited to 'rules')
0 files changed, 0 insertions, 0 deletions