diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2002-07-25 09:48:07 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2002-07-25 09:48:07 +0000 |
commit | 316f5878b98e1adb7ddf6d18c3d3283afebd23a6 (patch) | |
tree | 67792470d817a8c9265a46decf1505270c404b3e /gas/doc | |
parent | 2061187ab5c4a929b2e361107dd69cc8bdf1ae8c (diff) | |
download | gdb-316f5878b98e1adb7ddf6d18c3d3283afebd23a6.zip gdb-316f5878b98e1adb7ddf6d18c3d3283afebd23a6.tar.gz gdb-316f5878b98e1adb7ddf6d18c3d3283afebd23a6.tar.bz2 |
[gas/]
* doc/c-mips.texi: Remove -mcpu. Document -mabi.
* configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
(USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
* configure, config.in: Regenerate.
* config/tc-mips.c (file_mips_abi): Rename to mips_abi.
(mips_set_options): Remove "abi" field.
(mips_opts): Update accordingly. Replace all uses of mips_opts.abi
with mips_abi.
(mips_cpu): Remove.
(mips_arch_string, mips_arch_info): New vars.
(mips_tune_string, mips_tune_info): New vars.
(ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
(HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
(mips_isa_to_str, mips_cpu_to_str): Remove.
(mips_ip): If the selected architecture is a generic ISA rather
than a processor, only mention the ISA level in error messages.
(OPTION_MCPU): Remove.
(OPTION_FP64): New.
(md_longopts): Add -mfp64, remove -mcpu.
(mips_set_option_string): New fn.
(md_parse_option): Make -mipsN update file_mips_isa rather than
mips_opts.isa. Use mips_set_option_string to set -march or -mtune.
Don't let -mgp32 and -mfp32 change the ABI.
(show): Move to end of file. Constify string argument.
(md_show_usage): Move to the end of the file. Read available
architectures from mips_cpu_info_table.
(mips_set_architecture): New fn.
(mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN
is an alias for -march=mipsN. Don't change the ABI based on other
flags. Infer the register size from the ABI as well as the
architecture. Complain about more conflicting arguments.
Unify logic with GCC.
(s_mipsset): Don't change the ABI.
(mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
(mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
"mipsN"-type entries. Remove entries that vary only in the
manufacturer's prefix, or that have "000" replaced by "k".
Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000.
(mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
(mips_parse_cpu): New fn.
(mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
(mips_cpu_info_from_isa): Minor formatting tweak.
[gas/testsuite]
* gas/mips/mips-gp32-fp64.d,
* gas/mips/mips-gp32-fp64-pic.d: Add -mfp64.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/c-mips.texi | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gas/doc/c-mips.texi b/gas/doc/c-mips.texi index 7bf75b3..b19c09b 100644 --- a/gas/doc/c-mips.texi +++ b/gas/doc/c-mips.texi @@ -175,12 +175,9 @@ sb1 Schedule and tune for a particular MIPS cpu. Valid @var{cpu} values are identical to @samp{-march=@var{cpu}}. -@item -mcpu=@var{cpu} -Generate code and schedule for a particular MIPS cpu. This is exactly -equivalent to @samp{-march=@var{cpu}} and @samp{-mtune=@var{cpu}}. Valid -@var{cpu} values are identical to @samp{-march=@var{cpu}}. -Use of this option is discouraged. - +@item -mabi=@var{abi} +Record which ABI the source code uses. The recognized arguments +are: @samp{32}, @samp{n32}, @samp{o64}, @samp{64} and @samp{eabi}. @cindex @code{-nocpp} ignored (MIPS) @item -nocpp |