summaryrefslogtreecommitdiff
path: root/compiler/utils
diff options
context:
space:
mode:
authorPHO <pho@cielonegro.org>2011-11-30 17:46:27 +0900
committerPHO <pho@cielonegro.org>2011-12-08 10:57:28 +0900
commit3640d374f3501c0addb1be273ecc0f10f93be10d (patch)
tree17a23f00548a6ecbe1728bfdd561247ed8cc94e4 /compiler/utils
parent8b48562e8cd773b4bc162edb4fc6d05a7654c7e1 (diff)
downloadhaskell-3640d374f3501c0addb1be273ecc0f10f93be10d.tar.gz
Detect cases where as(1) doesn't recognise .ident directive (#5408)
.ident directives are usually ignored by as(1), and in some cases (like Darwin/PPC) they even raise an error.
Diffstat (limited to 'compiler/utils')
-rw-r--r--compiler/utils/Platform.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/utils/Platform.hs b/compiler/utils/Platform.hs
index 027c510546..7253af1274 100644
--- a/compiler/utils/Platform.hs
+++ b/compiler/utils/Platform.hs
@@ -23,6 +23,7 @@ data Platform
platformArch :: Arch,
platformOS :: OS,
platformHasGnuNonexecStack :: Bool,
+ platformHasIdentDirective :: Bool,
platformHasSubsectionsViaSymbols :: Bool
}
deriving (Read, Show, Eq)