diff options
author | 2010-01-27 16:31:25 +0000 | |
---|---|---|
committer | 2010-01-27 16:31:25 +0000 | |
commit | 87ada41360ec47118e3847637b6c746060e60be8 (patch) | |
tree | dca2da7400f19f41172e2008362793d81a599a94 /driver/Clflags.ml | |
parent | 3df67218d4551653683640bd52cda5bf8401f77b (diff) |
Revised handling of #pragma section and small data areas
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1235 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'driver/Clflags.ml')
-rw-r--r-- | driver/Clflags.ml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/driver/Clflags.ml b/driver/Clflags.ml index c6f6e8f..ddcfaac 100644 --- a/driver/Clflags.ml +++ b/driver/Clflags.ml @@ -24,3 +24,9 @@ let option_E = ref false let option_S = ref false let option_c = ref false let option_v = ref false +let option_small_data = + ref (if Configuration.arch = "powerpc" + && Configuration.variant = "eabi" + && Configuration.system = "diab" + then 8 else 0) +let option_small_const = ref (!option_small_data) |