Commit d1552d7b by Joseph Myers Committed by Joseph Myers

alpha.h, [...]: Remove commented out target macro definitions and non-target-specific comments...

	* config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
	config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
	config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
	config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
	config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
	out target macro definitions and non-target-specific comments
	mostly taken from old versions of the manual.

From-SVN: r49033
parent 93dbe8d7
2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
* config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
out target macro definitions and non-target-specific comments
mostly taken from old versions of the manual.
2002-01-20 Kazu Hirata <kazu@hxi.com> 2002-01-20 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.h: Fix comment formatting. * config/h8300/h8300.h: Fix comment formatting.
......
...@@ -268,23 +268,6 @@ extern enum alpha_fp_trap_mode alpha_fptm; ...@@ -268,23 +268,6 @@ extern enum alpha_fp_trap_mode alpha_fptm;
#endif #endif
#endif #endif
/* This macro is similar to `TARGET_SWITCHES' but defines names of
command options that have values. Its definition is an initializer
with a subgrouping for each command option.
Each subgrouping contains a string constant, that defines the fixed
part of the option name, and the address of a variable. The
variable, type `char *', is set to the variable part of the given
option if the fixed part matches. The actual option name is made
by appending `-m' to the specified name.
Here is an example which defines `-mshort-data-NUMBER'. If the
given option is `-mshort-data-512', the variable `m88k_short_data'
will be set to the string `"512"'.
extern char *m88k_short_data;
#define TARGET_OPTIONS { { "short-data-", &m88k_short_data } } */
extern const char *alpha_cpu_string; /* For -mcpu= */ extern const char *alpha_cpu_string; /* For -mcpu= */
extern const char *alpha_tune_string; /* For -mtune= */ extern const char *alpha_tune_string; /* For -mtune= */
extern const char *alpha_fprm_string; /* For -mfp-rounding-mode=[n|m|c|d] */ extern const char *alpha_fprm_string; /* For -mfp-rounding-mode=[n|m|c|d] */
......
...@@ -130,23 +130,6 @@ extern int target_flags; ...@@ -130,23 +130,6 @@ extern int target_flags;
/* Non-zero means the cpu has a barrel shifter. */ /* Non-zero means the cpu has a barrel shifter. */
#define TARGET_SHIFTER 0 #define TARGET_SHIFTER 0
/* This macro is similar to `TARGET_SWITCHES' but defines names of
command options that have values. Its definition is an
initializer with a subgrouping for each command option.
Each subgrouping contains a string constant, that defines the
fixed part of the option name, and the address of a variable.
The variable, type `char *', is set to the variable part of the
given option if the fixed part matches. The actual option name
is made by appending `-m' to the specified name.
Here is an example which defines `-mshort-data-NUMBER'. If the
given option is `-mshort-data-512', the variable `m88k_short_data'
will be set to the string `"512"'.
extern char *m88k_short_data;
#define TARGET_OPTIONS { { "short-data-", &m88k_short_data } } */
extern const char *arc_cpu_string; extern const char *arc_cpu_string;
extern const char *arc_text_string,*arc_data_string,*arc_rodata_string; extern const char *arc_text_string,*arc_data_string,*arc_rodata_string;
......
...@@ -23,23 +23,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -23,23 +23,6 @@ Boston, MA 02111-1307, USA. */
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
#define CPP_PREDEFINES "-DAVR" #define CPP_PREDEFINES "-DAVR"
/* Define this to be a string constant containing `-D' options to
define the predefined macros that identify this machine and system.
These macros will be predefined unless the `-ansi' option is
specified.
In addition, a parallel set of macros are predefined, whose names
are made by appending `__' at the beginning and at the end. These
`__' macros are permitted by the ANSI standard, so they are
predefined regardless of whether `-ansi' is specified.
For example, on the Sun, one can use the following value:
"-Dmc68000 -Dsun -Dunix"
The result is to define the macros `__mc68000__', `__sun__' and
`__unix__' unconditionally, and the macros `mc68000', `sun' and
`unix' provided `-ansi' is not specified. */
/* This declaration should be present. */ /* This declaration should be present. */
...@@ -71,25 +54,6 @@ extern int target_flags; ...@@ -71,25 +54,6 @@ extern int target_flags;
#define TARGET_RTL_DUMP (target_flags & MASK_RTL_DUMP) #define TARGET_RTL_DUMP (target_flags & MASK_RTL_DUMP)
#define TARGET_ALL_DEBUG (target_flags & MASK_ALL_DEBUG) #define TARGET_ALL_DEBUG (target_flags & MASK_ALL_DEBUG)
/* `TARGET_...'
This series of macros is to allow compiler command arguments to
enable or disable the use of optional features of the target
machine. For example, one machine description serves both the
68000 and the 68020; a command argument tells the compiler whether
it should use 68020-only instructions or not. This command
argument works by means of a macro `TARGET_68020' that tests a bit
in `target_flags'.
Define a macro `TARGET_FEATURENAME' for each such option. Its
definition should test a bit in `target_flags'; for example:
#define TARGET_68020 (target_flags & 1)
One place where these macros are used is in the
condition-expressions of instruction patterns. Note how
`TARGET_68020' appears frequently in the 68000 machine description
file, `m68k.md'. Another place they are used is in the
definitions of the other macros in the `MACHINE.h' file. */
...@@ -110,27 +74,6 @@ extern int target_flags; ...@@ -110,27 +74,6 @@ extern int target_flags;
N_("Output instruction sizes to the asm file") }, \ N_("Output instruction sizes to the asm file") }, \
{ "deb", MASK_ALL_DEBUG, NULL }, \ { "deb", MASK_ALL_DEBUG, NULL }, \
{ "", 0, NULL } } { "", 0, NULL } }
/* This macro defines names of command options to set and clear bits
in `target_flags'. Its definition is an initializer with a
subgrouping for each command option.
Each subgrouping contains a string constant, that defines the
option name, and a number, which contains the bits to set in
`target_flags'. A negative number says to clear bits instead; the
negative of the number is which bits to clear. The actual option
name is made by appending `-m' to the specified name.
One of the subgroupings should have a null string. The number in
this grouping is the default value for `target_flags'. Any target
options act starting with that value.
Here is an example which defines `-m68000' and `-m68020' with
opposite meanings, and picks the latter as the default:
#define TARGET_SWITCHES \
{ { "68020", 1}, \
{ "68000", -1}, \
{ "", 1}} */
extern const char *avr_init_stack; extern const char *avr_init_stack;
extern const char *avr_mcu_name; extern const char *avr_mcu_name;
...@@ -143,23 +86,6 @@ extern int avr_enhanced_p; ...@@ -143,23 +86,6 @@ extern int avr_enhanced_p;
#define TARGET_OPTIONS { \ #define TARGET_OPTIONS { \
{ "init-stack=", &avr_init_stack, N_("Specify the initial stack address") }, \ { "init-stack=", &avr_init_stack, N_("Specify the initial stack address") }, \
{ "mcu=", &avr_mcu_name, N_("Specify the MCU name") } } { "mcu=", &avr_mcu_name, N_("Specify the MCU name") } }
/* This macro is similar to `TARGET_SWITCHES' but defines names of
command options that have values. Its definition is an
initializer with a subgrouping for each command option.
Each subgrouping contains a string constant, that defines the
fixed part of the option name, and the address of a variable. The
variable, type `char *', is set to the variable part of the given
option if the fixed part matches. The actual option name is made
by appending `-m' to the specified name.
Here is an example which defines `-mshort-data-NUMBER'. If the
given option is `-mshort-data-512', the variable `m88k_short_data'
will be set to the string `"512"'.
extern char *m88k_short_data;
#define TARGET_OPTIONS \
{ { "short-data-", &m88k_short_data } } */
#define TARGET_VERSION fprintf (stderr, " (GNU assembler syntax)"); #define TARGET_VERSION fprintf (stderr, " (GNU assembler syntax)");
/* This macro is a C statement to print on `stderr' a string /* This macro is a C statement to print on `stderr' a string
......
...@@ -297,23 +297,6 @@ extern int target_flags; ...@@ -297,23 +297,6 @@ extern int target_flags;
/* -mcpu=XX with XX = target DSP version number. */ /* -mcpu=XX with XX = target DSP version number. */
/* This macro is similar to `TARGET_SWITCHES' but defines names of
command options that have values. Its definition is an
initializer with a subgrouping for each command option.
Each subgrouping contains a string constant, that defines the
fixed part of the option name, and the address of a variable.
The variable, type `char *', is set to the variable part of the
given option if the fixed part matches. The actual option name
is made by appending `-m' to the specified name.
Here is an example which defines `-mshort-data-NUMBER'. If the
given option is `-mshort-data-512', the variable `m88k_short_data'
will be set to the string `"512"'.
extern char *m88k_short_data;
#define TARGET_OPTIONS { { "short-data-", &m88k_short_data } } */
extern const char *c4x_rpts_cycles_string, *c4x_cpu_version_string; extern const char *c4x_rpts_cycles_string, *c4x_cpu_version_string;
#define TARGET_OPTIONS \ #define TARGET_OPTIONS \
......
...@@ -251,23 +251,6 @@ extern int target_flags; ...@@ -251,23 +251,6 @@ extern int target_flags;
#define TARGET_DEFAULT MASK_REGPARM|MASK_YBASE_HIGH #define TARGET_DEFAULT MASK_REGPARM|MASK_YBASE_HIGH
#endif #endif
/* This macro is similar to `TARGET_SWITCHES' but defines names of
command options that have values. Its definition is an
initializer with a subgrouping for each command option.
Each subgrouping contains a string constant, that defines the
fixed part of the option name, and the address of a variable.
The variable, type `char *', is set to the variable part of the
given option if the fixed part matches. The actual option name
is made by appending `-m' to the specified name.
Here is an example which defines `-mshort-data-NUMBER'. If the
given option is `-mshort-data-512', the variable `m88k_short_data'
will be set to the string `"512"'.
extern char *m88k_short_data;
#define TARGET_OPTIONS { { "short-data-", &m88k_short_data } } */
#define TARGET_OPTIONS \ #define TARGET_OPTIONS \
{ \ { \
{ "text=", &text_seg_name, \ { "text=", &text_seg_name, \
......
...@@ -205,23 +205,9 @@ extern const char *ia64_fixed_range_string; ...@@ -205,23 +205,9 @@ extern const char *ia64_fixed_range_string;
"%{mcpu=itanium:-D__itanium__} %{mbig-endian:-D__BIG_ENDIAN__} \ "%{mcpu=itanium:-D__itanium__} %{mbig-endian:-D__BIG_ENDIAN__} \
-D__LONG_MAX__=9223372036854775807L" -D__LONG_MAX__=9223372036854775807L"
/* If this macro is defined, the preprocessor will not define the builtin macro
`__SIZE_TYPE__'. The macro `__SIZE_TYPE__' must then be defined by
`CPP_SPEC' instead.
This should be defined if `SIZE_TYPE' depends on target dependent flags
which are not accessible to the preprocessor. Otherwise, it should not be
defined. */
/* This is always "long" so it doesn't "change" in ILP32 vs. LP64. */ /* This is always "long" so it doesn't "change" in ILP32 vs. LP64. */
/* #define NO_BUILTIN_SIZE_TYPE */ /* #define NO_BUILTIN_SIZE_TYPE */
/* If this macro is defined, the preprocessor will not define the builtin macro
`__PTRDIFF_TYPE__'. The macro `__PTRDIFF_TYPE__' must then be defined by
`CPP_SPEC' instead.
This should be defined if `PTRDIFF_TYPE' depends on target dependent flags
which are not accessible to the preprocessor. Otherwise, it should not be
defined. */
/* This is always "long" so it doesn't "change" in ILP32 vs. LP64. */ /* This is always "long" so it doesn't "change" in ILP32 vs. LP64. */
/* #define NO_BUILTIN_PTRDIFF_TYPE */ /* #define NO_BUILTIN_PTRDIFF_TYPE */
...@@ -245,9 +231,6 @@ extern const char *ia64_fixed_range_string; ...@@ -245,9 +231,6 @@ extern const char *ia64_fixed_range_string;
#define BITS_BIG_ENDIAN 0 #define BITS_BIG_ENDIAN 0
/* Define this macro to have the value 1 if the most significant byte in a word
has the lowest number. This macro need not be a constant. */
#define BYTES_BIG_ENDIAN (TARGET_BIG_ENDIAN != 0) #define BYTES_BIG_ENDIAN (TARGET_BIG_ENDIAN != 0)
/* Define this macro to have the value 1 if, in a multiword object, the most /* Define this macro to have the value 1 if, in a multiword object, the most
...@@ -255,29 +238,18 @@ extern const char *ia64_fixed_range_string; ...@@ -255,29 +238,18 @@ extern const char *ia64_fixed_range_string;
#define WORDS_BIG_ENDIAN (TARGET_BIG_ENDIAN != 0) #define WORDS_BIG_ENDIAN (TARGET_BIG_ENDIAN != 0)
/* Define this macro if WORDS_BIG_ENDIAN is not constant. This must be a
constant value with the same meaning as WORDS_BIG_ENDIAN, which will be used
only when compiling libgcc2.c. Typically the value will be set based on
preprocessor defines. */
#if defined(__BIG_ENDIAN__) #if defined(__BIG_ENDIAN__)
#define LIBGCC2_WORDS_BIG_ENDIAN 1 #define LIBGCC2_WORDS_BIG_ENDIAN 1
#else #else
#define LIBGCC2_WORDS_BIG_ENDIAN 0 #define LIBGCC2_WORDS_BIG_ENDIAN 0
#endif #endif
/* Define this macro to be the number of bits in an addressable storage unit
(byte); normally 8. */
#define BITS_PER_UNIT 8 #define BITS_PER_UNIT 8
/* Number of bits in a word; normally 32. */
#define BITS_PER_WORD 64 #define BITS_PER_WORD 64
/* Number of storage units in a word; normally 4. */
#define UNITS_PER_WORD 8 #define UNITS_PER_WORD 8
/* Width of a pointer, in bits. You must specify a value no wider than the
width of `Pmode'. If it is not equal to the width of `Pmode', you must
define `POINTERS_EXTEND_UNSIGNED'. */
#define POINTER_SIZE (TARGET_ILP32 ? 32 : 64) #define POINTER_SIZE (TARGET_ILP32 ? 32 : 64)
/* A C expression whose value is zero if pointers that need to be extended /* A C expression whose value is zero if pointers that need to be extended
...@@ -301,22 +273,12 @@ do \ ...@@ -301,22 +273,12 @@ do \
} \ } \
while (0) while (0)
/* Define this macro if the promotion described by `PROMOTE_MODE' should also
be done for outgoing function arguments. */
/* ??? ABI doesn't allow us to define this. */ /* ??? ABI doesn't allow us to define this. */
/* #define PROMOTE_FUNCTION_ARGS */ /* #define PROMOTE_FUNCTION_ARGS */
/* Define this macro if the promotion described by `PROMOTE_MODE' should also
be done for the return value of functions.
If this macro is defined, `FUNCTION_VALUE' must perform the same promotions
done by `PROMOTE_MODE'. */
/* ??? ABI doesn't allow us to define this. */ /* ??? ABI doesn't allow us to define this. */
/* #define PROMOTE_FUNCTION_RETURN */ /* #define PROMOTE_FUNCTION_RETURN */
/* Normal alignment required for function parameters on the stack, in bits.
All stack parameters receive at least this much alignment regardless of data
type. On most machines, this is the same as the size of an integer. */
#define PARM_BOUNDARY 64 #define PARM_BOUNDARY 64
/* Define this macro if you wish to preserve a certain alignment for the stack /* Define this macro if you wish to preserve a certain alignment for the stack
...@@ -330,11 +292,8 @@ while (0) ...@@ -330,11 +292,8 @@ while (0)
#define IA64_STACK_ALIGN(LOC) (((LOC) + 15) & ~15) #define IA64_STACK_ALIGN(LOC) (((LOC) + 15) & ~15)
#endif #endif
/* Alignment required for a function entry point, in bits. */
#define FUNCTION_BOUNDARY 128 #define FUNCTION_BOUNDARY 128
/* Biggest alignment that any data type can require on this machine,
in bits. */
/* Optional x86 80-bit float, quad-precision 128-bit float, and quad-word /* Optional x86 80-bit float, quad-precision 128-bit float, and quad-word
128 bit integers all require 128 bit alignment. */ 128 bit integers all require 128 bit alignment. */
#define BIGGEST_ALIGNMENT 128 #define BIGGEST_ALIGNMENT 128
...@@ -358,9 +317,6 @@ while (0) ...@@ -358,9 +317,6 @@ while (0)
(TREE_CODE (EXP) == STRING_CST \ (TREE_CODE (EXP) == STRING_CST \
&& (ALIGN) < BITS_PER_WORD ? BITS_PER_WORD : (ALIGN)) && (ALIGN) < BITS_PER_WORD ? BITS_PER_WORD : (ALIGN))
/* Define this macro to be the value 1 if instructions will fail to work if
given data not on the nominal alignment. If instructions will merely go
slower in that case, define this macro as 0. */
#define STRICT_ALIGNMENT 1 #define STRICT_ALIGNMENT 1
/* Define this if you wish to imitate the way many other C compilers handle /* Define this if you wish to imitate the way many other C compilers handle
...@@ -391,45 +347,22 @@ while (0) ...@@ -391,45 +347,22 @@ while (0)
/* Layout of Source Language Data Types */ /* Layout of Source Language Data Types */
/* A C expression for the size in bits of the type `int' on the target machine.
If you don't define this, the default is one word. */
#define INT_TYPE_SIZE 32 #define INT_TYPE_SIZE 32
/* A C expression for the size in bits of the type `short' on the target
machine. If you don't define this, the default is half a word. (If this
would be less than one storage unit, it is rounded up to one unit.) */
#define SHORT_TYPE_SIZE 16 #define SHORT_TYPE_SIZE 16
/* A C expression for the size in bits of the type `long' on the target
machine. If you don't define this, the default is one word. */
#define LONG_TYPE_SIZE (TARGET_ILP32 ? 32 : 64) #define LONG_TYPE_SIZE (TARGET_ILP32 ? 32 : 64)
/* Maximum number for the size in bits of the type `long' on the target
machine. If this is undefined, the default is `LONG_TYPE_SIZE'. Otherwise,
it is the constant value that is the largest value that `LONG_TYPE_SIZE' can
have at run-time. This is used in `cpp'. */
#define MAX_LONG_TYPE_SIZE 64 #define MAX_LONG_TYPE_SIZE 64
/* A C expression for the size in bits of the type `long long' on the target
machine. If you don't define this, the default is two words. If you want
to support GNU Ada on your machine, the value of macro must be at least 64. */
#define LONG_LONG_TYPE_SIZE 64 #define LONG_LONG_TYPE_SIZE 64
/* A C expression for the size in bits of the type `char' on the target
machine. If you don't define this, the default is one quarter of a word.
(If this would be less than one storage unit, it is rounded up to one unit.) */
#define CHAR_TYPE_SIZE 8 #define CHAR_TYPE_SIZE 8
/* A C expression for the size in bits of the type `float' on the target
machine. If you don't define this, the default is one word. */
#define FLOAT_TYPE_SIZE 32 #define FLOAT_TYPE_SIZE 32
/* A C expression for the size in bits of the type `double' on the target
machine. If you don't define this, the default is two words. */
#define DOUBLE_TYPE_SIZE 64 #define DOUBLE_TYPE_SIZE 64
/* A C expression for the size in bits of the type `long double' on the target
machine. If you don't define this, the default is two words. */
#define LONG_DOUBLE_TYPE_SIZE 128 #define LONG_DOUBLE_TYPE_SIZE 128
/* Tell real.c that this is the 80-bit Intel extended float format /* Tell real.c that this is the 80-bit Intel extended float format
...@@ -437,9 +370,6 @@ while (0) ...@@ -437,9 +370,6 @@ while (0)
#define INTEL_EXTENDED_IEEE_FORMAT 1 #define INTEL_EXTENDED_IEEE_FORMAT 1
/* An expression whose value is 1 or 0, according to whether the type `char'
should be signed or unsigned by default. The user can always override this
default with the options `-fsigned-char' and `-funsigned-char'. */
#define DEFAULT_SIGNED_CHAR 1 #define DEFAULT_SIGNED_CHAR 1
/* A C expression for a string describing the name of the data type to use for /* A C expression for a string describing the name of the data type to use for
...@@ -464,12 +394,6 @@ while (0) ...@@ -464,12 +394,6 @@ while (0)
This is used in `cpp', which cannot make use of `WCHAR_TYPE'. */ This is used in `cpp', which cannot make use of `WCHAR_TYPE'. */
/* #define WCHAR_TYPE_SIZE */ /* #define WCHAR_TYPE_SIZE */
/* Maximum number for the size in bits of the data type for wide characters.
If this is undefined, the default is `WCHAR_TYPE_SIZE'. Otherwise, it is
the constant value that is the largest value that `WCHAR_TYPE_SIZE' can have
at run-time. This is used in `cpp'. */
/* #define MAX_WCHAR_TYPE_SIZE */
/* Register Basics */ /* Register Basics */
......
...@@ -281,8 +281,6 @@ extern const struct processor_costs *m68hc11_cost; ...@@ -281,8 +281,6 @@ extern const struct processor_costs *m68hc11_cost;
/* Allocation boundary (bits) for the code of a function. */ /* Allocation boundary (bits) for the code of a function. */
#define FUNCTION_BOUNDARY 8 #define FUNCTION_BOUNDARY 8
/* Biggest alignment that any data type can require on this machine,
in bits. */
#define BIGGEST_ALIGNMENT 8 #define BIGGEST_ALIGNMENT 8
/* Alignment of field after `int : 0' in a structure. */ /* Alignment of field after `int : 0' in a structure. */
......
...@@ -583,23 +583,6 @@ extern void sbss_section PARAMS ((void)); ...@@ -583,23 +583,6 @@ extern void sbss_section PARAMS ((void));
#endif #endif
#endif #endif
/* This macro is similar to `TARGET_SWITCHES' but defines names of
command options that have values. Its definition is an
initializer with a subgrouping for each command option.
Each subgrouping contains a string constant, that defines the
fixed part of the option name, and the address of a variable.
The variable, type `char *', is set to the variable part of the
given option if the fixed part matches. The actual option name
is made by appending `-m' to the specified name.
Here is an example which defines `-mshort-data-NUMBER'. If the
given option is `-mshort-data-512', the variable `m88k_short_data'
will be set to the string `"512"'.
extern char *m88k_short_data;
#define TARGET_OPTIONS { { "short-data-", &m88k_short_data } } */
#define TARGET_OPTIONS \ #define TARGET_OPTIONS \
{ \ { \
SUBTARGET_TARGET_OPTIONS \ SUBTARGET_TARGET_OPTIONS \
...@@ -2761,9 +2744,6 @@ extern struct mips_frame_info current_frame_info; ...@@ -2761,9 +2744,6 @@ extern struct mips_frame_info current_frame_info;
#define RETURN_IN_MEMORY(TYPE) \ #define RETURN_IN_MEMORY(TYPE) \
(TYPE_MODE (TYPE) == BLKmode) (TYPE_MODE (TYPE) == BLKmode)
/* A code distinguishing the floating point format of the target
machine. There are three defined values: IEEE_FLOAT_FORMAT,
VAX_FLOAT_FORMAT, and UNKNOWN_FLOAT_FORMAT. */
#define TARGET_FLOAT_FORMAT IEEE_FLOAT_FORMAT #define TARGET_FLOAT_FORMAT IEEE_FLOAT_FORMAT
......
...@@ -417,23 +417,6 @@ extern enum processor_type rs6000_cpu; ...@@ -417,23 +417,6 @@ extern enum processor_type rs6000_cpu;
and the old mnemonics are dialect zero. */ and the old mnemonics are dialect zero. */
#define ASSEMBLER_DIALECT (TARGET_NEW_MNEMONICS ? 1 : 0) #define ASSEMBLER_DIALECT (TARGET_NEW_MNEMONICS ? 1 : 0)
/* This macro is similar to `TARGET_SWITCHES' but defines names of
command options that have values. Its definition is an
initializer with a subgrouping for each command option.
Each subgrouping contains a string constant, that defines the
fixed part of the option name, and the address of a variable.
The variable, type `char *', is set to the variable part of the
given option if the fixed part matches. The actual option name
is made by appending `-m' to the specified name.
Here is an example which defines `-mshort-data-NUMBER'. If the
given option is `-mshort-data-512', the variable `m88k_short_data'
will be set to the string `"512"'.
extern char *m88k_short_data;
#define TARGET_OPTIONS { { "short-data-", &m88k_short_data } } */
/* This is meant to be overridden in target specific files. */ /* This is meant to be overridden in target specific files. */
#define SUBTARGET_OPTIONS #define SUBTARGET_OPTIONS
......
...@@ -660,23 +660,6 @@ extern enum processor_type sparc_cpu; ...@@ -660,23 +660,6 @@ extern enum processor_type sparc_cpu;
Every file includes us, but not every file includes insn-attr.h. */ Every file includes us, but not every file includes insn-attr.h. */
#define sparc_cpu_attr ((enum attr_cpu) sparc_cpu) #define sparc_cpu_attr ((enum attr_cpu) sparc_cpu)
/* This macro is similar to `TARGET_SWITCHES' but defines names of
command options that have values. Its definition is an
initializer with a subgrouping for each command option.
Each subgrouping contains a string constant, that defines the
fixed part of the option name, and the address of a variable.
The variable, type `char *', is set to the variable part of the
given option if the fixed part matches. The actual option name
is made by appending `-m' to the specified name.
Here is an example which defines `-mshort-data-NUMBER'. If the
given option is `-mshort-data-512', the variable `m88k_short_data'
will be set to the string `"512"'.
extern char *m88k_short_data;
#define TARGET_OPTIONS { { "short-data-", &m88k_short_data } } */
#define TARGET_OPTIONS \ #define TARGET_OPTIONS \
{ \ { \
{ "cpu=", &sparc_select[1].string, \ { "cpu=", &sparc_select[1].string, \
......
...@@ -158,24 +158,6 @@ enum small_memory_type { ...@@ -158,24 +158,6 @@ enum small_memory_type {
extern struct small_memory_info small_memory[(int)SMALL_MEMORY_max]; extern struct small_memory_info small_memory[(int)SMALL_MEMORY_max];
/* This macro is similar to `TARGET_SWITCHES' but defines names of
command options that have values. Its definition is an
initializer with a subgrouping for each command option.
Each subgrouping contains a string constant, that defines the
fixed part of the option name, and the address of a variable. The
variable, type `char *', is set to the variable part of the given
option if the fixed part matches. The actual option name is made
by appending `-m' to the specified name.
Here is an example which defines `-mshort-data-NUMBER'. If the
given option is `-mshort-data-512', the variable `m88k_short_data'
will be set to the string `"512"'.
extern char *m88k_short_data;
#define TARGET_OPTIONS \
{ { "short-data-", &m88k_short_data } } */
#define TARGET_OPTIONS \ #define TARGET_OPTIONS \
{ \ { \
{ "tda=", &small_memory[ (int)SMALL_MEMORY_TDA ].value, \ { "tda=", &small_memory[ (int)SMALL_MEMORY_TDA ].value, \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment