Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Lindo2011-07-12 00:15:29 +0000
committerVivian Kong2011-07-12 00:15:29 +0000
commitb5742af4a1beb6633e083f0fb9f4f4a3e03bb96e (patch)
tree16795a8ea99054e08aa6da2fa54c7d1128a91371
parentd4f60323b3aed8b59bce553fed070642e4866ce0 (diff)
downloadorg.eclipse.cdt-b5742af4a1beb6633e083f0fb9f4f4a3e03bb96e.tar.gz
org.eclipse.cdt-b5742af4a1beb6633e083f0fb9f4f4a3e03bb96e.tar.xz
org.eclipse.cdt-b5742af4a1beb6633e083f0fb9f4f4a3e03bb96e.zip
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
-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 415818f481e..b98afcc1911 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 edc348dc558..6958a67f525 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 f3261cedad9..444fffd0d59 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

Back to the top