aboutsummaryrefslogtreecommitdiffstats
path: root/x86
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@college-de-france.fr>2021-01-18 19:56:44 +0100
committerXavier Leroy <xavier.leroy@college-de-france.fr>2021-01-18 19:56:44 +0100
commitab62e1bed37d2efe4d2a9e0139839bae21b1cdd9 (patch)
tree73a122d74b0493fa1f95e82b478a749b3e6595fb /x86
parent0a39cdab7f7ad8dc73339d17563a85d6f57f1710 (diff)
downloadcompcert-kvx-ab62e1bed37d2efe4d2a9e0139839bae21b1cdd9.tar.gz
compcert-kvx-ab62e1bed37d2efe4d2a9e0139839bae21b1cdd9.zip
"macosx" is now called "macos"
The configure script still accepts "macosx" for backward compatibility, but every other part of CompCert now uses "macos".
Diffstat (limited to 'x86')
-rw-r--r--x86/TargetPrinter.ml2
-rw-r--r--x86/extractionMachdep.v2
2 files changed, 2 insertions, 2 deletions
diff --git a/x86/TargetPrinter.ml b/x86/TargetPrinter.ml
index da47d5c7..39d0c7dc 100644
--- a/x86/TargetPrinter.ml
+++ b/x86/TargetPrinter.ml
@@ -945,7 +945,7 @@ end
let sel_target () =
let module S = (val (match Configuration.system with
| "linux" | "bsd" -> (module ELF_System:SYSTEM)
- | "macosx" -> (module MacOS_System:SYSTEM)
+ | "macos" -> (module MacOS_System:SYSTEM)
| "cygwin" -> (module Cygwin_System:SYSTEM)
| _ -> invalid_arg ("System " ^ Configuration.system ^ " not supported") ):SYSTEM) in
(module Target(S):TARGET)
diff --git a/x86/extractionMachdep.v b/x86/extractionMachdep.v
index 20c6a521..614ec589 100644
--- a/x86/extractionMachdep.v
+++ b/x86/extractionMachdep.v
@@ -28,6 +28,6 @@ Extract Constant Archi.win64 =>
Extract Constant SelectOp.symbol_is_external =>
"match Configuration.system with
- | ""macosx"" -> C2C.atom_is_extern
+ | ""macos"" -> C2C.atom_is_extern
| ""cygwin"" when Archi.ptr64 -> C2C.atom_is_extern
| _ -> (fun _ -> false)".