let's commit all this before my VM blows up and nukes my work

This commit is contained in:
Ash Wolf
2022-10-19 21:16:13 +01:00
parent 775b686166
commit d1f153d34b
147 changed files with 19447 additions and 1766 deletions

View File

@@ -0,0 +1,786 @@
/* forward declare */ extern OptionList alignPPC_conflicts;
/* forward declare */ extern OptionList tbtables_conflicts;
/* BackEnd */
SET_T optlstBackEnd882 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x2,
/* num = */ (char *) &pBackEnd.structalignment
};
Option alignPPC_883 = {
/* names = */ "power|powerpc",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstBackEnd882,
/* sub = */ 0,
/* conflicts = */ &alignPPC_conflicts,
/* help = */ "PowerPC alignment"
};
SET_T optlstBackEnd879 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pBackEnd.structalignment
};
Option alignPPC_880 = {
/* names = */ "mac68k",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstBackEnd879,
/* sub = */ 0,
/* conflicts = */ &alignPPC_conflicts,
/* help = */ "Macintosh 680x0 alignment"
};
SET_T optlstBackEnd876 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pBackEnd.structalignment
};
Option alignPPC_877 = {
/* names = */ "mac68k4byte",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstBackEnd876,
/* sub = */ 0,
/* conflicts = */ &alignPPC_conflicts,
/* help = */ "Mac 680x0 4-byte alignment"
};
GENERIC_T optlstBackEnd873 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &Opt_AddStringToDefines,
/* arg = */ (void *) "#pragma align_array_members on\n",
/* help = */ 0
};
Option optlstBackEnd_874 = {
/* names = */ "array|arraymembers",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd873,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "align members of arrays"
};
Option *optlstBackEnd_884_list[] = {
&alignPPC_883,
&alignPPC_880,
&alignPPC_877,
&optlstBackEnd_874,
0
};
OptionList optlstBackEnd_884 = {
/* help = */ 0,
/* flags = */ LISTFLAGS_COMPILER,
/* list = */ optlstBackEnd_884_list
};
Option optlstBackEnd_885 = {
/* names = */ "align",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS,
/* param = */ 0,
/* sub = */ &optlstBackEnd_884,
/* conflicts = */ 0,
/* help = */ "specify structure/array alignment options"
};
ONOFF_T optlstBackEnd887 = {
/* which = */ PARAMWHICH_OnOff,
/* flags = */ 0x00,
/* myname = */ 0,
/* next = */ 0,
/* var = */ &pBackEnd.common
};
Option optlstBackEnd_888 = {
/* names = */ "common",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd887,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "common variables"
};
SET_T optlstBackEnd891 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pBackEnd.dynamic
};
Option optlstBackEnd_892 = {
/* names = */ "dynamic",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd891,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "dynamic addressing mode"
};
ONOFF_T optlstBackEnd894 = {
/* which = */ PARAMWHICH_OnOff,
/* flags = */ 0x00,
/* myname = */ 0,
/* next = */ 0,
/* var = */ &pBackEnd.fpcontract
};
Option optlstBackEnd_895 = {
/* names = */ "fp_contract",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd894,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "generate fused multiply-add instructions"
};
ONOFF_T optlstBackEnd897 = {
/* which = */ PARAMWHICH_OnOff,
/* flags = */ 0x00,
/* myname = */ 0,
/* next = */ 0,
/* var = */ &pBackEnd.implicit_templates
};
Option optlstBackEnd_898 = {
/* names = */ "imp_templates",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd897,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "implicit templates"
};
ONOFF_T optlstBackEnd900 = {
/* which = */ PARAMWHICH_OnOff,
/* flags = */ 0x00,
/* myname = */ 0,
/* next = */ 0,
/* var = */ &pBackEnd.pic
};
Option optlstBackEnd_901 = {
/* names = */ "pic",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd900,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "generate position independent code"
};
/* forward declare */ extern OptionList optlstBackEnd_932_conflicts;
SET_T optlstBackEnd930 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pBackEnd.processor
};
Option optlstBackEnd_932_931 = {
/* names = */ "generic||ppc|power|powerc",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstBackEnd930,
/* sub = */ 0,
/* conflicts = */ &optlstBackEnd_932_conflicts,
/* help = */ "generic PowerPC"
};
SET_T optlstBackEnd927 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pBackEnd.processor
};
Option optlstBackEnd_932_928 = {
/* names = */ "601",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstBackEnd927,
/* sub = */ 0,
/* conflicts = */ &optlstBackEnd_932_conflicts,
/* help = */ "PPC 601"
};
SET_T optlstBackEnd924 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x2,
/* num = */ (char *) &pBackEnd.processor
};
Option optlstBackEnd_932_925 = {
/* names = */ "603",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstBackEnd924,
/* sub = */ 0,
/* conflicts = */ &optlstBackEnd_932_conflicts,
/* help = */ "PPC 603"
};
SET_T optlstBackEnd921 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x3,
/* num = */ (char *) &pBackEnd.processor
};
Option optlstBackEnd_932_922 = {
/* names = */ "603e",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstBackEnd921,
/* sub = */ 0,
/* conflicts = */ &optlstBackEnd_932_conflicts,
/* help = */ "PPC 603e"
};
SET_T optlstBackEnd918 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x4,
/* num = */ (char *) &pBackEnd.processor
};
Option optlstBackEnd_932_919 = {
/* names = */ "604",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstBackEnd918,
/* sub = */ 0,
/* conflicts = */ &optlstBackEnd_932_conflicts,
/* help = */ "PPC 604"
};
SET_T optlstBackEnd915 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x5,
/* num = */ (char *) &pBackEnd.processor
};
Option optlstBackEnd_932_916 = {
/* names = */ "604e",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstBackEnd915,
/* sub = */ 0,
/* conflicts = */ &optlstBackEnd_932_conflicts,
/* help = */ "PPC 604e"
};
SET_T optlstBackEnd912 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x6,
/* num = */ (char *) &pBackEnd.processor
};
Option optlstBackEnd_932_913 = {
/* names = */ "750",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstBackEnd912,
/* sub = */ 0,
/* conflicts = */ &optlstBackEnd_932_conflicts,
/* help = */ "PPC 750"
};
SET_T optlstBackEnd909 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x7,
/* num = */ (char *) &pBackEnd.processor
};
Option optlstBackEnd_932_910 = {
/* names = */ "7400",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstBackEnd909,
/* sub = */ 0,
/* conflicts = */ &optlstBackEnd_932_conflicts,
/* help = */ "PPC 7400 (AltiVec)"
};
SET_T optlstBackEnd906 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x8,
/* num = */ (char *) &pBackEnd.processor
};
Option optlstBackEnd_932_907 = {
/* names = */ "7450",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstBackEnd906,
/* sub = */ 0,
/* conflicts = */ &optlstBackEnd_932_conflicts,
/* help = */ "PPC 7450 (AltiVec)"
};
SET_T optlstBackEnd903 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x7,
/* num = */ (char *) &pBackEnd.processor
};
Option optlstBackEnd_932_904 = {
/* names = */ "altivec",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstBackEnd903,
/* sub = */ 0,
/* conflicts = */ &optlstBackEnd_932_conflicts,
/* help = */ "Altivec"
};
Option *optlstBackEnd_932_list[] = {
&optlstBackEnd_932_931,
&optlstBackEnd_932_928,
&optlstBackEnd_932_925,
&optlstBackEnd_932_922,
&optlstBackEnd_932_919,
&optlstBackEnd_932_916,
&optlstBackEnd_932_913,
&optlstBackEnd_932_910,
&optlstBackEnd_932_907,
&optlstBackEnd_932_904,
0
};
OptionList optlstBackEnd_932 = {
/* help = */ 0,
/* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER,
/* list = */ optlstBackEnd_932_list
};
OptionList optlstBackEnd_932_conflicts = {
/* help = */ 0,
/* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER,
/* list = */ optlstBackEnd_932_list
};
Option optlstBackEnd_933 = {
/* names = */ "proc|processor||scheduling|target",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS,
/* param = */ 0,
/* sub = */ &optlstBackEnd_932,
/* conflicts = */ 0,
/* help = */ "specify target processor; currently used only for scheduling"
};
ONOFF_T optlstBackEnd935 = {
/* which = */ PARAMWHICH_OnOff,
/* flags = */ 0x00,
/* myname = */ 0,
/* next = */ 0,
/* var = */ &pBackEnd.profiler
};
Option optlstBackEnd_936 = {
/* names = */ "profile",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd935,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "enable calls to profiler"
};
SET_T optlstBackEnd939 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pBackEnd.readonlystrings
};
Option optlstBackEnd_940 = {
/* names = */ "rostr|readonlystrings",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd939,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "make string constants read-only"
};
/* forward declare */ extern OptionList optlstBackEnd_950_conflicts;
SET_T optlstBackEnd948 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pBackEnd.tracebacktables
};
Option optlstBackEnd_950_949 = {
/* names = */ "none",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstBackEnd948,
/* sub = */ 0,
/* conflicts = */ &optlstBackEnd_950_conflicts,
/* help = */ "don't generate traceback tables"
};
SET_T optlstBackEnd945 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pBackEnd.tracebacktables
};
Option optlstBackEnd_950_946 = {
/* names = */ "inline",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstBackEnd945,
/* sub = */ 0,
/* conflicts = */ &optlstBackEnd_950_conflicts,
/* help = */ "generate inline traceback tables"
};
SET_T optlstBackEnd942 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x2,
/* num = */ (char *) &pBackEnd.tracebacktables
};
Option optlstBackEnd_950_943 = {
/* names = */ "outofline",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstBackEnd942,
/* sub = */ 0,
/* conflicts = */ &optlstBackEnd_950_conflicts,
/* help = */ "generate out-of-line traceback tables"
};
Option *optlstBackEnd_950_list[] = {
&optlstBackEnd_950_949,
&optlstBackEnd_950_946,
&optlstBackEnd_950_943,
0
};
OptionList optlstBackEnd_950 = {
/* help = */ 0,
/* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER,
/* list = */ optlstBackEnd_950_list
};
OptionList optlstBackEnd_950_conflicts = {
/* help = */ 0,
/* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER,
/* list = */ optlstBackEnd_950_list
};
Option tbtables_951 = {
/* names = */ "tbtable",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS | OTF_HAS_CONFLICTS,
/* param = */ 0,
/* sub = */ &optlstBackEnd_950,
/* conflicts = */ &tbtables_conflicts,
/* help = */ "specify traceback tables generation"
};
Option optlstBackEnd_964 = {
/* names = */ "on",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ 0,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "turn on support for vector types / codegen"
};
SET_T optlstBackEnd962 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pBackEnd.altivec
};
Option optlstBackEnd_963 = {
/* names = */ "off",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd962,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "turn off vectorization"
};
SET_T optlstBackEnd958 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pBackEnd.vrsave
};
Option optlstBackEnd_959 = {
/* names = */ "vrsave",
/* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd958,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "use VRSAVE prologue/epilogue code"
};
SET_T optlstBackEnd954 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pBackEnd.autovectorize
};
Option optlstBackEnd_955 = {
/* names = */ "auto",
/* avail = */ OTF_SECRET | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd954,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "auto-vectorize"
};
Option *optlstBackEnd_965_list[] = {
&optlstBackEnd_964,
&optlstBackEnd_963,
&optlstBackEnd_959,
&optlstBackEnd_955,
0
};
OptionList optlstBackEnd_965 = {
/* help = */ 0,
/* flags = */ LISTFLAGS_COMPILER,
/* list = */ optlstBackEnd_965_list
};
SET_T optlstBackEnd968 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pBackEnd.altivec
};
Option optlstBackEnd_969 = {
/* names = */ "vector",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS,
/* param = */ (PARAM_T *) &optlstBackEnd968,
/* sub = */ &optlstBackEnd_965,
/* conflicts = */ 0,
/* help = */ "specify Altivec options"
};
SET_T optlstBackEnd972 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pBackEnd.dynamic
};
Option optlstBackEnd_973 = {
/* names = */ "static",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd972,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "static addressing mode"
};
SET_T optlstBackEnd976 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pBackEnd.altivec
};
Option optlstBackEnd_977 = {
/* names = */ "faltivec",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd976,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "turn on support for vector types / codegen"
};
SET_T optlstBackEnd980 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pBackEnd.altivec
};
Option optlstBackEnd_981 = {
/* names = */ "fno-altivec",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd980,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "turn off support for vector types / codegen"
};
SET_T optlstBackEnd984 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pBackEnd.common
};
Option optlstBackEnd_985 = {
/* names = */ "fcommon",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd984,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "allow common variable definitions"
};
SET_T optlstBackEnd988 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pBackEnd.common
};
Option optlstBackEnd_989 = {
/* names = */ "fno-common",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd988,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "dont allow common variable definitions"
};
SET_T optlstBackEnd992 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pBackEnd.pic
};
Option optlstBackEnd_993 = {
/* names = */ "fpic",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd992,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "generate position independent code"
};
SET_T optlstBackEnd996 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pBackEnd.pic
};
Option optlstBackEnd_997 = {
/* names = */ "fno-pic",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd996,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "dont generate position independent code"
};
SET_T optlstBackEnd1000 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pBackEnd.readonlystrings
};
Option optlstBackEnd_1001 = {
/* names = */ "fwritable-strings",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd1000,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "string constants are writable"
};
SET_T optlstBackEnd1004 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pBackEnd.implicit_templates
};
Option optlstBackEnd_1005 = {
/* names = */ "fimplicit-templates",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd1004,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "implicit templates"
};
SET_T optlstBackEnd1008 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pBackEnd.implicit_templates
};
Option optlstBackEnd_1009 = {
/* names = */ "fno-implicit-templates",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstBackEnd1008,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "no implicit templates"
};
Option *optlstBackEnd_1010_list[] = {
&optlstBackEnd_885,
&optlstBackEnd_888,
&optlstBackEnd_892,
&optlstBackEnd_895,
&optlstBackEnd_898,
&optlstBackEnd_901,
&optlstBackEnd_933,
&optlstBackEnd_936,
&optlstBackEnd_940,
&tbtables_951,
&optlstBackEnd_969,
&optlstBackEnd_973,
&optlstBackEnd_977,
&optlstBackEnd_981,
&optlstBackEnd_985,
&optlstBackEnd_989,
&optlstBackEnd_993,
&optlstBackEnd_997,
&optlstBackEnd_1001,
&optlstBackEnd_1005,
&optlstBackEnd_1009,
0
};
OptionList optlstBackEnd = {
/* help = */ "Mach-O PowerPC CodeGen Options\n",
/* flags = */ LISTFLAGS_COMPILER,
/* list = */ optlstBackEnd_1010_list
};
Option *alignPPC_000_list[] = {
&alignPPC_883,
&alignPPC_880,
&alignPPC_877,
0
};
OptionList alignPPC_conflicts = {
/* help = */ 0,
/* flags = */ 0,
/* list = */ alignPPC_000_list
};
Option *tbtables_001_list[] = {
&tbtables_951,
0
};
OptionList tbtables_conflicts = {
/* help = */ 0,
/* flags = */ 0,
/* list = */ tbtables_001_list
};

View File

@@ -0,0 +1,809 @@
/* forward declare */ extern OptionList helpAllNormal_conflicts;
/* forward declare */ extern OptionList helpkey_conflicts;
/* forward declare */ extern OptionList helpTool_conflicts;
/* CmdLine */
MASK_T optlstCmdLine070 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* ormask = */ 0x4000,
/* andmask = */ 0x0,
/* num = */ &parseopts.helpFlags
};
Option optlstCmdLine_071 = {
/* names = */ "usage",
/* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstCmdLine070,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "show usage information"
};
MASK_T optlstCmdLine066 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* ormask = */ 0x100,
/* andmask = */ 0x0,
/* num = */ &parseopts.helpFlags
};
Option optlstCmdLine_067 = {
/* names = */ "spaces",
/* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstCmdLine066,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "insert blank lines between options in printout"
};
MASK_T optlstCmdLine062 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* ormask = */ 0x6A,
/* andmask = */ 0x0,
/* num = */ &parseopts.helpFlags
};
Option helpAllNormal_063 = {
/* names = */ "all",
/* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstCmdLine062,
/* sub = */ 0,
/* conflicts = */ &helpAllNormal_conflicts,
/* help = */ "show all standard options"
};
MASK_T optlstCmdLine058 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* ormask = */ 0x80,
/* andmask = */ 0xE,
/* num = */ &parseopts.helpFlags
};
Option helpAllNormal_059 = {
/* names = */ "normal",
/* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstCmdLine058,
/* sub = */ 0,
/* conflicts = */ &helpAllNormal_conflicts,
/* help = */ "show only standard options"
};
MASK_T optlstCmdLine055 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* ormask = */ 0x4,
/* andmask = */ 0x0,
/* num = */ &parseopts.helpFlags
};
Option optlstCmdLine_056 = {
/* names = */ "obsolete",
/* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstCmdLine055,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "show obsolete options"
};
MASK_T optlstCmdLine051 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* ormask = */ 0x2,
/* andmask = */ 0x0,
/* num = */ &parseopts.helpFlags
};
Option optlstCmdLine_052 = {
/* names = */ "ignored",
/* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstCmdLine051,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "show ignored options"
};
MASK_T optlstCmdLine047 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* ormask = */ 0x8,
/* andmask = */ 0x0,
/* num = */ &parseopts.helpFlags
};
Option optlstCmdLine_048 = {
/* names = */ "deprecated",
/* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstCmdLine047,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "show deprecated options"
};
MASK_T optlstCmdLine043 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* ormask = */ 0x20,
/* andmask = */ 0x0,
/* num = */ &parseopts.helpFlags
};
Option optlstCmdLine_044 = {
/* names = */ "meaningless",
/* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstCmdLine043,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "show options meaningless for this target"
};
MASK_T optlstCmdLine039 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* ormask = */ 0x40,
/* andmask = */ 0x0,
/* num = */ &parseopts.helpFlags
};
Option optlstCmdLine_040 = {
/* names = */ "compatible",
/* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstCmdLine039,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "show compatibility options"
};
MASK_T optlstCmdLine035 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* ormask = */ 0x10,
/* andmask = */ 0x0,
/* num = */ &parseopts.helpFlags
};
Option optlstCmdLine_036 = {
/* names = */ "secret",
/* avail = */ OTF_GLOBAL | OTF_SECRET | OTF_HIDE_DEFAULT | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstCmdLine035,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ 0
};
MASK_T optlstCmdLine029 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* ormask = */ 0x1,
/* andmask = */ 0x0,
/* num = */ &parseopts.helpFlags
};
STRING_T optlstCmdLine031 = {
/* which = */ PARAMWHICH_String,
/* flags = */ 0x00,
/* myname = */ "name",
/* next = */ (PARAM_T *) &optlstCmdLine029,
/* maxlen = */ 64,
/* pstring = */ 0,
/* str = */ parseopts.helpKey
};
Option helpkey_032 = {
/* names = */ "opt|option",
/* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstCmdLine031,
/* sub = */ 0,
/* conflicts = */ &helpkey_conflicts,
/* help = */ "show help for a given option"
};
STRING_T optlstCmdLine025 = {
/* which = */ PARAMWHICH_String,
/* flags = */ 0x00,
/* myname = */ "keyword",
/* next = */ 0,
/* maxlen = */ 64,
/* pstring = */ 0,
/* str = */ parseopts.helpKey
};
Option helpkey_026 = {
/* names = */ "search",
/* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstCmdLine025,
/* sub = */ 0,
/* conflicts = */ &helpkey_conflicts,
/* help = */ "show help for an option whose name or help contains 'keyword' (case-sensitive)"
};
MASK_T optlstCmdLine020 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* ormask = */ 0x8000,
/* andmask = */ 0x0,
/* num = */ &parseopts.helpFlags
};
STRING_T optlstCmdLine022 = {
/* which = */ PARAMWHICH_String,
/* flags = */ 0x00,
/* myname = */ "keyword",
/* next = */ (PARAM_T *) &optlstCmdLine020,
/* maxlen = */ 64,
/* pstring = */ 0,
/* str = */ parseopts.helpKey
};
Option helpkey_023 = {
/* names = */ "group",
/* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstCmdLine022,
/* sub = */ 0,
/* conflicts = */ &helpkey_conflicts,
/* help = */ "show help for groups whose names contain 'keyword' (case-sensitive)"
};
MASK_T optlstCmdLine011 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* ormask = */ 0xC00,
/* andmask = */ 0x0,
/* num = */ &parseopts.helpFlags
};
Option helpTool_012 = {
/* names = */ "all",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstCmdLine011,
/* sub = */ 0,
/* conflicts = */ &helpTool_conflicts,
/* help = */ "show all options available in this tool"
};
MASK_T optlstCmdLine007 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* ormask = */ 0x400,
/* andmask = */ 0x800,
/* num = */ &parseopts.helpFlags
};
Option helpTool_008 = {
/* names = */ "this",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstCmdLine007,
/* sub = */ 0,
/* conflicts = */ &helpTool_conflicts,
/* help = */ "show options executed by this tool"
};
MASK_T optlstCmdLine004 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* ormask = */ 0x800,
/* andmask = */ 0x400,
/* num = */ &parseopts.helpFlags
};
Option helpTool_005 = {
/* names = */ "other|skipped",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstCmdLine004,
/* sub = */ 0,
/* conflicts = */ &helpTool_conflicts,
/* help = */ "show options passed to another tool"
};
MASK_T optlstCmdLine001 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* ormask = */ 0xC00,
/* andmask = */ 0x200,
/* num = */ &parseopts.helpFlags
};
Option helpTool_002 = {
/* names = */ "both",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstCmdLine001,
/* sub = */ 0,
/* conflicts = */ &helpTool_conflicts,
/* help = */ "show options used in all tools"
};
Option *optlstCmdLine_013_list[] = {
&helpTool_012,
&helpTool_008,
&helpTool_005,
&helpTool_002,
0
};
OptionList optlstCmdLine_013 = {
/* help = */ 0,
/* flags = */ LISTFLAGS_COMPILER,
/* list = */ optlstCmdLine_013_list
};
MASK_T optlstCmdLine016 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* ormask = */ 0x200,
/* andmask = */ 0x0,
/* num = */ &parseopts.helpFlags
};
Option optlstCmdLine_017 = {
/* names = */ "tool",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS,
/* param = */ (PARAM_T *) &optlstCmdLine016,
/* sub = */ &optlstCmdLine_013,
/* conflicts = */ 0,
/* help = */ "categorize groups of options by tool"
};
Option *optlstCmdLine_072_list[] = {
&optlstCmdLine_071,
&optlstCmdLine_067,
&helpAllNormal_063,
&helpAllNormal_059,
&optlstCmdLine_056,
&optlstCmdLine_052,
&optlstCmdLine_048,
&optlstCmdLine_044,
&optlstCmdLine_040,
&optlstCmdLine_036,
&helpkey_032,
&helpkey_026,
&helpkey_023,
&optlstCmdLine_017,
0
};
OptionList optlstCmdLine_072 = {
/* help = */ 0,
/* flags = */ LISTFLAGS_COMPILER,
/* list = */ optlstCmdLine_072_list
};
MASK_T optlstCmdLine075 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* ormask = */ 0x680,
/* andmask = */ 0x0,
/* num = */ &parseopts.helpFlags
};
SET_T optlstCmdLine078 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstCmdLine075,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &parseopts.hadAnyOutput
};
SET_T optlstCmdLine081 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstCmdLine078,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &parseopts.showHelp
};
Option optlstCmdLine_082 = {
/* names = */ "help||-help",
/* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_ONLY_ONCE | OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS | OTF_SUB_OPTIONS_OPTIONAL,
/* param = */ (PARAM_T *) &optlstCmdLine081,
/* sub = */ &optlstCmdLine_072,
/* conflicts = */ 0,
/* help = */ "display help"
};
SET_T optlstCmdLine085 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &parseopts.hadAnyOutput
};
GENERIC_T optlstCmdLine087 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstCmdLine085,
/* parse = */ &Opt_PrintVersion,
/* arg = */ (void *) 0,
/* help = */ 0
};
Option optlstCmdLine_088 = {
/* names = */ "version",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstCmdLine087,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "show version, configuration, and build date"
};
SET_T optlstCmdLine091 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pCmdLine.timeWorking
};
Option optlstCmdLine_092 = {
/* names = */ "timing",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstCmdLine091,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "collect timing statistics"
};
GENERIC_T optlstCmdLine094 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &Opt_PrintVersion,
/* arg = */ (void *) 0,
/* help = */ 0
};
SET_T optlstCmdLine096 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstCmdLine094,
/* size = */ 2,
/* value = */ 0x1,
/* num = */ (char *) &pCmdLine.verbose
};
Option optlstCmdLine_progress = {
/* names = */ "progress",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstCmdLine096,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "show progress and version"
};
GENERIC_T optlstCmdLine099 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &Opt_PrintVersion,
/* arg = */ (void *) 0,
/* help = */ 0
};
GENERIC_T optlstCmdLine101 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstCmdLine099,
/* parse = */ &Opt_IncreaseVerbosity,
/* arg = */ (void *) 0,
/* help = */ 0
};
Option optlstCmdLine_102 = {
/* names = */ "v|verbose",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstCmdLine101,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "verbose information; cumulative; implies ~~progress"
};
SET_T optlstCmdLine105 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &parseopts.alwaysUsePaths
};
Option optlstCmdLine_106 = {
/* names = */ "search",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstCmdLine105,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "search access paths for source files specified on the command line; may specify object code and libraries as well; this option provides the IDE's 'access paths' functionality"
};
SET_T optlstCmdLine109 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pCmdLine.showLines
};
Option optlstCmdLine_110 = {
/* names = */ "lines",
/* avail = */ OTF_GLOBAL | OTF_SECRET | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstCmdLine109,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "show line count"
};
SET_T optlstCmdLine113 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pCmdLine.noWrapOutput
};
Option optlstCmdLine_114 = {
/* names = */ "wraplines",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstCmdLine113,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "word wrap messages"
};
NUM_T optlstCmdLine116 = {
/* which = */ PARAMWHICH_Number,
/* flags = */ 0x00,
/* myname = */ "max",
/* next = */ 0,
/* size = */ 2,
/* fit = */ 0,
/* lo = */ 0,
/* hi = */ 0,
/* num = */ &pCmdLine.maxErrors
};
Option optlstCmdLine_117 = {
/* names = */ "maxerrors",
/* avail = */ OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstCmdLine116,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "specify maximum number of errors to print, zero means no maximum"
};
NUM_T optlstCmdLine119 = {
/* which = */ PARAMWHICH_Number,
/* flags = */ 0x00,
/* myname = */ "max",
/* next = */ 0,
/* size = */ 2,
/* fit = */ 0,
/* lo = */ 0,
/* hi = */ 0,
/* num = */ &pCmdLine.maxWarnings
};
Option optlstCmdLine_120 = {
/* names = */ "maxwarnings",
/* avail = */ OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstCmdLine119,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "specify maximum number of warnings to print, zero means no maximum"
};
/* forward declare */ extern OptionList optlstCmdLine_136_conflicts;
SET_T optlstCmdLine134 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 2,
/* value = */ 0x2,
/* num = */ (char *) &pCmdLine.msgStyle
};
Option optlstCmdLine_136_135 = {
/* names = */ "mpw",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstCmdLine134,
/* sub = */ 0,
/* conflicts = */ &optlstCmdLine_136_conflicts,
/* help = */ "use MPW message style"
};
SET_T optlstCmdLine131 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 2,
/* value = */ 0x0,
/* num = */ (char *) &pCmdLine.msgStyle
};
Option optlstCmdLine_136_132 = {
/* names = */ "std",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstCmdLine131,
/* sub = */ 0,
/* conflicts = */ &optlstCmdLine_136_conflicts,
/* help = */ "use standard message style"
};
SET_T optlstCmdLine128 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 2,
/* value = */ 0x1,
/* num = */ (char *) &pCmdLine.msgStyle
};
Option optlstCmdLine_136_129 = {
/* names = */ "gcc",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstCmdLine128,
/* sub = */ 0,
/* conflicts = */ &optlstCmdLine_136_conflicts,
/* help = */ "use GCC-like message style"
};
SET_T optlstCmdLine125 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 2,
/* value = */ 0x3,
/* num = */ (char *) &pCmdLine.msgStyle
};
Option optlstCmdLine_136_126 = {
/* names = */ "IDE",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstCmdLine125,
/* sub = */ 0,
/* conflicts = */ &optlstCmdLine_136_conflicts,
/* help = */ "use CW IDE-like message style"
};
SET_T optlstCmdLine122 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 2,
/* value = */ 0x4,
/* num = */ (char *) &pCmdLine.msgStyle
};
Option optlstCmdLine_136_123 = {
/* names = */ "parseable",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstCmdLine122,
/* sub = */ 0,
/* conflicts = */ &optlstCmdLine_136_conflicts,
/* help = */ "use context-free machine-parseable message style"
};
Option *optlstCmdLine_136_list[] = {
&optlstCmdLine_136_135,
&optlstCmdLine_136_132,
&optlstCmdLine_136_129,
&optlstCmdLine_136_126,
&optlstCmdLine_136_123,
0
};
OptionList optlstCmdLine_136 = {
/* help = */ 0,
/* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER | LISTFLAGS_LINKER | LISTFLAGS_DISASSEMBLER,
/* list = */ optlstCmdLine_136_list
};
OptionList optlstCmdLine_136_conflicts = {
/* help = */ 0,
/* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER | LISTFLAGS_LINKER | LISTFLAGS_DISASSEMBLER,
/* list = */ optlstCmdLine_136_list
};
Option optlstCmdLine_137 = {
/* names = */ "msgstyle",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER | OTF_HAS_SUB_OPTIONS,
/* param = */ 0,
/* sub = */ &optlstCmdLine_136,
/* conflicts = */ 0,
/* help = */ "set error/warning message style"
};
GENERIC_T optlstCmdLine139 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &Opt_SavePrefs,
/* arg = */ (void *) 0,
/* help = */ 0
};
SET_T optlstCmdLine142 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstCmdLine139,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pCmdLine.stderr2stdout
};
Option optlstCmdLine_143 = {
/* names = */ "stderr",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstCmdLine142,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "use separate stderr and stdout streams; if using ~~nostderr, stderr goes to stdout"
};
GENERIC_T optlstCmdLine145 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &Opt_FindAndAddFile,
/* arg = */ (void *) 0,
/* help = */ 0
};
Option optlstCmdLine_146 = {
/* names = */ "",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstCmdLine145,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ 0
};
Option *optlstCmdLine_147_list[] = {
&optlstCmdLine_082,
&optlstCmdLine_088,
&optlstCmdLine_092,
&optlstCmdLine_progress,
&optlstCmdLine_102,
&optlstCmdLine_106,
&optlstCmdLine_110,
&optlstCmdLine_114,
&optlstCmdLine_117,
&optlstCmdLine_120,
&optlstCmdLine_137,
&optlstCmdLine_143,
&optlstCmdLine_146,
0
};
OptionList optlstCmdLine = {
/* help = */ "General Command-Line Options\n\tAll the options are passed to the linker unless otherwise noted.\b\tPlease see '~~help usage' for details about the meaning of this help.\b",
/* flags = */ LISTFLAGS_COMPILER | LISTFLAGS_LINKER | LISTFLAGS_DISASSEMBLER,
/* list = */ optlstCmdLine_147_list
};
Option *helpAllNormal_000_list[] = {
&helpAllNormal_063,
&helpAllNormal_059,
0
};
OptionList helpAllNormal_conflicts = {
/* help = */ 0,
/* flags = */ 0,
/* list = */ helpAllNormal_000_list
};
Option *helpkey_001_list[] = {
&helpkey_032,
&helpkey_026,
&helpkey_023,
0
};
OptionList helpkey_conflicts = {
/* help = */ 0,
/* flags = */ 0,
/* list = */ helpkey_001_list
};
Option *helpTool_002_list[] = {
&helpTool_012,
&helpTool_008,
&helpTool_005,
&helpTool_002,
0
};
OptionList helpTool_conflicts = {
/* help = */ 0,
/* flags = */ 0,
/* list = */ helpTool_002_list
};

View File

@@ -0,0 +1,199 @@
/* CmdLineLinker */
GENERIC_T optlstCmdLineLinker346 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &Opt_SetStage,
/* arg = */ (void *) "Ds",
/* help = */ 0
};
SET_T optlstCmdLineLinker349 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstCmdLineLinker346,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ 0
};
SET_T optlstCmdLineLinker351 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstCmdLineLinker349,
/* size = */ 2,
/* value = */ 0x2,
/* num = */ (char *) &pCmdLine.state
};
Option optlstCmdLineLinker_352 = {
/* names = */ "dis|disassemble",
/* avail = */ OTF_GLOBAL | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstCmdLineLinker351,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "disassemble object code and do not link; implies '~~nostdlib'"
};
GENERIC_T optlstCmdLineLinker354 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x00,
/* myname = */ "path",
/* next = */ 0,
/* parse = */ &Opt_DummyLinkerRoutine,
/* arg = */ (void *) 0,
/* help = */ 0
};
Option optlstCmdLineLinker_355 = {
/* names = */ "L|l",
/* avail = */ OTF_GLOBAL | OTF_STICKY | OTF_CASED | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstCmdLineLinker354,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "add library search path; default is to search current working directory and then system directories (see '~~defaults'); search paths have global scope over the command line and are searched in the order given"
};
GENERIC_T optlstCmdLineLinker357 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x00,
/* myname = */ "path",
/* next = */ 0,
/* parse = */ &Opt_DummyLinkerRoutine,
/* arg = */ (void *) 1,
/* help = */ 0
};
Option optlstCmdLineLinker_358 = {
/* names = */ "lr",
/* avail = */ OTF_GLOBAL | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstCmdLineLinker357,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "like '~~l', but add recursive library search path"
};
GENERIC_T optlstCmdLineLinker360 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x00,
/* myname = */ "file",
/* next = */ 0,
/* parse = */ &Opt_DummyLinkerRoutine,
/* arg = */ (void *) 0,
/* help = */ 0
};
Option optlstCmdLineLinker_361 = {
/* names = */ "l",
/* avail = */ OTF_STICKY | OTF_CASED | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstCmdLineLinker360,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "add a library by searching access paths for file named lib<file>.<ext> where <ext> is a typical library extension; added before system libraries (see '~~defaults')"
};
SET_T optlstCmdLineLinker364 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ 0
};
Option optlstCmdLineLinker_365 = {
/* names = */ "defaults",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_LINKER,
/* param = */ (PARAM_T *) &optlstCmdLineLinker364,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as ~~[no]stdlib"
};
SET_T optlstCmdLineLinker368 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pCmdLineCompiler.noFail
};
Option optlstCmdLineLinker_369 = {
/* names = */ "nofail",
/* avail = */ OTF_TOOL_LINKER,
/* param = */ (PARAM_T *) &optlstCmdLineLinker368,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "continue importing or disassembling after errors in earlier files"
};
SET_T optlstCmdLineLinker372 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ 0
};
Option optlstCmdLineLinker_373 = {
/* names = */ "stdlib",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_LINKER,
/* param = */ (PARAM_T *) &optlstCmdLineLinker372,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "use system library access paths (specified by {MWLibraries}) and add system libraries (specified by {MWLibraryFiles})"
};
GENERIC_T optlstCmdLineLinker375 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &Opt_SetStage,
/* arg = */ (void *) "Ds",
/* help = */ 0
};
MASK_T optlstCmdLineLinker378 = {
/* which = */ PARAMWHICH_Mask,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstCmdLineLinker375,
/* size = */ 2,
/* ormask = */ 0x4,
/* andmask = */ 0x0,
/* num = */ &pCmdLine.toDisk
};
SET_T optlstCmdLineLinker381 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstCmdLineLinker378,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ 0
};
SET_T optlstCmdLineLinker383 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstCmdLineLinker381,
/* size = */ 2,
/* value = */ 0x2,
/* num = */ (char *) &pCmdLine.state
};
Option optlstCmdLineLinker_384 = {
/* names = */ "S",
/* avail = */ OTF_GLOBAL | OTF_CASED | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstCmdLineLinker383,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "disassemble and send output to file; do not link; implies '~~nostdlib'"
};
Option *optlstCmdLineLinker_385_list[] = {
&optlstCmdLineLinker_352,
&optlstCmdLineLinker_355,
&optlstCmdLineLinker_358,
&optlstCmdLineLinker_361,
&optlstCmdLineLinker_365,
&optlstCmdLineLinker_369,
&optlstCmdLineLinker_373,
&optlstCmdLineLinker_384,
0
};
OptionList optlstCmdLineLinker = {
/* help = */ "Command-Line Linker Options\n",
/* flags = */ LISTFLAGS_LINKER,
/* list = */ optlstCmdLineLinker_385_list
};

View File

@@ -0,0 +1,80 @@
/* Debugging */
SET_T optlstDebugging388 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pCmdLine.debugInfo
};
Option optlstDebugging_389 = {
/* names = */ "g",
/* avail = */ OTF_GLOBAL | OTF_CASED | OTF_TOOL_COMPILER | OTF_TOOL_LINKER,
/* param = */ (PARAM_T *) &optlstDebugging388,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "generate debugging information; same as '~~sym on'"
};
SET_T optlstDebugging396 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pCmdLine.debugInfo
};
Option optlstDebugging_397 = {
/* names = */ "off",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER,
/* param = */ (PARAM_T *) &optlstDebugging396,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "do not generate debugging information"
};
SET_T optlstDebugging392 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pCmdLine.debugInfo
};
Option optlstDebugging_393 = {
/* names = */ "on",
/* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_TOOL_COMPILER | OTF_TOOL_LINKER,
/* param = */ (PARAM_T *) &optlstDebugging392,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "turn on debugging information"
};
Option *optlstDebugging_398_list[] = {
&optlstDebugging_397,
&optlstDebugging_393,
0
};
OptionList optlstDebugging_398 = {
/* help = */ 0,
/* flags = */ LISTFLAGS_ALLOW_UNKNOWNS | LISTFLAGS_COMPILER | LISTFLAGS_LINKER,
/* list = */ optlstDebugging_398_list
};
Option optlstDebugging_399 = {
/* names = */ "sym",
/* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_HAS_SUB_OPTIONS,
/* param = */ 0,
/* sub = */ &optlstDebugging_398,
/* conflicts = */ 0,
/* help = */ "specify debugging options"
};
Option *optlstDebugging_400_list[] = {
&optlstDebugging_389,
&optlstDebugging_399,
0
};
OptionList optlstDebugging = {
/* help = */ "Debugging Control Options\n",
/* flags = */ LISTFLAGS_COMPILER | LISTFLAGS_LINKER,
/* list = */ optlstDebugging_400_list
};

View File

@@ -0,0 +1,368 @@
/* Dumper */
SET_T optlstDumper1187 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pDisassembler.shownames
};
SET_T optlstDumper1190 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstDumper1187,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pDisassembler.showsym
};
SET_T optlstDumper1193 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstDumper1190,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pDisassembler.showexceptions
};
SET_T optlstDumper1196 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstDumper1193,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pDisassembler.showdata
};
SET_T optlstDumper1199 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstDumper1196,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pDisassembler.nohex
};
SET_T optlstDumper1202 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstDumper1199,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pDisassembler.mix
};
SET_T optlstDumper1205 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstDumper1202,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pDisassembler.extended
};
SET_T optlstDumper1208 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstDumper1205,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pDisassembler.showcode
};
Option optlstDumper_1209 = {
/* names = */ "only|none",
/* avail = */ OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstDumper1208,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "as in '~~show none' or, e.g.,\r'~~show only,code,data'"
};
SET_T optlstDumper1162 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.shownames
};
SET_T optlstDumper1165 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstDumper1162,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.showsym
};
SET_T optlstDumper1168 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstDumper1165,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.showexceptions
};
SET_T optlstDumper1171 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstDumper1168,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.showdata
};
SET_T optlstDumper1174 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstDumper1171,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.nohex
};
SET_T optlstDumper1177 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstDumper1174,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.mix
};
SET_T optlstDumper1180 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstDumper1177,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.extended
};
SET_T optlstDumper1183 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstDumper1180,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.showcode
};
Option optlstDumper_1184 = {
/* names = */ "all",
/* avail = */ OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstDumper1183,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "show everything"
};
SET_T optlstDumper1158 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.showcode
};
Option optlstDumper_1159 = {
/* names = */ "code|text",
/* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstDumper1158,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "show disassembly of code sections"
};
SET_T optlstDumper1151 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.showcode
};
SET_T optlstDumper1154 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstDumper1151,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.extended
};
Option optlstDumper_1155 = {
/* names = */ "extended",
/* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstDumper1154,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "show extended mnemonics"
};
SET_T optlstDumper1144 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.showcode
};
SET_T optlstDumper1147 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstDumper1144,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.mix
};
Option optlstDumper_1148 = {
/* names = */ "mix",
/* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstDumper1147,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "mix code and assembly; requires that modules were compiled with '~~sym on'"
};
SET_T optlstDumper1137 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.showcode
};
SET_T optlstDumper1140 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstDumper1137,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pDisassembler.nohex
};
Option optlstDumper_1141 = {
/* names = */ "hex",
/* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstDumper1140,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "show addresses and opcodes"
};
SET_T optlstDumper1133 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.showdata
};
Option optlstDumper_1134 = {
/* names = */ "data",
/* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstDumper1133,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "show data modules"
};
SET_T optlstDumper1126 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.showdata
};
SET_T optlstDumper1129 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstDumper1126,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.showexceptions
};
Option optlstDumper_1130 = {
/* names = */ "exceptions",
/* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstDumper1129,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "show exception tables"
};
SET_T optlstDumper1122 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.showsym
};
Option optlstDumper_1123 = {
/* names = */ "sym",
/* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstDumper1122,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "show SYM info"
};
SET_T optlstDumper1118 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pDisassembler.shownames
};
Option optlstDumper_1119 = {
/* names = */ "names",
/* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstDumper1118,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "show symbol and string tables"
};
Option *optlstDumper_1210_list[] = {
&optlstDumper_1209,
&optlstDumper_1184,
&optlstDumper_1159,
&optlstDumper_1155,
&optlstDumper_1148,
&optlstDumper_1141,
&optlstDumper_1134,
&optlstDumper_1130,
&optlstDumper_1123,
&optlstDumper_1119,
0
};
OptionList optlstDumper_1210 = {
/* help = */ 0,
/* flags = */ LISTFLAGS_LINKER | LISTFLAGS_DISASSEMBLER,
/* list = */ optlstDumper_1210_list
};
Option optlstDumper_1211 = {
/* names = */ "show",
/* avail = */ OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER | OTF_HAS_SUB_OPTIONS,
/* param = */ 0,
/* sub = */ &optlstDumper_1210,
/* conflicts = */ 0,
/* help = */ "specify disassembly options"
};
Option *optlstDumper_1212_list[] = {
&optlstDumper_1211,
0
};
OptionList optlstDumper = {
/* help = */ "Mach-O PowerPC Disassembler Options\n",
/* flags = */ LISTFLAGS_LINKER | LISTFLAGS_DISASSEMBLER,
/* list = */ optlstDumper_1212_list
};

View File

