m68k.h (TARGET_SWITCHES/TARGET_OPTIONS): Add missing doc strings

* config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
        Add missing doc strings
        * config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
        * config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise

From-SVN: r44489
This commit is contained in:
Roman Zippel 2001-07-30 21:30:40 +00:00 committed by Richard Henderson
parent 0ecf09f9cc
commit f18bff15c9
4 changed files with 97 additions and 52 deletions

View File

@ -1,3 +1,10 @@
2001-07-30 Roman Zippel <zippel@linux-m68k.org>
* config/m68k/m68k.h (TARGET_SWITCHES/TARGET_OPTIONS):
Add missing doc strings
* config/m68k/linux-aout.h (SUBTARGET_SWITCHES): Likewise
* config/m68k/linux.h (SUBTARGET_SWITCHES): Likewise
Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz> Mon Jul 30 22:16:08 CEST 2001 Jan Hubicka <jh@suse.cz>
* i386.c (ix86_output_main_function_alignment_hack): New function. * i386.c (ix86_output_main_function_alignment_hack): New function.

View File

@ -41,7 +41,8 @@ Boston, MA 02111-1307, USA. */
#endif #endif
#undef SUBTARGET_SWITCHES #undef SUBTARGET_SWITCHES
#define SUBTARGET_SWITCHES {"ieee-fp", 0}, #define SUBTARGET_SWITCHES {"ieee-fp", 0, \
N_("Use IEEE math for fp comparisons") },
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC \ #define ASM_SPEC \

View File

