diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2016-07-05 20:32:22 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-07-05 20:32:37 +0200 |
commit | f560a03ccdb246083fe64da3507c5be4c40960fe (patch) | |
tree | 8da509670af59fd4f4dd755b78e27fd316b1be56 /rts/StgCRun.c | |
parent | b7b130c5102948b38aaba723044288e16a80d492 (diff) | |
download | haskell-f560a03ccdb246083fe64da3507c5be4c40960fe.tar.gz |
Adds x86_64-apple-darwin14 target.
x86_64-apple-darwin14, is the target for the 64bit simulator.
Ideally, we'd have (i386|armv7|arm64|x64_86)-apple-ios, yet,
many #ifdefs depend on `darwin`, notably libffi. Hence, this only adds
x86_64-apple-darwin14 as a target. This also updates the comment to
add the `-S` flag, and dump the output to stdout; and adjusts the
`datalayout` and `triple` values, as obtained through the method
mentioned in the comment.
Reviewers: hvr, erikd, austin, bgamari, simonmar
Reviewed By: simonmar
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2378
Diffstat (limited to 'rts/StgCRun.c')
-rw-r--r-- | rts/StgCRun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/StgCRun.c b/rts/StgCRun.c index cf0c05c395..c110f512b1 100644 --- a/rts/StgCRun.c +++ b/rts/StgCRun.c @@ -245,7 +245,7 @@ StgRunIsImplementedInAssembler(void) #define STG_GLOBAL ".globl " -#ifdef darwin_HOST_OS +#if defined(darwin_HOST_OS) || defined(ios_HOST_OS) #define STG_HIDDEN ".private_extern " #else #define STG_HIDDEN ".hidden " @@ -417,7 +417,7 @@ StgRun(StgFunPtr f, StgRegTable *basereg) { #define STG_GLOBAL ".globl " -#ifdef darwin_HOST_OS +#if defined(darwin_HOST_OS) #define STG_HIDDEN ".private_extern " #else #define STG_HIDDEN ".hidden " |