@@ -0,0 +1,321 @@
/* Linker */
STRING_T optlstLinker1061 = {
/* which = */ PARAMWHICH_String,
/* flags = */ 0x00,
/* myname = */ 0,
/* next = */ 0,
/* maxlen = */ 64,
/* pstring = */ 0,
/* str = */ pLinker.mainname
};
SET_T optlstLinker1064 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstLinker1061,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ 0
};
Option optlstLinker_1065 = {
/* names = */ "m|main",
/* avail = */ OTF_TOOL_LINKER,
/* param = */ (PARAM_T *) &optlstLinker1064,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "set main entry point for application, executable, orshared library"
};
FILEPATH_T optlstLinker1070 = {
/* which = */ PARAMWHICH_FilePath,
/* flags = */ 0x00,
/* myname = */ "filename",
/* next = */ 0,
/* fflags = */ 1,
/* defaultstr = */ 0,
/* filename = */ pCLTExtras.mapfilename,
/* maxlen = */ 255
};
SET_T optlstLinker1068 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pCLTExtras.gPrintMapToStdOutput
};
IFARG_T optlstLinker1072 = {
/* which = */ PARAMWHICH_IfArg,
/* flags = */ 0x12,
/* myname = */ 0,
/* next = */ 0,
/* parg = */ (PARAM_T *) &optlstLinker1070,
/* helpa = */ "write map to 'filename'",
/* pnone = */ (PARAM_T *) &optlstLinker1068,
/* helpn = */ "write map to stdout"
};
SET_T optlstLinker1075 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstLinker1072,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pLinker.linkmap
};
Option optlstLinker_1076 = {
/* names = */ "map",
/* avail = */ OTF_TOOL_LINKER,
/* param = */ (PARAM_T *) &optlstLinker1075,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "generate link map"
};
SET_T optlstLinker1079 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pLinker.multisymerror
};
Option optlstLinker_1080 = {
/* names = */ "multisymerr",
/* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_LINKER,
/* param = */ (PARAM_T *) &optlstLinker1079,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "generate errors for multiply defined symbols"
};
GENERIC_T optlstLinker1082 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x00,
/* myname = */ "file",
/* next = */ 0,
/* parse = */ &Opt_DummyLinkerRoutine,
/* arg = */ (void *) 0,
/* help = */ 0
};
Option optlstLinker_1083 = {
/* names = */ "o",
/* avail = */ OTF_ONLY_ONCE | OTF_TOOL_LINKER,
/* param = */ (PARAM_T *) &optlstLinker1082,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "specify output filename"
};
ONOFF_T optlstLinker1085 = {
/* which = */ PARAMWHICH_OnOff,
/* flags = */ 0x00,
/* myname = */ 0,
/* next = */ 0,
/* var = */ &pLinker.use_objectivec_semantics
};
Option optlstLinker_1086 = {
/* names = */ "objc",
/* avail = */ OTF_TOOL_LINKER,
/* param = */ (PARAM_T *) &optlstLinker1085,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "use objective C semantics"
};
/* forward declare */ extern OptionList optlstLinker_1096_conflicts;
SET_T optlstLinker1094 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pLinker.readonlyrelocs
};
Option optlstLinker_1096_1095 = {
/* names = */ "errors",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstLinker1094,
/* sub = */ 0,
/* conflicts = */ &optlstLinker_1096_conflicts,
/* help = */ "as errors"
};
SET_T optlstLinker1091 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pLinker.readonlyrelocs
};
Option optlstLinker_1096_1092 = {
/* names = */ "warnings",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstLinker1091,
/* sub = */ 0,
/* conflicts = */ &optlstLinker_1096_conflicts,
/* help = */ "as warnings"
};
SET_T optlstLinker1088 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x2,
/* num = */ (char *) &pLinker.readonlyrelocs
};
Option optlstLinker_1096_1089 = {
/* names = */ "supressed",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstLinker1088,
/* sub = */ 0,
/* conflicts = */ &optlstLinker_1096_conflicts,
/* help = */ "supressed"
};
Option *optlstLinker_1096_list[] = {
&optlstLinker_1096_1095,
&optlstLinker_1096_1092,
&optlstLinker_1096_1089,
0
};
OptionList optlstLinker_1096 = {
/* help = */ 0,
/* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_LINKER,
/* list = */ optlstLinker_1096_list
};
OptionList optlstLinker_1096_conflicts = {
/* help = */ 0,
/* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_LINKER,
/* list = */ optlstLinker_1096_list
};
Option optlstLinker_1097 = {
/* names = */ "roreloc|readonlyrelocs",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_SUB_OPTIONS,
/* param = */ 0,
/* sub = */ &optlstLinker_1096,
/* conflicts = */ 0,
/* help = */ "treat read only relocations"
};
/* forward declare */ extern OptionList optlstLinker_1107_conflicts;
SET_T optlstLinker1105 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x0,
/* num = */ (char *) &pLinker.undefinedsymbols
};
Option optlstLinker_1107_1106 = {
/* names = */ "errors",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstLinker1105,
/* sub = */ 0,
/* conflicts = */ &optlstLinker_1107_conflicts,
/* help = */ "as errors"
};
SET_T optlstLinker1102 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pLinker.undefinedsymbols
};
Option optlstLinker_1107_1103 = {
/* names = */ "warnings",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstLinker1102,
/* sub = */ 0,
/* conflicts = */ &optlstLinker_1107_conflicts,
/* help = */ "as warnings"
};
SET_T optlstLinker1099 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 1,
/* value = */ 0x2,
/* num = */ (char *) &pLinker.undefinedsymbols
};
Option optlstLinker_1107_1100 = {
/* names = */ "supressed",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstLinker1099,
/* sub = */ 0,
/* conflicts = */ &optlstLinker_1107_conflicts,
/* help = */ "supressed"
};
Option *optlstLinker_1107_list[] = {
&optlstLinker_1107_1106,
&optlstLinker_1107_1103,
&optlstLinker_1107_1100,
0
};
OptionList optlstLinker_1107 = {
/* help = */ 0,
/* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_LINKER,
/* list = */ optlstLinker_1107_list
};
OptionList optlstLinker_1107_conflicts = {
/* help = */ 0,
/* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_LINKER,
/* list = */ optlstLinker_1107_list
};
Option optlstLinker_1108 = {
/* names = */ "undefsym",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_SUB_OPTIONS,
/* param = */ 0,
/* sub = */ &optlstLinker_1107,
/* conflicts = */ 0,
/* help = */ "treat undefined symbols"
};
ONOFF_T optlstLinker1110 = {
/* which = */ PARAMWHICH_OnOff,
/* flags = */ 0x00,
/* myname = */ 0,
/* next = */ 0,
/* var = */ &pLinker.whatfileloaded
};
Option optlstLinker_1111 = {
/* names = */ "whatfile",
/* avail = */ OTF_TOOL_LINKER,
/* param = */ (PARAM_T *) &optlstLinker1110,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "report what files are loaded"
};
ONOFF_T optlstLinker1113 = {
/* which = */ PARAMWHICH_OnOff,
/* flags = */ 0x00,
/* myname = */ 0,
/* next = */ 0,
/* var = */ &pLinker.whyfileloaded
};
Option optlstLinker_1114 = {
/* names = */ "whyfile",
/* avail = */ OTF_TOOL_LINKER,
/* param = */ (PARAM_T *) &optlstLinker1113,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "report why files are loaded"
};
Option *optlstLinker_1115_list[] = {
&optlstLinker_1065,
&optlstLinker_1076,
&optlstLinker_1080,
&optlstLinker_1083,
&optlstLinker_1086,
&optlstLinker_1097,
&optlstLinker_1108,
&optlstLinker_1111,
&optlstLinker_1114,
0
};
OptionList optlstLinker = {
/* help = */ "Mach-O PowerPC Linker Options\n",
/* flags = */ LISTFLAGS_LINKER,
/* list = */ optlstLinker_1115_list
};

View File

@@ -0,0 +1,765 @@
/* Optimizer */
GENERIC_T optlstOptimizer748 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "G2Pe",
/* help = */ 0
};
Option optlstOptimizer_749 = {
/* names = */ "O",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer748,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as '~~O2'"
};
GENERIC_T optlstOptimizer769 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "G0",
/* help = */ 0
};
Option optlstOptimizer_770 = {
/* names = */ "0",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer769,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as '~~opt l0'"
};
GENERIC_T optlstOptimizer766 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "G1",
/* help = */ 0
};
Option optlstOptimizer_767 = {
/* names = */ "1",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer766,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as '~~opt l1'"
};
GENERIC_T optlstOptimizer763 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "G2Pe",
/* help = */ 0
};
Option optlstOptimizer_764 = {
/* names = */ "2",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer763,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as '~~opt l2, peephole'"
};
GENERIC_T optlstOptimizer760 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "G3Pe",
/* help = */ 0
};
Option optlstOptimizer_761 = {
/* names = */ "3",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer760,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as '~~opt l3, peephole'"
};
GENERIC_T optlstOptimizer757 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "G4ShPe",
/* help = */ 0
};
Option optlstOptimizer_758 = {
/* names = */ "4||5|6|7",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer757,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as '~~opt l4, peephole, schedule'"
};
GENERIC_T optlstOptimizer754 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "Gp",
/* help = */ 0
};
Option optlstOptimizer_755 = {
/* names = */ "p",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer754,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as '~~opt speed'"
};
GENERIC_T optlstOptimizer751 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "Gs",
/* help = */ 0
};
Option optlstOptimizer_752 = {
/* names = */ "s",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer751,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as '~~opt space'"
};
Option *optlstOptimizer_771_list[] = {
&optlstOptimizer_770,
&optlstOptimizer_767,
&optlstOptimizer_764,
&optlstOptimizer_761,
&optlstOptimizer_758,
&optlstOptimizer_755,
&optlstOptimizer_752,
0
};
OptionList optlstOptimizer_771 = {
/* help = */ 0,
/* flags = */ LISTFLAGS_COMPILER,
/* list = */ optlstOptimizer_771_list
};
Option optlstOptimizer_772 = {
/* names = */ "O",
/* avail = */ OTF_STICKY | OTF_CASED | OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS,
/* param = */ 0,
/* sub = */ &optlstOptimizer_771,
/* conflicts = */ 0,
/* help = */ "control optimization; you may combine options as in '~~O4,p'"
};
GENERIC_T optlstOptimizer867 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "G0Sn-Pe",
/* help = */ 0
};
Option optlstOptimizer_868 = {
/* names = */ "off|none",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer867,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "suppress all optimizations"
};
GENERIC_T optlstOptimizer864 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "G2Pe",
/* help = */ 0
};
Option optlstOptimizer_865 = {
/* names = */ "on",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer864,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as '~~opt l2, peephole'"
};
GENERIC_T optlstOptimizer861 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "G4GpShPe",
/* help = */ 0
};
Option optlstOptimizer_862 = {
/* names = */ "all|full",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer861,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as '~~opt l4, speed, peephole, schedule'"
};
GENERIC_T optlstOptimizer858 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "Gs",
/* help = */ 0
};
Option optlstOptimizer_859 = {
/* names = */ "space|size",
/* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer858,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "optimize for space"
};
GENERIC_T optlstOptimizer855 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "Gp",
/* help = */ 0
};
Option optlstOptimizer_856 = {
/* names = */ "speed",
/* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer855,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "optimize for speed"
};
GENERIC_T optlstOptimizer850 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetPragmaOptimizationsToUnspecified,
/* arg = */ (void *) 0,
/* help = */ 0
};
NUM_T optlstOptimizer852 = {
/* which = */ PARAMWHICH_Number,
/* flags = */ 0x00,
/* myname = */ "num",
/* next = */ (PARAM_T *) &optlstOptimizer850,
/* size = */ 1,
/* fit = */ 0,
/* lo = */ 0,
/* hi = */ 4,
/* num = */ &pGlobalOptimizer.optimizationlevel
};
Option optlstOptimizer_853 = {
/* names = */ "l|level",
/* avail = */ OTF_ONLY_ONCE | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer852,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "set optimization level:\rlevel 0: global register allocation only for temporary values\rlevel 1: adds dead code elimination\rlevel 2: adds common subexpression elimination and copy propagation\rlevel 3: adds loop transformations, strength reducation, and loop-invariant code motion\rlevel 4: adds repeated common subexpression elimination and loop-invariant code motion"
};
GENERIC_T optlstOptimizer847 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "G0",
/* help = */ 0
};
Option optlstOptimizer_848 = {
/* names = */ "l0",
/* avail = */ OTF_SECRET | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer847,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "level 0: global register allocation only for temporary values"
};
GENERIC_T optlstOptimizer844 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "G1",
/* help = */ 0
};
Option optlstOptimizer_845 = {
/* names = */ "l1",
/* avail = */ OTF_SECRET | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer844,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "level 1: adds dead code elimination"
};
GENERIC_T optlstOptimizer841 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "G2",
/* help = */ 0
};
Option optlstOptimizer_842 = {
/* names = */ "l2",
/* avail = */ OTF_SECRET | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer841,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "level 2: adds common subexpression elimination and copy propagation"
};
GENERIC_T optlstOptimizer838 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "G3",
/* help = */ 0
};
Option optlstOptimizer_839 = {
/* names = */ "l3",
/* avail = */ OTF_SECRET | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer838,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "level 3: adds loop transformations, strength reducation, and loop-invariant code motion"
};
GENERIC_T optlstOptimizer835 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "G4",
/* help = */ 0
};
Option optlstOptimizer_836 = {
/* names = */ "l4",
/* avail = */ OTF_SECRET | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer835,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "level 4: adds repeated common subexpression elimination and loop-invariant code motion"
};
GENERIC_T optlstOptimizer832 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "Cs",
/* help = */ 0
};
Option optlstOptimizer_833 = {
/* names = */ "cse|commonsubs",
/* avail = */ OTF_COMPATIBILITY | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer832,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "common subexpression elimination"
};
GENERIC_T optlstOptimizer829 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "Dc",
/* help = */ 0
};
Option optlstOptimizer_830 = {
/* names = */ "deadcode",
/* avail = */ OTF_COMPATIBILITY | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer829,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "removal of dead code"
};
GENERIC_T optlstOptimizer826 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "Ds",
/* help = */ 0
};
Option optlstOptimizer_827 = {
/* names = */ "deadstore",
/* avail = */ OTF_COMPATIBILITY | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer826,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "removal of dead assignments"
};
GENERIC_T optlstOptimizer823 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "Lt",
/* help = */ 0
};
Option optlstOptimizer_824 = {
/* names = */ "lifetimes",
/* avail = */ OTF_COMPATIBILITY | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer823,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "computation of variable lifetimes"
};
GENERIC_T optlstOptimizer820 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "Li",
/* help = */ 0
};
Option optlstOptimizer_821 = {
/* names = */ "loop|loopinvariants",
/* avail = */ OTF_COMPATIBILITY | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer820,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "removal of loop invariants"
};
GENERIC_T optlstOptimizer817 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "Pr",
/* help = */ 0
};
Option optlstOptimizer_818 = {
/* names = */ "prop|propagation",
/* avail = */ OTF_COMPATIBILITY | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer817,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "propagation of constant and copy assignments"
};
GENERIC_T optlstOptimizer814 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "Sr",
/* help = */ 0
};
Option optlstOptimizer_815 = {
/* names = */ "strength",
/* avail = */ OTF_COMPATIBILITY | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer814,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "strength reduction; reducing multiplication by an index variable into addition"
};
Option optlstOptimizer_812 = {
/* names = */ "global",
/* avail = */ OTF_IGNORED | OTF_HIDE_DEFAULT | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ 0,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "global optimization is controlled through '-opt level=X'"
};
GENERIC_T optlstOptimizer810 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "Pe",
/* help = */ 0
};
Option optlstOptimizer_811 = {
/* names = */ "peep|peephole",
/* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer810,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "peephole optimization"
};
GENERIC_T optlstOptimizer807 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "Rc",
/* help = */ 0
};
Option optlstOptimizer_808 = {
/* names = */ "color",
/* avail = */ OTF_COMPATIBILITY | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer807,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "register coloring"
};
GENERIC_T optlstOptimizer804 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "Sh",
/* help = */ 0
};
Option optlstOptimizer_805 = {
/* names = */ "schedule",
/* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer804,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "schedule instructions (see '~~proc')"
};
GENERIC_T optlstOptimizer801 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "S1",
/* help = */ 0
};
Option optlstOptimizer_802 = {
/* names = */ "schedule601",
/* avail = */ OTF_SECRET | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer801,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "-opt schedule, -proc 601"
};
GENERIC_T optlstOptimizer798 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "S3",
/* help = */ 0
};
Option optlstOptimizer_799 = {
/* names = */ "schedule603",
/* avail = */ OTF_SECRET | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer798,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "-opt schedule, -proc 603"
};
GENERIC_T optlstOptimizer795 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "S#",
/* help = */ 0
};
Option optlstOptimizer_796 = {
/* names = */ "schedule603e",
/* avail = */ OTF_SECRET | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer795,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "-opt schedule, -proc 603e"
};
GENERIC_T optlstOptimizer792 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "S4",
/* help = */ 0
};
Option optlstOptimizer_793 = {
/* names = */ "schedule604",
/* avail = */ OTF_SECRET | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer792,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "-opt schedule, -proc 604"
};
GENERIC_T optlstOptimizer789 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "S$",
/* help = */ 0
};
Option optlstOptimizer_790 = {
/* names = */ "schedule604e",
/* avail = */ OTF_SECRET | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer789,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "-opt schedule, -proc 604e"
};
GENERIC_T optlstOptimizer786 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "S7",
/* help = */ 0
};
Option optlstOptimizer_787 = {
/* names = */ "schedule750",
/* avail = */ OTF_SECRET | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer786,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "-opt schedule, -proc 750"
};
GENERIC_T optlstOptimizer783 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "SA",
/* help = */ 0
};
Option optlstOptimizer_784 = {
/* names = */ "schedulealtivec",
/* avail = */ OTF_SECRET | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer783,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "-opt schedule, -proc altivec"
};
GENERIC_T optlstOptimizer780 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "G1PeS1",
/* help = */ 0
};
Option optlstOptimizer_781 = {
/* names = */ "inter|local|unroll",
/* avail = */ OTF_SECRET | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer780,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "opt level=1, peep, schedule=601"
};
GENERIC_T optlstOptimizer777 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetOptFlags,
/* arg = */ (void *) "G2PeS1",
/* help = */ 0
};
Option optlstOptimizer_778 = {
/* names = */ "rep",
/* avail = */ OTF_SECRET | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer777,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "opt level=2, peep, schedule=601"
};
GENERIC_T optlstOptimizer774 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &DisplayOptimizationOptions,
/* arg = */ (void *) 0,
/* help = */ 0
};
Option optlstOptimizer_775 = {
/* names = */ "display|dump",
/* avail = */ OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstOptimizer774,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "display list of active optimizations"
};
Option *optlstOptimizer_869_list[] = {
&optlstOptimizer_868,
&optlstOptimizer_865,
&optlstOptimizer_862,
&optlstOptimizer_859,
&optlstOptimizer_856,
&optlstOptimizer_853,
&optlstOptimizer_848,
&optlstOptimizer_845,
&optlstOptimizer_842,
&optlstOptimizer_839,
&optlstOptimizer_836,
&optlstOptimizer_833,
&optlstOptimizer_830,
&optlstOptimizer_827,
&optlstOptimizer_824,
&optlstOptimizer_821,
&optlstOptimizer_818,
&optlstOptimizer_815,
&optlstOptimizer_812,
&optlstOptimizer_811,
&optlstOptimizer_808,
&optlstOptimizer_805,
&optlstOptimizer_802,
&optlstOptimizer_799,
&optlstOptimizer_796,
&optlstOptimizer_793,
&optlstOptimizer_790,
&optlstOptimizer_787,
&optlstOptimizer_784,
&optlstOptimizer_781,
&optlstOptimizer_778,
&optlstOptimizer_775,
0
};
OptionList optlstOptimizer_869 = {
/* help = */ 0,
/* flags = */ LISTFLAGS_ALLOW_UNKNOWNS | LISTFLAGS_COMPILER,
/* list = */ optlstOptimizer_869_list
};
Option optlstOptimizer_870 = {
/* names = */ "opt",
/* avail = */ OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS,
/* param = */ 0,
/* sub = */ &optlstOptimizer_869,
/* conflicts = */ 0,
/* help = */ "specify optimization options"
};
Option *optlstOptimizer_871_list[] = {
&optlstOptimizer_749,
&optlstOptimizer_772,
&optlstOptimizer_870,
0
};
OptionList optlstOptimizer = {
/* help = */ "Optimizer Options\n\tNote that all options besides '-opt off|on|all|space|speed|level=...' (marked with 'compatibility') are for backwards compatibility or special needs only; other optimization options may be superceded by use of '~~opt level=xxx'.\b",
/* flags = */ LISTFLAGS_COMPILER,
/* list = */ optlstOptimizer_871_list
};

View File

@@ -0,0 +1,320 @@
/* forward declare */ extern OptionList projtype_conflicts;
/* Project */
SET_T optlstProject1012 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 2,
/* value = */ 0x0,
/* num = */ (char *) &pProject.type
};
Option projtype_1013 = {
/* names = */ "app|application",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstProject1012,
/* sub = */ 0,
/* conflicts = */ &projtype_conflicts,
/* help = */ "generate an application bundle; same as '~~xm a'"
};
SET_T optlstProject1015 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 2,
/* value = */ 0x1,
/* num = */ (char *) &pProject.type
};
Option projtype_1016 = {
/* names = */ "exe|executable",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstProject1015,
/* sub = */ 0,
/* conflicts = */ &projtype_conflicts,
/* help = */ "generate an excutable; same as '~~xm e'"
};
SET_T optlstProject1018 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 2,
/* value = */ 0x4,
/* num = */ (char *) &pProject.type
};
Option projtype_1019 = {
/* names = */ "lib|library",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstProject1018,
/* sub = */ 0,
/* conflicts = */ &projtype_conflicts,
/* help = */ "generate a static library; same as '~~xm l'"
};
SET_T optlstProject1021 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 2,
/* value = */ 0x3,
/* num = */ (char *) &pProject.type
};
Option projtype_1022 = {
/* names = */ "obj|object",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstProject1021,
/* sub = */ 0,
/* conflicts = */ &projtype_conflicts,
/* help = */ "generate an object; same as '~~xm o'"
};
SET_T optlstProject1024 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 2,
/* value = */ 0x2,
/* num = */ (char *) &pProject.type
};
Option projtype_1025 = {
/* names = */ "shared|sharedlibrary||shlib",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstProject1024,
/* sub = */ 0,
/* conflicts = */ &projtype_conflicts,
/* help = */ "generate a shared library; same as '~~xm s'"
};
/* forward declare */ extern OptionList optlstProject_1041_conflicts;
SET_T optlstProject1039 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 2,
/* value = */ 0x0,
/* num = */ (char *) &pProject.type
};
Option optlstProject_1041_1040 = {
/* names = */ "a|application",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstProject1039,
/* sub = */ 0,
/* conflicts = */ &optlstProject_1041_conflicts,
/* help = */ "application bundle"
};
SET_T optlstProject1036 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 2,
/* value = */ 0x1,
/* num = */ (char *) &pProject.type
};
Option optlstProject_1041_1037 = {
/* names = */ "e|executable",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstProject1036,
/* sub = */ 0,
/* conflicts = */ &optlstProject_1041_conflicts,
/* help = */ "executable"
};
SET_T optlstProject1033 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 2,
/* value = */ 0x4,
/* num = */ (char *) &pProject.type
};
Option optlstProject_1041_1034 = {
/* names = */ "l|library",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstProject1033,
/* sub = */ 0,
/* conflicts = */ &optlstProject_1041_conflicts,
/* help = */ "static library"
};
SET_T optlstProject1030 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 2,
/* value = */ 0x3,
/* num = */ (char *) &pProject.type
};
Option optlstProject_1041_1031 = {
/* names = */ "o|object",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstProject1030,
/* sub = */ 0,
/* conflicts = */ &optlstProject_1041_conflicts,
/* help = */ "object"
};
SET_T optlstProject1027 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 2,
/* value = */ 0x2,
/* num = */ (char *) &pProject.type
};
Option optlstProject_1041_1028 = {
/* names = */ "s|sharedlibrary",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS,
/* param = */ (PARAM_T *) &optlstProject1027,
/* sub = */ 0,
/* conflicts = */ &optlstProject_1041_conflicts,
/* help = */ "shared library"
};
Option *optlstProject_1041_list[] = {
&optlstProject_1041_1040,
&optlstProject_1041_1037,
&optlstProject_1041_1034,
&optlstProject_1041_1031,
&optlstProject_1041_1028,
0
};
OptionList optlstProject_1041 = {
/* help = */ 0,
/* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_LINKER,
/* list = */ optlstProject_1041_list
};
OptionList optlstProject_1041_conflicts = {
/* help = */ 0,
/* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_LINKER,
/* list = */ optlstProject_1041_list
};
Option projtype_1042 = {
/* names = */ "xm",
/* avail = */ OTF_TOOL_LINKER | OTF_HAS_SUB_OPTIONS | OTF_HAS_CONFLICTS,
/* param = */ 0,
/* sub = */ &optlstProject_1041,
/* conflicts = */ &projtype_conflicts,
/* help = */ "specify project type"
};
FTYPE_T optlstProject1043 = {
/* which = */ PARAMWHICH_FTypeCreator,
/* flags = */ 0x00,
/* myname = */ "creator",
/* next = */ 0,
/* fc = */ &pProject.filecreator,
/* iscreator = */ 30
};
SET_T optlstProject1046 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstProject1043,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pCLTExtras.userSetCreator
};
Option optlstProject_1047 = {
/* names = */ "fc",
/* avail = */ OTF_TOOL_LINKER,
/* param = */ (PARAM_T *) &optlstProject1046,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "specify output file creator; not used with static libs and MPW tools"
};
FTYPE_T optlstProject1048 = {
/* which = */ PARAMWHICH_FTypeCreator,
/* flags = */ 0x00,
/* myname = */ "type",
/* next = */ 0,
/* fc = */ &pProject.filetype,
/* iscreator = */ 156
};
SET_T optlstProject1051 = {
/* which = */ PARAMWHICH_Set,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ (PARAM_T *) &optlstProject1048,
/* size = */ 1,
/* value = */ 0x1,
/* num = */ (char *) &pCLTExtras.userSetType
};
Option optlstProject_1052 = {
/* names = */ "ft",
/* avail = */ OTF_ONLY_ONCE | OTF_TOOL_LINKER,
/* param = */ (PARAM_T *) &optlstProject1051,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "specify output file type; not used with static libs and MPW tools"
};
NUM_T optlstProject1054 = {
/* which = */ PARAMWHICH_Number,
/* flags = */ 0x00,
/* myname = */ 0,
/* next = */ 0,
/* size = */ 4,
/* fit = */ 0,
/* lo = */ 0,
/* hi = */ 0,
/* num = */ &pProject.stackaddress
};
Option optlstProject_1055 = {
/* names = */ "stackaddr",
/* avail = */ OTF_HIDE_DEFAULT | OTF_TOOL_LINKER,
/* param = */ (PARAM_T *) &optlstProject1054,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "specify stack address; default is 0"
};
NUM_T optlstProject1057 = {
/* which = */ PARAMWHICH_Number,
/* flags = */ 0x00,
/* myname = */ "kB",
/* next = */ 0,
/* size = */ 4,
/* fit = */ 0,
/* lo = */ 0,
/* hi = */ 0,
/* num = */ &pProject.stacksize
};
Option optlstProject_1058 = {
/* names = */ "stacksize",
/* avail = */ OTF_HIDE_DEFAULT | OTF_TOOL_LINKER,
/* param = */ (PARAM_T *) &optlstProject1057,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "specify stack size in kilobytes default is kDefaultStackSize (i.e., determined by loader)"
};
Option *optlstProject_1059_list[] = {
&projtype_1013,
&projtype_1016,
&projtype_1019,
&projtype_1022,
&projtype_1025,
&projtype_1042,
&optlstProject_1047,
&optlstProject_1052,
&optlstProject_1055,
&optlstProject_1058,
0
};
OptionList optlstProject = {
/* help = */ "Mach-O PowerPC Project Options\n",
/* flags = */ LISTFLAGS_LINKER,
/* list = */ optlstProject_1059_list
};
Option *projtype_000_list[] = {
&projtype_1013,
&projtype_1016,
&projtype_1019,
&projtype_1022,
&projtype_1025,
&projtype_1042,
0
};
OptionList projtype_conflicts = {
/* help = */ 0,
/* flags = */ 0,
/* list = */ projtype_000_list
};

View File

