summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Lindo2011-07-11 20:24:48 (EDT)
committer Vivian Kong2011-07-11 20:25:36 (EDT)
commit3e9c760648d01af827bca000b69d3c5acc7f0243 (patch)
tree9e6b608f9104e0b03c90fe4829db3dbf340f0d4c
parent077f712b4206e44b58a6af849023ae5dabe798a9 (diff)
downloadorg.eclipse.cdt-3e9c760648d01af827bca000b69d3c5acc7f0243.zip
org.eclipse.cdt-3e9c760648d01af827bca000b69d3c5acc7f0243.tar.gz
org.eclipse.cdt-3e9c760648d01af827bca000b69d3c5acc7f0243.tar.bz2
Bug 350501 - add support in managed build projects for xlC v11
compiler options - 1) qstrict not showing 2) fixed qfuncsect spelling error 3) added some C only options Change-Id: I71aa8bdab83accbd3d559d9aad4bc97331f21263
-rw-r--r--xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties5
-rw-r--r--xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml25
-rw-r--r--xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/properties/applicability.properties5
3 files changed, 29 insertions, 6 deletions
diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties
index 415818f..b98afcc 100644
--- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties
+++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties
@@ -166,7 +166,7 @@ Option.noroconst=Do not place constant values in read only storage (-qnoroconst)
Option.roptr=Place constant pointers in read only storage (-qroptr)
Option.Statsym=Generate symbols for static variables (-qstatsym )
Option.xcall=Generate code to treat static functions as external functions (-qxcall )
-Option.funcset=Place instructions for each function in a separate object file control section or csect (-qfuncset)
+Option.funcsect=Place instructions for each function in a separate object file control section or csect (-qfuncsect)
Option.ppline=Enable generation of #line directive in the preprocessed output (-qppline)
Option.upconv=Preserve the unsigned specification when performing integral promotions (-qupconv)
Option.namemangling=Name mangling scheme for external symbol names (-qnamemangling=)
@@ -193,6 +193,7 @@ Option.statsym = Add static variables to the symbol table (-qstatsym)
Option.threaded = Enable multi-threaded execution (-qthreaded)
Option.unique = Generate unique names for static constructor/deconstructor file compilation units (-qunique)
Option.unique.v10 = Generate unique names for static constructor/deconstructor file compilation units (-qunique)
+Option.qconcurrentupdate.v11 = Update the operating system while the kernel is running (-qconcurrentupdate)
Option.novftable = Do not generate virtual function table (-qnovftable)
Option.vrsave = Maintain the VRSAVE register (-qvrsave)
Option.weaksymbol = Generate weak symbols (-qweaksymbol)
@@ -202,7 +203,7 @@ Option.macros.pre=predefined (-qshowmacros=pre)
Option.macros.nopre=no macros (-qshowmacros=nopre)
Option.qstackprotect = Protect against malicious code or programming errors that overwrite or corrupt the stack (-qstackprotect=)
Options.timestamps=Suppress insert of implicit timestamps into an object file (-qnotimestamps)
-
+Option.qrestrict = Stop pointers from accessing the same memory that has been addressed by function parameter pointers (-qrestrict=)
# Optimization options
Option.OptLevel = Optimization level
diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml
index edc348d..6958a67 100644
--- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml
+++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml
@@ -230,6 +230,25 @@
resourceFilter="all"
valueType="boolean">
</option>
+ <option
+ applicabilityCalculator="org.eclipse.cdt.managedbuilder.xlc.ui.properties.XLCApplicabilityCalculator"
+ category="xlc.c.compiler.category.objcc"
+ command="-qconcurrentupdate"
+ defaultValue="false"
+ id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.output.qconcurrentupdate"
+ isAbstract="false"
+ name="%Option.qconcurrentupdate.v11"
+ resourceFilter="all"
+ valueType="boolean">
+ </option>
+ <option
+ applicabilityCalculator="org.eclipse.cdt.managedbuilder.xlc.ui.properties.XLCApplicabilityCalculator"
+ category="xlc.c.compiler.category.optimization"
+ command="-qrestrict"
+ id="xlc.c.compiler.option.optimization.qrestrict"
+ name="%Option.qrestrict"
+ valueType="string">
+ </option>
</tool>
<tool
command="${XL_compilerRoot}/xlC"
@@ -1495,10 +1514,10 @@
<option
category="xlc.c.compiler.category.output"
- command="-qfuncset"
+ command="-qfuncsect"
defaultValue="false"
- id="xlc.c.compiler.option.output.funcset"
- name="%Option.funcset"
+ id="xlc.c.compiler.option.output.funcsect"
+ name="%Option.funcsect"
valueType="boolean">
</option>
<option
diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/properties/applicability.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/properties/applicability.properties
index f3261ce..444fffd 100644
--- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/properties/applicability.properties
+++ b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/properties/applicability.properties
@@ -27,17 +27,20 @@ xlc.c.compiler.option.ecd.optdebug=v9.0+
xlc.c.compiler.option.optimization.smp=v8.0,v9.0
xlc.c.compiler.option.optimization.smp.v10=v10.1
xlc.c.compiler.option.optimization.strict=v8.0,v9.0
-xlc.c.compiler.option.optimization.strict.v10=v10.1
+xlc.c.compiler.option.optimization.strict.v10=v10.1+
org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.output.unique.v10=v10.1
org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.namemangling=v8.0,v9.0
org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.namemangling.v10=v10.1
+org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.output.qconcurrentupdate=v11.1
xlc.c.compiler.option.cc.tls=v8.0,v9.0
xlc.c.compiler.option.cc.tls.v10=v10.1
xlc.c.compiler.option.output.macros=v10.1
xlc.c.compiler.option.output.timestamps=v10.1
xlc.c.compiler.option.output.qstackprotect=v11.1+
xlc.c.compiler.option.output.enablevmx=v8.0,v9.0,v10.1,v11.1
+xlc.ui.cpp.option.output.qconcurrentupdate
xlc.c.compiler.option.qfunctrace=v11.1+
+xlc.c.compiler.option.optimization.qrestrict=v11.1+
# END NON-TRANSLATABLE