summaryrefslogtreecommitdiff
path: root/ia32/extractionMachdep.v
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2012-07-13 15:01:51 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2012-07-13 15:01:51 +0000
commit48b839d15e69c3c9995ca3c25e6a7c4730224292 (patch)
tree2394d10bcb90b36617bfd79f32aa5e04492a860a /ia32/extractionMachdep.v
parent926bf226e89e0a4935da8815852af76c8d2b3cdf (diff)
Support for MacOS X's indirect symbols. (first try)
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1978 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'ia32/extractionMachdep.v')
-rw-r--r--ia32/extractionMachdep.v6
1 files changed, 6 insertions, 0 deletions
diff --git a/ia32/extractionMachdep.v b/ia32/extractionMachdep.v
index 435dce2..3c6ee2e 100644
--- a/ia32/extractionMachdep.v
+++ b/ia32/extractionMachdep.v
@@ -12,3 +12,9 @@
(* Additional extraction directives specific to the IA32 port *)
+Require SelectOp.
+
+(* SelectOp *)
+
+Extract Constant SelectOp.symbol_is_external =>
+ "fun id -> Configuration.system = ""macosx"" && C2C.atom_is_extern id".