@@ -0,0 +1,583 @@
/* WarningC */
GENERIC_T optlstWarningC659 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "IpEdPuUvUaEcPdHvIcNiCw",
/* help = */ 0
};
Option optlstWarningC_660 = {
/* names = */ "1",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC659,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as ~~w on"
};
GENERIC_T optlstWarningC656 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "IpEdPuUvUaEcPdHvIcNiCpLaScCw",
/* help = */ 0
};
Option optlstWarningC_657 = {
/* names = */ "2",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC656,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as ~~w all"
};
GENERIC_T optlstWarningC653 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "IpEdPuUvUaEcPdHvIcNiCw-UvUa",
/* help = */ 0
};
Option optlstWarningC_654 = {
/* names = */ "3",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC653,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as ~~w on,nounused"
};
Option *optlstWarningC_661_list[] = {
&optlstWarningC_660,
&optlstWarningC_657,
&optlstWarningC_654,
0
};
OptionList optlstWarningC_661 = {
/* help = */ 0,
/* flags = */ LISTFLAGS_COMPILER,
/* list = */ optlstWarningC_661_list
};
Option optlstWarningC_662 = {
/* names = */ "w",
/* avail = */ OTF_GLOBAL | OTF_STICKY | OTF_CASED | OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS,
/* param = */ 0,
/* sub = */ &optlstWarningC_661,
/* conflicts = */ 0,
/* help = */ "compatibility warning options"
};
GENERIC_T optlstWarningC727 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "Cw",
/* help = */ 0
};
Option optlstWarningC_728 = {
/* names = */ "options|cmdline",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstWarningC727,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "command-line parser warnings"
};
GENERIC_T optlstWarningC724 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "-IpEdPuUvUaEcPdHvIcNiCpLaScWeCw|Nw",
/* help = */ 0
};
Option optlstWarningC_725 = {
/* names = */ "off",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstWarningC724,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "turn off all warnings"
};
GENERIC_T optlstWarningC721 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "IpEdPuUvUaEcPdHvIcNiCw",
/* help = */ 0
};
Option optlstWarningC_722 = {
/* names = */ "on",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstWarningC721,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "turn on most warnings, except 'largeargs' and 'structclass'"
};
GENERIC_T optlstWarningC718 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "IpEdPuUvUaEcPdHvIcNiCw",
/* help = */ 0
};
Option optlstWarningC_719 = {
/* names = */ "conformance|usage",
/* avail = */ OTF_GLOBAL | OTF_SECRET | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC718,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as '-w on'"
};
GENERIC_T optlstWarningC715 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "IpEdPuUvUaEcPdHvIcNiCpLaScCw",
/* help = */ 0
};
Option optlstWarningC_716 = {
/* names = */ "all|full",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC715,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "turn on all warnings, require prototypes"
};
GENERIC_T optlstWarningC712 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "We",
/* help = */ 0
};
Option optlstWarningC_713 = {
/* names = */ "err|error|iserr|iserror",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstWarningC712,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "warnings are errors"
};
GENERIC_T optlstWarningC709 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "Ip",
/* help = */ 0
};
Option optlstWarningC_710 = {
/* names = */ "pragmas|illpragmas",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC709,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "illegal #pragmas"
};
GENERIC_T optlstWarningC706 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "Ed",
/* help = */ 0
};
Option optlstWarningC_707 = {
/* names = */ "empty|emptydecl",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC706,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "empty declarations"
};
GENERIC_T optlstWarningC703 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "Pu",
/* help = */ 0
};
Option optlstWarningC_704 = {
/* names = */ "possible|unwanted",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC703,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "possible unwanted effects"
};
GENERIC_T optlstWarningC700 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "UaUv",
/* help = */ 0
};
Option optlstWarningC_701 = {
/* names = */ "unused",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC700,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "unused arguments and variables"
};
GENERIC_T optlstWarningC697 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "Ua",
/* help = */ 0
};
Option optlstWarningC_698 = {
/* names = */ "unusedarg",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC697,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "unused arguments"
};
GENERIC_T optlstWarningC694 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "Uv",
/* help = */ 0
};
Option optlstWarningC_695 = {
/* names = */ "unusedvar",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC694,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "unused variables"
};
GENERIC_T optlstWarningC691 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "UaUv",
/* help = */ 0
};
Option optlstWarningC_692 = {
/* names = */ "unused",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC691,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as ~~w [no]unusedarg,[no]unusedvar"
};
GENERIC_T optlstWarningC688 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "Ec",
/* help = */ 0
};
Option optlstWarningC_689 = {
/* names = */ "extracomma|comma",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC688,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "extra commas"
};
GENERIC_T optlstWarningC685 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "Pd",
/* help = */ 0
};
Option optlstWarningC_686 = {
/* names = */ "pedantic|extended",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC685,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "pedantic error checking"
};
GENERIC_T optlstWarningC682 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "Hv",
/* help = */ 0
};
Option optlstWarningC_683 = {
/* names = */ "hidevirtual|hidden|hiddenvirtual",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC682,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "hidden virtual functions"
};
GENERIC_T optlstWarningC679 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "Ic",
/* help = */ 0
};
Option optlstWarningC_680 = {
/* names = */ "implicit|implicitconv",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC679,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "implicit arithmetic conversions"
};
GENERIC_T optlstWarningC676 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "Ni",
/* help = */ 0
};
Option optlstWarningC_677 = {
/* names = */ "notinlined",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC676,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "'inline' functions not inlined"
};
GENERIC_T optlstWarningC673 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "La",
/* help = */ 0
};
Option optlstWarningC_674 = {
/* names = */ "largeargs",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC673,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "passing large arguments to unprototyped functions"
};
GENERIC_T optlstWarningC670 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "Sc",
/* help = */ 0
};
Option optlstWarningC_671 = {
/* names = */ "structclass",
/* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC670,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "inconsistent use of 'class' and 'struct'"
};
GENERIC_T optlstWarningC667 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "-IpEdPuUvUaEcPdHvIcNiCpLaScCw|Nw",
/* help = */ 0
};
Option optlstWarningC_668 = {
/* names = */ "",
/* avail = */ OTF_GLOBAL | OTF_WARNING | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC667,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "Option 'w' deprecated, use 'w off' instead;\r'w' not passed to linker;\rparse error will occur if a non-option follows"
};
GENERIC_T optlstWarningC664 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &DisplayWarningOptions,
/* arg = */ (void *) 0,
/* help = */ 0
};
Option optlstWarningC_665 = {
/* names = */ "display|dump",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER,
/* param = */ (PARAM_T *) &optlstWarningC664,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "display list of active warnings"
};
Option *optlstWarningC_729_list[] = {
&optlstWarningC_728,
&optlstWarningC_725,
&optlstWarningC_722,
&optlstWarningC_719,
&optlstWarningC_716,
&optlstWarningC_713,
&optlstWarningC_710,
&optlstWarningC_707,
&optlstWarningC_704,
&optlstWarningC_701,
&optlstWarningC_698,
&optlstWarningC_695,
&optlstWarningC_692,
&optlstWarningC_689,
&optlstWarningC_686,
&optlstWarningC_683,
&optlstWarningC_680,
&optlstWarningC_677,
&optlstWarningC_674,
&optlstWarningC_671,
&optlstWarningC_668,
&optlstWarningC_665,
0
};
OptionList optlstWarningC_729 = {
/* help = */ 0,
/* flags = */ LISTFLAGS_ALLOW_UNKNOWNS | LISTFLAGS_COMPILER,
/* list = */ optlstWarningC_729_list
};
Option optlstWarningC_730 = {
/* names = */ "w|warnings",
/* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS,
/* param = */ 0,
/* sub = */ &optlstWarningC_729,
/* conflicts = */ 0,
/* help = */ "warning options"
};
GENERIC_T optlstWarningC732 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "IpPuHvEd",
/* help = */ 0
};
Option optlstWarningC_733 = {
/* names = */ "Wmost",
/* avail = */ OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstWarningC732,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "turn on pragmas, emptydecl, possible, hidevirtual"
};
GENERIC_T optlstWarningC735 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "IpEdPuUvUaEcPdHvIcNiCpLaSc",
/* help = */ 0
};
Option optlstWarningC_736 = {
/* names = */ "Wall",
/* avail = */ OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstWarningC735,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as -w all"
};
GENERIC_T optlstWarningC738 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "We",
/* help = */ 0
};
Option optlstWarningC_739 = {
/* names = */ "Werror",
/* avail = */ OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstWarningC738,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as -w iserror"
};
GENERIC_T optlstWarningC741 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "UaUv",
/* help = */ 0
};
Option optlstWarningC_742 = {
/* names = */ "Wunused",
/* avail = */ OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstWarningC741,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "same as -w unusedarg,unusedvar"
};
GENERIC_T optlstWarningC744 = {
/* which = */ PARAMWHICH_Generic,
/* flags = */ 0x01,
/* myname = */ 0,
/* next = */ 0,
/* parse = */ &SetWarningFlags,
/* arg = */ (void *) "-UaUv",
/* help = */ 0
};
Option optlstWarningC_745 = {
/* names = */ "Wno-unused",
/* avail = */ OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER,
/* param = */ (PARAM_T *) &optlstWarningC744,
/* sub = */ 0,
/* conflicts = */ 0,
/* help = */ "turns off -w unusedarg,unusedvar"
};
Option *optlstWarningC_746_list[] = {
&optlstWarningC_662,
&optlstWarningC_730,
&optlstWarningC_733,
&optlstWarningC_736,
&optlstWarningC_739,
&optlstWarningC_742,
&optlstWarningC_745,
0
};
OptionList optlstWarningC = {
/* help = */ "Warning Options\n",
/* flags = */ LISTFLAGS_COMPILER | LISTFLAGS_LINKER | LISTFLAGS_DISASSEMBLER,
/* list = */ optlstWarningC_746_list
};

View File

@@ -0,0 +1,137 @@
#include "cmdline.h"
#include "parser.h"
#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-common.h"
static Boolean useDefaultIncludes = 1;
static Boolean useDefaultLibraries = 1;
#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsCmdLine.opt"
#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsCmdLineCompiler.opt"
#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsCmdLineLinker.opt"
#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsFrontEndC.opt"
#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsDebugging.opt"
#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsOptimizer.opt"
#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsWarningC.opt"
#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsBackEnd.opt"
#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsProject.opt"
#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsLinker.opt"
#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsDumper.opt"
char *prefs[] = {
"PPC CodeGen Mach-O",
"PPC Mach-O Linker",
"PPC Mach-O Target",
"PPC Disassembler",
"PPC Global Optimizer",
"C/C++ Compiler",
"C/C++ Warnings",
"CmdLine Panel",
"CmdLine Compiler Panel",
"CmdLine Linker Panel"
};
OptionList *optLists[] = {
&optlstCmdLine,
&optlstCmdLineCompiler,
&optlstFrontEndC,
&optlstBackEnd,
&optlstOptimizer,
&optlstDebugging,
&optlstWarningC,
&optlstProject,
&optlstCmdLineLinker,
&optlstLinker,
&optlstDumper
};
static PrefDataPanel stPrefPanels[] = {
"PPC CodeGen Mach-O", &pBackEnd, sizeof(pBackEnd),
"PPC Mach-O Linker", &pLinker, sizeof(pLinker),
"PPC Mach-O Target", &pProject, sizeof(pProject),
"PPC Disassembler", &pDisassembler, sizeof(pDisassembler),
"PPC Global Optimizer", &pGlobalOptimizer, sizeof(pGlobalOptimizer),
"C/C++ Compiler", &pFrontEndC, sizeof(pFrontEndC),
"C/C++ Warnings", &pWarningC, sizeof(pWarningC),
"CmdLine Panel", &pCmdLine, sizeof(pCmdLine),
"CmdLine Compiler Panel", &pCmdLineCompiler, sizeof(pCmdLineCompiler),
"CmdLine Linker Panel", &pCmdLineLinker, sizeof(pCmdLineLinker)
};
static int PreParse() {
setLinkerOutputFilename = 0;
linkerOutputFilename[0] = 0;
definesHandle = NULL;
useDefaultIncludes = 1;
schedule_ppc_default = 0;
return 1;
}
static int MidParse() {
const char *match;
const char *env;
if (!pCmdLine.state)
pCmdLine.state = OptsCmdLineState_2;
if (parseopts.possibleFiles > 0 && useDefaultIncludes) {
if ((env = GetEnvVar("MWCMachPPCIncludes", 1, &match))) {
// FIXME can probably get rid of this cast later
if (!AddAccessPathList(env, ':', ',', 1, (char *) match, 1, -1, 0))
return 0;
}
}
return 1;
}
static int PostParse() {
if (!SetupPragmas(irPragmas) || !SetupPragmas(warningPragmas))
return 0;
if (definesHandle) {
static const char *name = "(command-line defines)";
if (pCmdLine.verbose)
ShowTextHandle(name, definesHandle);
AddVirtualFile(name, &definesHandle);
c2pstrcpy(pFrontEndC.oldprefixname, name);
} else {
pFrontEndC.oldprefixname[0] = 0;
}
FinishCompilerTool();
if (!ValidateToolState(1))
return 0;
if (linkerOutputFilename[0]) {
Arg_AddToToolArgs(&linkargs, ATK_ARG_END, NULL);
Arg_AddToToolArgs(&linkargs, ATK_ARG, "-o");
Arg_AddToToolArgs(&linkargs, ATK_ARG_END, NULL);
Arg_AddToToolArgs(&linkargs, ATK_ARG, linkerOutputFilename);
Arg_AddToToolArgs(&linkargs, ATK_ARG_END, NULL);
}
return 1;
}
static ParserTool parser = {
CWDROPINCOMPILERTYPE,
Lang_C_CPP,
targetCPUPowerPC,
CWFOURCHAR('R','h','a','p'),
10,
prefs,
"Metrowerks C/C++ Compiler for Mach-O/PPC",
"1993-2000",
11,
optLists,
10,
stPrefPanels,
&PreParse,
&MidParse,
&PostParse
};
int RegisterStaticParserToolInfo() {
return SetParserToolInfo(&parser);
}

View File

@@ -0,0 +1,147 @@
PCmdLine pCmdLine = {
0x1002,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2
};
PCmdLineCompiler pCmdLineCompiler = {
0x1005,
0,
0,
0,
"",
"",
"",
"",
"",
"",
"",
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
"",
0,
0,
0,
0,
"",
0,
1
};
PCmdLineLinker pCmdLineLinker = {
0x1001,
1,
1
};
PFrontEndC pFrontEndC = { // compiler only?
0xC,
0,
0,
0,
0,
0,
1,
0,
"",
0,
0,
0,
1,
0,
0,
0,
1,
0,
0,
0,
1
};
PWarningC pWarningC = { // compiler only?
4
};
PGlobalOptimizer pGlobalOptimizer = { // compiler only?
1,
2
};
PBackEnd pBackEnd = {
1,
2,
0,
0,
1,
0,
1,
1,
1,
0,
0,
1,
0,
0,
1,
1,
0,
1
};
PDisassembler pDisassembler = {
1,
1,
1,
0,
0,
1,
1,
0,
1
};
PMachOLinker pLinker = {
1,
0,
0,
0,
0,
1,
0,
0,
1,
0,
0,
0,
0,
2
};
PMachOProject pProject = {
1,
1,
"",
CWFOURCHAR('?','?','?','?'),
CWFOURCHAR('M','E','X','E'),
0x40
};
PCLTExtras pCLTExtras = {
1
};

View File

