1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 17:26:01 +02:00

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
This commit is contained in:
Michael Lindo 2011-07-11 20:24:48 -04:00 committed by Vivian Kong
parent 077f712b42
commit 3e9c760648
3 changed files with 29 additions and 6 deletions

View file

@ -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.roptr=Place constant pointers in read only storage (-qroptr)
Option.Statsym=Generate symbols for static variables (-qstatsym ) Option.Statsym=Generate symbols for static variables (-qstatsym )
Option.xcall=Generate code to treat static functions as external functions (-qxcall ) 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.ppline=Enable generation of #line directive in the preprocessed output (-qppline)
Option.upconv=Preserve the unsigned specification when performing integral promotions (-qupconv) Option.upconv=Preserve the unsigned specification when performing integral promotions (-qupconv)
Option.namemangling=Name mangling scheme for external symbol names (-qnamemangling=) 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.threaded = Enable multi-threaded execution (-qthreaded)
Option.unique = Generate unique names for static constructor/deconstructor file compilation units (-qunique) 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.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.novftable = Do not generate virtual function table (-qnovftable)
Option.vrsave = Maintain the VRSAVE register (-qvrsave) Option.vrsave = Maintain the VRSAVE register (-qvrsave)
Option.weaksymbol = Generate weak symbols (-qweaksymbol) Option.weaksymbol = Generate weak symbols (-qweaksymbol)
@ -202,7 +203,7 @@ Option.macros.pre=predefined (-qshowmacros=pre)
Option.macros.nopre=no macros (-qshowmacros=nopre) Option.macros.nopre=no macros (-qshowmacros=nopre)
Option.qstackprotect = Protect against malicious code or programming errors that overwrite or corrupt the stack (-qstackprotect=) 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) 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 # Optimization options
Option.OptLevel = Optimization level Option.OptLevel = Optimization level

View file

@ -229,6 +229,25 @@
name="%Option.unique.v10" name="%Option.unique.v10"
resourceFilter="all" resourceFilter="all"
valueType="boolean"> 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> </option>
</tool> </tool>
<tool <tool
@ -1495,10 +1514,10 @@
<option <option
category="xlc.c.compiler.category.output" category="xlc.c.compiler.category.output"
command="-qfuncset" command="-qfuncsect"
defaultValue="false" defaultValue="false"
id="xlc.c.compiler.option.output.funcset" id="xlc.c.compiler.option.output.funcsect"
name="%Option.funcset" name="%Option.funcsect"
valueType="boolean"> valueType="boolean">
</option> </option>
<option <option

View file

@ -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=v8.0,v9.0
xlc.c.compiler.option.optimization.smp.v10=v10.1 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=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.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=v8.0,v9.0
org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.namemangling.v10=v10.1 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=v8.0,v9.0
xlc.c.compiler.option.cc.tls.v10=v10.1 xlc.c.compiler.option.cc.tls.v10=v10.1
xlc.c.compiler.option.output.macros=v10.1 xlc.c.compiler.option.output.macros=v10.1
xlc.c.compiler.option.output.timestamps=v10.1 xlc.c.compiler.option.output.timestamps=v10.1
xlc.c.compiler.option.output.qstackprotect=v11.1+ xlc.c.compiler.option.output.qstackprotect=v11.1+
xlc.c.compiler.option.output.enablevmx=v8.0,v9.0,v10.1,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.qfunctrace=v11.1+
xlc.c.compiler.option.optimization.qrestrict=v11.1+
# END NON-TRANSLATABLE # END NON-TRANSLATABLE