@ -42,7 +42,8 @@ Boston, MA 02111-1307, USA. */
#define STRICT_ALIGNMENT 0 #define STRICT_ALIGNMENT 0
#undef SUBTARGET_SWITCHES #undef SUBTARGET_SWITCHES
#define SUBTARGET_SWITCHES {"ieee-fp", 0}, #define SUBTARGET_SWITCHES {"ieee-fp", 0, \
N_("Use IEEE math for fp comparisons")},
/* Here are four prefixes that are used by asm_fprintf to /* Here are four prefixes that are used by asm_fprintf to
facilitate customization for alternate assembler syntaxes. facilitate customization for alternate assembler syntaxes.

View File

@ -147,63 +147,96 @@ extern int target_flags;
where VALUE is the bits to set or minus the bits to clear. where VALUE is the bits to set or minus the bits to clear.
An empty string NAME is used to identify the default VALUE. */ An empty string NAME is used to identify the default VALUE. */
#define TARGET_SWITCHES \ #define TARGET_SWITCHES \
{ { "68020", - (MASK_5200|MASK_68060|MASK_68040|MASK_68040_ONLY)}, \ { { "68020", - (MASK_5200|MASK_68060|MASK_68040|MASK_68040_ONLY), \
{ "c68020", - (MASK_5200|MASK_68060|MASK_68040|MASK_68040_ONLY)}, \ N_("Generate code for a 68020") }, \
{ "68020", (MASK_68020|MASK_BITFIELD)}, \ { "c68020", - (MASK_5200|MASK_68060|MASK_68040|MASK_68040_ONLY), \
{ "c68020", (MASK_68020|MASK_BITFIELD)}, \ N_("Generate code for a 68020") }, \
{ "68020", (MASK_68020|MASK_BITFIELD), "" }, \
{ "c68020", (MASK_68020|MASK_BITFIELD), "" }, \
{ "68000", - (MASK_5200|MASK_68060|MASK_68040|MASK_68040_ONLY \ { "68000", - (MASK_5200|MASK_68060|MASK_68040|MASK_68040_ONLY \
|MASK_68020|MASK_BITFIELD|MASK_68881)}, \ |MASK_68020|MASK_BITFIELD|MASK_68881), \
N_("Generate code for a 68000") }, \
{ "c68000", - (MASK_5200|MASK_68060|MASK_68040|MASK_68040_ONLY \ { "c68000", - (MASK_5200|MASK_68060|MASK_68040|MASK_68040_ONLY \
|MASK_68020|MASK_BITFIELD|MASK_68881)}, \ |MASK_68020|MASK_BITFIELD|MASK_68881), \
{ "bitfield", MASK_BITFIELD}, \ N_("Generate code for a 68000") }, \
{ "nobitfield", - MASK_BITFIELD}, \ { "bitfield", MASK_BITFIELD, \
{ "rtd", MASK_RTD}, \ N_("Use the bit-field instructions") }, \
{ "nortd", - MASK_RTD}, \ { "nobitfield", - MASK_BITFIELD, \
{ "short", MASK_SHORT}, \ N_("Do not use the bit-field instructions") }, \
{ "noshort", - MASK_SHORT}, \ { "rtd", MASK_RTD, \
{ "fpa", -(MASK_SKY|MASK_68040_ONLY|MASK_68881)}, \ N_("Use different calling convention using 'rtd'") }, \
{ "fpa", MASK_FPA}, \ { "nortd", - MASK_RTD, \
{ "nofpa", - MASK_FPA}, \ N_("Use normal calling convention") }, \
{ "sky", -(MASK_FPA|MASK_68040_ONLY|MASK_68881)}, \ { "short", MASK_SHORT, \
{ "sky", MASK_SKY}, \ N_("Consider type `int' to be 16 bits wide") }, \
{ "nosky", - MASK_SKY}, \ { "noshort", - MASK_SHORT, \
{ "68881", - (MASK_FPA|MASK_SKY)}, \ N_("Consider type `int' to be 32 bits wide") }, \
{ "68881", MASK_68881}, \ { "fpa", -(MASK_SKY|MASK_68040_ONLY|MASK_68881), \
{ "soft-float", - (MASK_FPA|MASK_SKY|MASK_68040_ONLY|MASK_68881)}, \ N_("Generate code for a Sun FPA") }, \
{ "68020-40", -(MASK_5200|MASK_68060|MASK_68040_ONLY)}, \ { "fpa", MASK_FPA, "" }, \
{ "68020-40", (MASK_BITFIELD|MASK_68881|MASK_68020|MASK_68040)}, \ { "nofpa", - MASK_FPA, \
{ "68020-60", -(MASK_5200|MASK_68040_ONLY)}, \ N_("Do not generate code for a Sun FPA") }, \
{ "sky", -(MASK_FPA|MASK_68040_ONLY|MASK_68881), \
N_("") }, \
{ "sky", MASK_SKY, \
N_("") }, \
{ "nosky", - MASK_SKY, \
N_("") }, \
{ "68881", - (MASK_FPA|MASK_SKY), \
N_("Generate code for a 68881") }, \
{ "68881", MASK_68881, "" }, \
{ "soft-float", - (MASK_FPA|MASK_SKY|MASK_68040_ONLY|MASK_68881), \
N_("Generate code with library calls for floating point") }, \
{ "68020-40", -(MASK_5200|MASK_68060|MASK_68040_ONLY), \
N_("Generate code for a 68040, without any new instructions") }, \
{ "68020-40", (MASK_BITFIELD|MASK_68881|MASK_68020|MASK_68040), ""},\
{ "68020-60", -(MASK_5200|MASK_68040_ONLY), \
N_("Generate code for a 68060, without any new instructions") }, \
{ "68020-60", (MASK_BITFIELD|MASK_68881|MASK_68020|MASK_68040 \ { "68020-60", (MASK_BITFIELD|MASK_68881|MASK_68020|MASK_68040 \
|MASK_68060)}, \ |MASK_68060), "" }, \
{ "68030", - (MASK_5200|MASK_68060|MASK_68040|MASK_68040_ONLY)}, \ { "68030", - (MASK_5200|MASK_68060|MASK_68040|MASK_68040_ONLY), \
{ "68030", (MASK_68020|MASK_BITFIELD)}, \ N_("Generate code for a 68030") }, \
{ "68040", - (MASK_5200|MASK_68060)}, \ { "68030", (MASK_68020|MASK_BITFIELD), "" }, \
{ "68040", - (MASK_5200|MASK_68060), \
N_("Generate code for a 68040") }, \
{ "68040", (MASK_68020|MASK_68881|MASK_BITFIELD \ { "68040", (MASK_68020|MASK_68881|MASK_BITFIELD \
|MASK_68040_ONLY|MASK_68040)}, \ |MASK_68040_ONLY|MASK_68040), "" }, \
{ "68060", - (MASK_5200|MASK_68040)}, \ { "68060", - (MASK_5200|MASK_68040), \
N_("Generate code for a 68060") }, \
{ "68060", (MASK_68020|MASK_68881|MASK_BITFIELD \ { "68060", (MASK_68020|MASK_68881|MASK_BITFIELD \
|MASK_68040_ONLY|MASK_68060)}, \ |MASK_68040_ONLY|MASK_68060), "" }, \
{ "5200", - (MASK_68060|MASK_68040|MASK_68040_ONLY|MASK_68020 \ { "5200", - (MASK_68060|MASK_68040|MASK_68040_ONLY|MASK_68020 \
|MASK_BITFIELD|MASK_68881)}, \ |MASK_BITFIELD|MASK_68881), \
{ "5200", (MASK_5200)}, \ N_("Generate code for a 520X") }, \
{ "68851", 0}, \ { "5200", (MASK_5200), "" }, \
{ "no-68851", 0}, \ { "68851", 0, \
N_("Generate code for a 68851") }, \
{ "no-68851", 0, \
N_("Do no generate code for a 68851") }, \
{ "68302", - (MASK_5200|MASK_68060|MASK_68040|MASK_68040_ONLY \ { "68302", - (MASK_5200|MASK_68060|MASK_68040|MASK_68040_ONLY \
|MASK_68020|MASK_BITFIELD|MASK_68881)}, \ |MASK_68020|MASK_BITFIELD|MASK_68881), \
N_("Generate code for a 68302") }, \
{ "68332", - (MASK_5200|MASK_68060|MASK_68040|MASK_68040_ONLY \ { "68332", - (MASK_5200|MASK_68060|MASK_68040|MASK_68040_ONLY \
|MASK_BITFIELD|MASK_68881)}, \ |MASK_BITFIELD|MASK_68881), \
{ "68332", MASK_68020}, \ N_("Generate code for a 68332") }, \
{ "68332", MASK_68020, "" }, \
{ "cpu32", - (MASK_5200|MASK_68060|MASK_68040|MASK_68040_ONLY \ { "cpu32", - (MASK_5200|MASK_68060|MASK_68040|MASK_68040_ONLY \
|MASK_BITFIELD|MASK_68881)}, \ |MASK_BITFIELD|MASK_68881), \
{ "cpu32", MASK_68020}, \ N_("Generate code for a cpu32") }, \
{ "align-int", MASK_ALIGN_INT }, \ { "cpu32", MASK_68020, "" }, \
{ "no-align-int", -MASK_ALIGN_INT }, \ { "align-int", MASK_ALIGN_INT, \
{ "pcrel", MASK_PCREL}, \ N_("Align variables on a 32-bit boundary") }, \
{ "strict-align", -MASK_NO_STRICT_ALIGNMENT}, \ { "no-align-int", -MASK_ALIGN_INT, \
{ "no-strict-align", MASK_NO_STRICT_ALIGNMENT}, \ N_("Align variables on a 16-bit boundary") }, \
{ "pcrel", MASK_PCREL, \
N_("Generate pc-relative code") }, \
{ "strict-align", -MASK_NO_STRICT_ALIGNMENT, \
N_("Do not use unaligned memory references") }, \
{ "no-strict-align", MASK_NO_STRICT_ALIGNMENT, \
N_("Use unaligned memory references") }, \
SUBTARGET_SWITCHES \ SUBTARGET_SWITCHES \
{ "", TARGET_DEFAULT}} { "", TARGET_DEFAULT, "" }}
/* TARGET_DEFAULT is defined in sun*.h and isi.h, etc. */ /* TARGET_DEFAULT is defined in sun*.h and isi.h, etc. */
/* This macro is similar to `TARGET_SWITCHES' but defines names of /* This macro is similar to `TARGET_SWITCHES' but defines names of
@ -216,9 +249,12 @@ extern int target_flags;
option if the fixed part matches. The actual option name is made option if the fixed part matches. The actual option name is made
by appending `-m' to the specified name. */ by appending `-m' to the specified name. */
#define TARGET_OPTIONS \ #define TARGET_OPTIONS \
{ { "align-loops=", &m68k_align_loops_string }, \ { { "align-loops=", &m68k_align_loops_string, \
{ "align-jumps=", &m68k_align_jumps_string }, \ N_("Loop code aligned to this power of 2") }, \
{ "align-functions=", &m68k_align_funcs_string }, \ { "align-jumps=", &m68k_align_jumps_string, \
N_("Jump targets are aligned to this power of 2") }, \
{ "align-functions=", &m68k_align_funcs_string, \
N_("Function starts are aligned to this power of 2") }, \
SUBTARGET_OPTIONS \ SUBTARGET_OPTIONS \
} }