@@ -0,0 +1,84 @@
#include "parser.h"
// I'm making assumptions about the name of this file
// based on TargetWarningHelpers-ppc-ld.c existing in the linker
PExtraWarningC pExtraWarningC = {0};
Pragma warningPragmas[] = {
&pExtraWarningC.warn_largeargs, "warn_largeargs", 0,
&pExtraWarningC.warn_padding, "warn_padding", 0,
&pExtraWarningC.warn_resultnotused, "warn_resultnotused", 0,
&pExtraWarningC.warn_ptr_int_conv, "warn_ptr_int_conv", 0,
&pExtraWarningC.warn_no_side_effect, "warn_no_side_effect", 0,
0, 0, 0
};
int TargetSetWarningFlags(short val, Boolean set) {
switch (val) {
case 'Ip': pWarningC.warn_illpragma = set; break;
case 'Ed': pWarningC.warn_emptydecl = set; break;
case 'Pu': pWarningC.warn_possunwant = set; break;
case 'Uv': pWarningC.warn_unusedvar = set; break;
case 'Ua': pWarningC.warn_unusedarg = set; break;
case 'Ec': pWarningC.warn_extracomma = set; break;
case 'Pe': pWarningC.pedantic = set; break;
case 'Hv': pWarningC.warn_hidevirtual = set; break;
case 'Ic': pWarningC.warn_implicitconv = set; break;
case 'Ni': pWarningC.warn_notinlined = set; break;
case 'Sc': pWarningC.warn_structclass = set; break;
case 'Pa': pExtraWarningC.warn_padding = set ? 1 : 2; break;
case 'Nu': pExtraWarningC.warn_resultnotused = set ? 1 : 2; break;
case 'Se': pExtraWarningC.warn_no_side_effect = set ? 1 : 2; break;
case 'PI': pExtraWarningC.warn_ptr_int_conv = set ? 1 : 2; break;
case 'La': pExtraWarningC.warn_largeargs = set ? 1 : 2; break;
case 'We': pWarningC.warningerrors = set; break;
case 'Cp': pFrontEndC.checkprotos = set; break;
default: return 0;
}
return 1;
}
void TargetDisplayWarningOptions(Handle txt) {
HPrintF(txt, "C language warning options:\n");
if (pWarningC.warn_illpragma)
HPrintF(txt, "\t- illegal pragmas\n");
if (pWarningC.warn_emptydecl)
HPrintF(txt, "\t- empty declarations\n");
if (pWarningC.warn_possunwant)
HPrintF(txt, "\t- possible unwanted effects\n");
if (pWarningC.warn_unusedvar)
HPrintF(txt, "\t- unused variables\n");
if (pWarningC.warn_unusedarg)
HPrintF(txt, "\t- unused arguments\n");
if (pWarningC.warn_extracomma)
HPrintF(txt, "\t- extra commas\n");
if (pWarningC.pedantic)
HPrintF(txt, "\t- pedantic\n");
if (pWarningC.warn_hidevirtual)
HPrintF(txt, "\t- hidden virtual functions\n");
if (pWarningC.warn_implicitconv)
HPrintF(txt, "\t- implicit conversions\n");
if (pWarningC.warn_notinlined)
HPrintF(txt, "\t- 'inline' not performed\n");
if (pWarningC.warn_structclass)
HPrintF(txt, "\t- struct/class conflict\n");
if (pExtraWarningC.warn_largeargs)
HPrintF(txt, "\t- large args passed to unprototyped functions\n");
if (pExtraWarningC.warn_padding)
HPrintF(txt, "\t- padding added between struct members\n");
if (pExtraWarningC.warn_resultnotused)
HPrintF(txt, "\t- result of non-void function call not used\n");
if (pExtraWarningC.warn_no_side_effect)
HPrintF(txt, "\t- use of expressions as statements without side effects\n");
if (pExtraWarningC.warn_ptr_int_conv)
HPrintF(txt, "\t- implicit integer/pointer conversions\n");
if (pFrontEndC.checkprotos)
HPrintF(txt, "\t- checking prototypes\n");
if (pWarningC.warningerrors)
HPrintF(txt, "\t- warnings are errors\n");
else
HPrintF(txt, "\t- warnings are not errors\n");
}

View File

@@ -0,0 +1,582 @@
#include "cmdline.h"
extern CWPLUGIN_ENTRY(MWC_main)(CWPluginContext context);
CWPLUGIN_ENTRY (CWPlugin_GetDropInFlags)(const DropInFlags **flags, SInt32 *flagsSize) {
static const DropInFlags sFlags = {
kCurrentDropInFlagsVersion,
CWDROPINCOMPILERTYPE,
DROPINCOMPILERLINKERAPIVERSION_8,
kGeneratescode | kCanpreprocess | kCanprecompile | kCompAllowDupFileNames,
Lang_C_CPP,
DROPINCOMPILERLINKERAPIVERSION_12
};
*flags = &sFlags;
*flagsSize = sizeof(sFlags);
return 0;
}
CWPLUGIN_ENTRY (CWPlugin_GetTargetList)(const CWTargetList **targetList) {
static CWDataType sCPU[1] = {targetCPUPowerPC};
static CWDataType sOS[1] = {CWFOURCHAR('R','h','a','p')};
static CWTargetList sTargetList = {
kCurrentCWTargetListVersion,
1,
sCPU,
1,
sOS
};
*targetList = &sTargetList;
return 0;
}
CWPLUGIN_ENTRY (CWPlugin_GetDropInName)(const char **dropinName) {
static const char *sDropInName = "MW C/C++ Mach-O PPC";
*dropinName = sDropInName;
return 0;
}
CWPLUGIN_ENTRY (CWPlugin_GetDisplayName)(const char **displayName) {
static const char *sDisplayName = "Mach-O PPC";
*displayName = sDisplayName;
return 0;
}
CWPLUGIN_ENTRY (CWPlugin_GetDefaultMappingList)(const CWExtMapList **defaultMappingList) {
static CWExtensionMapping sExtension[10] = {
CWFOURCHAR('T','E','X','T'), ".c", 0,
CWFOURCHAR('T','E','X','T'), ".c++", 0,
CWFOURCHAR('T','E','X','T'), ".cc", 0,
CWFOURCHAR('T','E','X','T'), ".cp", 0,
CWFOURCHAR('T','E','X','T'), ".cpp", 0,
CWFOURCHAR('T','E','X','T'), ".h", kIgnored,
CWFOURCHAR('T','E','X','T'), ".h++", kIgnored,
CWFOURCHAR('T','E','X','T'), ".hpp", kIgnored,
CWFOURCHAR('T','E','X','T'), ".pch", kPrecompile,
CWFOURCHAR('T','E','X','T'), ".pch++", kPrecompile
};
static CWExtMapList sExtensionMapList = {
kCurrentCWExtMapListVersion,
10,
sExtension
};
*defaultMappingList = &sExtensionMapList;
return 0;
}
CWPLUGIN_ENTRY (CWPlugin_GetPanelList)(const CWPanelList **panelList) {
static const char *sPanelNames[4] = {
"C/C++ Compiler",
"C/C++ Warnings",
"PPC Global Optimizer",
"PPC CodeGen Mach-O"
};
static CWPanelList sPanelList = {
kCurrentCWPanelListVersion,
4,
sPanelNames
};
*panelList = &sPanelList;
return 0;
}
static CWPLUGIN_ENTRY (CmdLine_GetObjectFlags)(const CWObjectFlags **objectFlags) {
static const CWObjectFlags sFlags = {
2,
0x80000000,
".o",
".b",
".i",
".s",
".d",
"mch",
CWFOURCHAR('C','W','I','E'), CWFOURCHAR('M','P','L','F'),
CWFOURCHAR('C','W','I','E'), CWFOURCHAR('B','R','W','S'),
CWFOURCHAR('C','W','I','E'), CWFOURCHAR('T','E','X','T'),
CWFOURCHAR('C','W','I','E'), CWFOURCHAR('T','E','X','T'),
CWFOURCHAR('C','W','I','E'), CWFOURCHAR('T','E','X','T')
};
*objectFlags = &sFlags;
return 0;
}
static CWPLUGIN_ENTRY (CWPlugin_GetVersionInfo)(const VersionInfo **versionInfo) {
static const VersionInfo vi = {
2, 4, 5, 0
};
*versionInfo = &vi;
return 0;
}
static CWPLUGIN_ENTRY (CWPlugin_GetFileTypeMappings)(const OSFileTypeMappingList **mappings) {
static const OSFileTypeMapping ftmes[2] = {
CWFOURCHAR('M','M','C','H'), "\xBE\xEF\xFA\xCE", 4, 0, NULL,
CWFOURCHAR('M','M','C','H'), "\xCE\xFA\xEF\xBE", 4, 0, NULL
};
static const OSFileTypeMappingList ftml = {
2, ftmes
};
*mappings = &ftml;
return 0;
}
static BasePluginCallbacks plugin_cb = {
MWC_main,
CWPlugin_GetDropInFlags,
CWPlugin_GetDisplayName,
CWPlugin_GetDropInName,
CWPlugin_GetPanelList,
NULL,
NULL,
CWPlugin_GetVersionInfo,
CWPlugin_GetFileTypeMappings
};
static CompilerLinkerPluginCallbacks plugin_cl_cb = {
CWPlugin_GetTargetList,
CWPlugin_GetDefaultMappingList,
NULL,
NULL,
CmdLine_GetObjectFlags,
NULL
};
static CWPLUGIN_ENTRY (Linker_GetDropInFlags)(const DropInFlags **flags, SInt32 *flagsSize) {
static const DropInFlags sFlags = {
kCurrentDropInFlagsVersion,
CWDROPINLINKERTYPE,
DROPINCOMPILERLINKERAPIVERSION_8,
1,
CWFOURCHAR('*','*','*','*'),
DROPINCOMPILERLINKERAPIVERSION_12
};
*flags = &sFlags;
*flagsSize = sizeof(sFlags);
return 0;
}
static CWPLUGIN_ENTRY (Linker_GetDropInName)(const char **dropinName) {
*dropinName = "Mach-O PPC Linker";
return 0;
}
static CWPLUGIN_ENTRY (Linker_GetDisplayName)(const char **displayName) {
*displayName = "Linker Tool Stub";
return 0;
}
static CWPLUGIN_ENTRY (Linker_GetPanelList)(const CWPanelList **panelList) {
static const char *sPanelNames[3] = {
"PPC Mach-O Linker",
"PPC Mach-O Target",
"PPC Disassembler"
};
static CWPanelList sPanelList = {
kCurrentCWPanelListVersion,
3,
sPanelNames
};
*panelList = &sPanelList;
return 0;
}
static CWPLUGIN_ENTRY (Linker_GetTargetList)(const CWTargetList **targetList) {
static CWDataType sCPU[1] = {targetCPUPowerPC};
static CWDataType sOS[1] = {CWFOURCHAR('R','h','a','p')};
static CWTargetList sTargetList = {
kCurrentCWTargetListVersion,
1,
sCPU,
1,
sOS
};
*targetList = &sTargetList;
return 0;
}
static CWPLUGIN_ENTRY (Linker_GetDefaultMappingList)(const CWExtMapList **defaultMappingList) {
static CWExtensionMapping sExtension[8] = {
CWFOURCHAR('A','P','P','L'), "", kLaunchable | kRsrcfile,
CWFOURCHAR('A','p','p','l'), "", kLaunchable | kRsrcfile,
CWFOURCHAR('M','W','C','D'), "", kLaunchable | kRsrcfile,
CWFOURCHAR('R','S','R','C'), "", kLaunchable | kRsrcfile,
CWFOURCHAR('r','s','r','c'), "", kLaunchable | kRsrcfile,
CWFOURCHAR('d','o','c','u'), "", kLaunchable | kRsrcfile,
0, ".rsrc", kLaunchable | kRsrcfile,
0, ".doc", kLaunchable | kIgnored
};
static CWExtMapList sExtensionMapList = {
kCurrentCWExtMapListVersion,
8,
sExtension
};
*defaultMappingList = &sExtensionMapList;
return 0;
}
static BasePluginCallbacks lk_cb = {
NULL,
Linker_GetDropInFlags,
Linker_GetDisplayName,
Linker_GetDropInName,
Linker_GetPanelList,
NULL,
NULL,
CWPlugin_GetVersionInfo,
NULL
};
static CompilerLinkerPluginCallbacks lk_cl_cb = {
Linker_GetTargetList,
Linker_GetDefaultMappingList,
NULL,
NULL,
NULL,
NULL
};
int RegisterStaticCompilerPlugin() {
return RegisterStaticCompilerLinkerPlugin(&plugin_cb, &plugin_cl_cb) && RegisterStaticCompilerLinkerPlugin(&lk_cb, &lk_cl_cb);
}
// This is going to be in some .r file, but I'm not sure which
static const char *STR10000[] = {
"illegal character constant",
"illegal string constant",
"unexpected end of file",
"unterminated comment",
"undefined preprocessor directive",
"illegal token",
"string too long",
"identifier expected",
"macro '%u' redefined",
"illegal argument list",
"too many macro arguments",
"macro(s) too complex",
"unexpected end of line",
"end of line expected",
"'(' expected",
"')' expected",
"',' expected",
"preprocessor syntax error",
"preceding #if is missing",
"unterminated #if / macro",
"unexpected token",
"declaration syntax error",
"identifier '%u' redeclared",
"';' expected",
"illegal constant expression",
"']' expected",
"illegal use of 'void'",
"illegal function definition",
"illegal function return type",
"illegal array definition",
"'}' expected",
"illegal struct/union/enum/class definition",
"struct/union/enum/class tag '%u' redefined",
"struct/union/class member '%u' redefined",
"declarator expected",
"'{' expected",
"illegal use of incomplete struct/union/class '%t'",
"struct/union/class size exceeds 32K",
"illegal bitfield declaration",
"division by 0",
"undefined identifier '%u'",
"expression syntax error",
"not an lvalue",
"illegal operation",
"illegal operand",
"data type is incomplete",
"illegal type",
"too many initializers",
"pointer/array required",
"not a struct/union/class",
"'%u' is not a struct/union/class member",
"the file '%u' cannot be opened",
"illegal instruction for this processor",
"illegal operands for this processor",
"number is out of range",
"illegal addressing mode",
"illegal data size",
"illegal register list",
"branch out of range",
"undefined label '%u'",
"reference to label '%u' is out of range",
"call of non-function",
"function call does not match prototype",
"illegal use of register variable",
"illegal type cast",
"function already has a stackframe",
"function has no initialized stackframe",
"value is not stored in register",
"function nesting too complex",
"illegal use of keyword",
"':' expected",
"label '%u' redefined",
"case constant defined more than once",
"default label defined more than once",
"illegal initialization",
"illegal use of inline function",
"illegal type qualifier(s)",
"illegal storage class",
"function has no prototype",
"illegal assignment to constant",
"illegal use of precompiled header",
"illegal data in precompiled header",
"variable / argument '%u' is not used in function",
"illegal use of direct parameters",
"return value expected",
"variable '%u' is not initialized before being used",
"illegal #pragma",
"illegal access to protected/private member",
"ambiguous access to class/struct/union member",
"illegal use of 'this'",
"unimplemented C++ feature",
"illegal use of 'HandleObject'",
"illegal access qualifier",
"illegal 'operator' declaration",
"illegal use of abstract class ('%o')",
"illegal use of pure function",
"illegal '&' reference",
"illegal function overloading",
"illegal operator overloading",
"ambiguous access to overloaded function ",
"illegal access/using declaration",
"illegal 'friend' declaration",
"illegal 'inline' function definition",
"class has no default constructor",
"illegal operator",
"illegal default argument(s)",
"possible unwanted ';'",
"possible unwanted assignment",
"possible unwanted compare",
"illegal implicit conversion from '%t' to",
"'%t'",
"local data >32k",
"illegal jump past initializer",
"illegal ctor initializer",
"cannot construct %t's base class '%t'",
"cannot construct %t's direct member '%u'",
"#if nesting overflow",
"illegal empty declaration",
"illegal implicit enum conversion from '%t' to",
"'%t'",
"illegal use of #pragma parameter",
"virtual functions cannot be pascal functions",
"illegal implicit const/volatile pointer conversion from '%t' to",
"'%t'",
"illegal use of non-static member",
"illegal precompiled header version",
"illegal precompiled header compiler flags or target",
"'const' or '&' variable needs initializer",
"'%o' hides inherited virtual function '%o'",
"pascal function cannot be overloaded",
"derived function differs from virtual base function in return type only",
"non-const '&' reference initialized to temporary",
"illegal template declaration",
"'<' expected",
"'>' expected",
"illegal template argument(s)",
"cannot instantiate '%o'",
"template redefined",
"template parameter mismatch",
"cannot pass const/volatile data object to non-const/volatile member function",
"preceding '#pragma push' is missing",
"illegal explicit template instantiation",
"illegal X::X(X) copy constructor",
"function defined 'inline' after being called",
"illegal constructor/destructor declaration",
"'catch' expected",
"#include nesting overflow",
"cannot convert",
"'%t' to",
"'%t'",
"type mismatch",
"'%t' and",
"'%t'",
"class type expected",
"illegal explicit conversion from '%t' to",
"'%t'",
"function call '*' does not match",
"identifier '%u' redeclared",
"was declared as: '%t'",
"now declared as: '%t'",
"cannot throw class with ambiguous base class ('%u')",
"class '%t': '%o' has more than one final overrider:",
"'%o'",
"and '%o'",
"exception handling option is disabled",
"cannot delete pointer to const",
"cannot destroy const object",
"const member '%u' is not initialized",
"'&' reference member '%u' is not initialized",
"RTTI option is disabled",
"constness casted away",
"illegal const/volatile '&' reference initialization",
"inconsistent linkage: 'extern' object redeclared as 'static'",
"unknown assembler instruction mnemonic",
"local data > 224 bytes",
"'%u' could not be assigned to a register",
"illegal exception specification",
"exception specification list mismatch",
"the parameter(s) of the '%n' function must be immediate value(s)",
"SOM classes can only inherit from other SOM based classes",
"SOM classes inhertiance must be virtual",
"SOM class data members must be private",
"illegal SOM function overload '%o'",
"no static members allowed in SOM classes",
"no parameters allowed in SOM class constructors",
"illegal SOM function parameters or return type",
"SOM runtime function '%u' not defined (should be defined in somobj.hh)",
"SOM runtime function '%u' has unexpected type",
"'%u' is not a SOM class",
"illegal use of #pragma outside of SOM class definition",
"introduced method '%o' is not specified in release order list",
"SOM class access qualification only allowed to direct parent or own class",
"SOM class must have one non-inline member function",
"SOM type '%u' undefined",
"new SOM callstyle method '%o' must have explicit 'Environment *' parameter",
"functions cannot return SOM classes",
"functions cannot have SOM class arguments",
"assignment is not supported for SOM classes",
"sizeof() is not supported for SOM classes",
"SOM classes cannot be class members",
"global SOM class objects are not supported",
"SOM class arrays are not supported",
"'pointer to member' is not supported for SOM classes",
"SOM class has no release order list",
"'%u' is not an Objective-C class",
"method '%m' redeclared",
"undefined method '%m'",
"class '%u' redeclared",
"class '%u' redefined",
"Objective-C type '%u' is undefined (should be defined in objc.h)",
"Objective-C type '%u' has unexpected type",
"method '%m' not defined",
"method '%m' redefined",
"illegal use of 'self'",
"illegal use of 'super'",
"illegal message receiver",
"receiver cannot handle this message",
"ambiguous message selector",
"used: '%m'",
"also had: '%m'",
"unknown message selector",
"illegal use of Objective-C object",
"protocol '%u' redefined",
"protocol '%u' is undefined",
"protocol '%u' is already in protocol list",
"category '%u' redefined",
"category '%u' is undefined",
"illegal use of '%u'",
"template too complex or recursive",
"illegal return value in void/constructor/destructor function",
"assigning a non-int numeric value to an unprototyped function",
"implicit arithmetic conversion from '%t' to '%t'",
"preprocessor #error directive",
"ambiguous access to name found '%u' and '%u'",
"illegal namespace",
"illegal use of namespace name",
"illegal name overloading",
"instance variable list does not match @interface",
"protocol list does not match @interface",
"super class does not match @interface",
"function result is a pointer/reference to an automatic variable",
"cannot allocate initialized objects in the scratchpad",
"illegal class member access",
"data object '%o' redefined",
"illegal access to local variable from other function",
"illegal implicit member pointer conversion",
"typename redefined",
"object '%o' redefined",
"'main' not defined as external 'int main()' function",
"illegal explicit template specialization",
"name has not been declared in namespace/class",
"preprocessor #warning directive",
"illegal use of asm inline function",
"illegal use of C++ feature in EC++",
"illegal use template argument dependent type 'T::%u'",
"illegal use of alloca() in function argument",
"inline function call '%o' not inlined",
"inconsistent use of 'class' and 'struct' keywords",
"illegal partial specialization",
"illegal partial specialization argument list",
"ambiguous use of partial specialization",
"local classes shall not have member templates",
"illegal template argument dependent expression",
"implicit 'int' is no longer supported in C++",
"%i pad byte(s) inserted after data member '%u'",
"pure function '%o' is not virtual",
"illegal virtual function '%o' in 'union'",
"cannot pass 'void' or 'function' parameter",
"illegal static const member '%u' initialization",
"'typename' is missing in template argument dependent qualified type",
"more than one expression in non-class type conversion",
"template non-type argument objects shall have external linkage",
"illegal inline assembly operand: %u",
"illegal or unsupported __attribute__",
"cannot create object file '%f'",
"error writing to object file '%f'",
"printf-family format string doesn't match arguments",
"scanf-family format string doesn't match arguments",
"__alignof__() is not supported for SOM classes",
"illegal macro argument name '%u'",
"case has an empty range of values",
"'long long' switch() is not supported",
"'long long' case range is not supported",
"expression has no side effect",
"result of function call is not used",
"illegal non-type template argument",
"illegal use of abstract class ('%t')",
"illegal use of 'template' prefix",
"template parameter/argument list mismatch",
"cannot find matching deallocation function for '%t'",
"illegal operand '%t'",
"illegal operands '%t' %u '%t'",
"illegal use of default template-argument",
"illegal UUID syntax",
"__uuidof() is not supported for SOM classes",
"illegal access from '%t' to protected/private member '%o'",
"integral type is not large enough to hold pointer",
"unknown x86 assembler instruction mnemonic",
"illegal use of const/volatile function qualifier sequence",
"illegal optimization level for this limited version of CodeWarrior",
"no UUID defined for type '%t'",
"using implicit copy assigment for class with const or reference member ('%t')",
"unimplemented assembler instruction/directive",
"override of dllimport function '%u' only has application scope",
"illegal combination of operands in inline statement at line %i",
"illegal operand in inline statement at line %i",
"function call '*' is ambiguous",
NULL
};
static const char *STR10100[] = {
"### Error: Compilation aborted at end of file ###",
"Save precompiled header as...",
"### Error while creating precompiled headerfile (OSErr %ld) ###",
"### Error while writing precompiled headerfile (OSErr %ld) ### ",
"internal compiler error: File: '%s' Line: %ld",
"ran out of registers--turn on Global Optimization for this function",
"### Error: Out of memory ###",
"### User break detected ###",
"### Error: Cannot open main file ###",
"Analyzing symbol table...",
"Writing precompiled header file...",
NULL
};
int RegisterCompilerResources() {
return RegisterResource("Compiler Errors", 10000, STR10000) && RegisterResource("Compiler Strings", 10100, STR10100);
}

