diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2014-07-29 13:42:11 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2014-07-29 13:42:11 +0000 |
commit | 769589fb4f72edf46c16a396de6777d8e2fbb9bf (patch) | |
tree | 433505a6dba47631170d815945d2782bbc56a264 /driver | |
parent | 21e269ee37b934428306f53dda0495fee30dd8fa (diff) | |
download | compcert-769589fb4f72edf46c16a396de6777d8e2fbb9bf.tar.gz compcert-769589fb4f72edf46c16a396de6777d8e2fbb9bf.zip |
configure: distinguish between ABI and processor model.
ARM: various tweaks, incl. support for SDIV and UDIV insns when available.
test/regression/funptr2.c: Thumb does weird things with <function ptr>+1.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2555 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'driver')
-rw-r--r-- | driver/Clflags.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/Clflags.ml b/driver/Clflags.ml index 7104c32d..d3d40679 100644 --- a/driver/Clflags.ml +++ b/driver/Clflags.ml @@ -28,7 +28,7 @@ let option_falignfunctions = ref (None: int option) let option_falignbranchtargets = ref 0 let option_faligncondbranchs = ref 0 let option_finline_asm = ref false -let option_fthumb = ref false +let option_fthumb = ref (Configuration.model = "armv7m") let option_Osize = ref false let option_dparse = ref false let option_dcmedium = ref false @@ -49,7 +49,7 @@ let option_v = ref false let option_interp = ref false let option_small_data = ref (if Configuration.arch = "powerpc" - && Configuration.variant = "eabi" + && Configuration.abi = "eabi" && Configuration.system = "diab" then 8 else 0) let option_small_const = ref (!option_small_data) |