View File

@@ -0,0 +1,146 @@
#include "cmdline.h"
// this exists elsewhere
extern CWPLUGIN_ENTRY(PPCLibImport_main)(CWPluginContext context);
CWPLUGIN_ENTRY (PPCLibImport_GetDropInFlags)(const DropInFlags **flags, SInt32 *flagsSize) {
static const DropInFlags sFlags = {
kCurrentDropInFlagsVersion,
CWDROPINCOMPILERTYPE,
DROPINCOMPILERLINKERAPIVERSION_8,
kGeneratescode | kCanpreprocess | kCanprecompile | kCompAllowDupFileNames | kCompMultiTargAware,
Lang_MISC,
DROPINCOMPILERLINKERAPIVERSION_12
};
*flags = &sFlags;
*flagsSize = sizeof(sFlags);
return 0;
}
CWPLUGIN_ENTRY (PPCLibImport_GetTargetList)(const CWTargetList **targetList) {
static CWDataType sCPU[1] = {targetCPUPowerPC};
static CWDataType sOS[1] = {CWFOURCHAR('R','h','a','p')};
static CWTargetList sTargetList = {
kCurrentCWTargetListVersion,
1,
sCPU,
1,
sOS
};
*targetList = &sTargetList;
return 0;
}
CWPLUGIN_ENTRY (PPCLibImport_GetDropInName)(const char **dropinName) {
static const char *sDropInName = "Lib Import Mach-O";
*dropinName = sDropInName;
return 0;
}
CWPLUGIN_ENTRY (PPCLibImport_GetDisplayName)(const char **displayName) {
static const char *sDisplayName = "Lib Import Mach-O";
*displayName = sDisplayName;
return 0;
}
CWPLUGIN_ENTRY (PPCLibImport_GetDefaultMappingList)(const CWExtMapList **defaultMappingList) {
static CWExtensionMapping sExtension[10] = {
CWFOURCHAR('M','P','L','F'), "", 0,
CWFOURCHAR('M','L','I','B'), "", 0
};
static CWExtMapList sExtensionMapList = {
kCurrentCWExtMapListVersion,
2,
sExtension
};
*defaultMappingList = &sExtensionMapList;
return 0;
}
CWPLUGIN_ENTRY (PPCLibImport_GetPanelList)(const CWPanelList **panelList) {
static CWPanelList sPanelList = {
kCurrentCWPanelListVersion,
0,
NULL
};
*panelList = &sPanelList;
return 0;
}
static CWPLUGIN_ENTRY (PPCLibImport_GetVersionInfo)(const VersionInfo **versionInfo) {
static const VersionInfo vi = {
2, 4, 5, 0
};
*versionInfo = &vi;
return 0;
}
static CWPLUGIN_ENTRY (PPCLibImport_GetFileTypeMappings)(const OSFileTypeMappingList **mappings) {
static const OSFileTypeMapping ftmes[2] = {
CWFOURCHAR('M','P','L','F'), "!arch\n", 8, 0, NULL,
CWFOURCHAR('M','L','I','B'), "\xFE\xED\xFA\xCE", 4, 0, NULL
};
static const OSFileTypeMappingList ftml = {
2, ftmes
};
*mappings = &ftml;
return 0;
}
static CWPLUGIN_ENTRY (PPCLibImport_GetObjectFlags)(const CWObjectFlags **objectFlags) {
static const CWObjectFlags sFlags = {
2,
0,
NULL,
NULL,
NULL,
".s",
".d",
"mch",
0, 0,
0, 0,
0, 0,
CWFOURCHAR('C','W','I','E'), CWFOURCHAR('T','E','X','T'),
0, 0
};
*objectFlags = &sFlags;
return 0;
}
static BasePluginCallbacks machlibimport_cb = {
PPCLibImport_main,
PPCLibImport_GetDropInFlags,
PPCLibImport_GetDisplayName,
PPCLibImport_GetDropInName,
PPCLibImport_GetPanelList,
NULL,
NULL,
PPCLibImport_GetVersionInfo,
PPCLibImport_GetFileTypeMappings
};
static CompilerLinkerPluginCallbacks machlibimport_cl_cb = {
PPCLibImport_GetTargetList,
PPCLibImport_GetDefaultMappingList,
NULL,
NULL,
PPCLibImport_GetObjectFlags,
NULL
};
int RegisterStaticLibImporterPlugin() {
return RegisterStaticCompilerLinkerPlugin(&machlibimport_cb, &machlibimport_cl_cb);
}
#include "compiler_and_linker/Plugin_Tools/MacOS_PPC/Lib_Importer_Mach/Resources/Errors.r"
int RegisterLibImporterResources() {
return RegisterResource("Mach-O Lib Importer Errors", 911, STR911);
}

View File

@@ -0,0 +1,31 @@
#include "cmdline.h"
// cc-mach-ppc.c
extern int RegisterStaticCompilerPlugin();
extern int RegisterCompilerResources();
// libimp-mach-ppc.c
extern int RegisterStaticLibImporterPlugin();
extern int RegisterLibImporterResources();
void GetStaticTarget(OSType *cpu, OSType *os) {
*cpu = targetCPUPowerPC;
*os = CWFOURCHAR('R','h','a','p');
}
void GetStaticPluginType(OSType *language, OSType *plugintype) {
*language = Lang_C_CPP;
*plugintype = CWDROPINCOMPILERTYPE;
}
void GetStaticParserPluginType(OSType *style) {
*style = CWFOURCHAR('S','e','e','p');
}
int RegisterStaticTargetPlugins() {
return RegisterStaticCompilerPlugin() && RegisterStaticLibImporterPlugin();
}
int RegisterStaticTargetResources() {
OS_UseMacResourceForkInfo(1);
return RegisterCompilerResources() && RegisterLibImporterResources();
}