re PR target/5362 (Undocumented target options)

PR target/5362
        * config/mcore/mcore.opt: Remove deprecated m4align and m8align
        options.
        Add description to mno-lsim option.
        * config/mcore/mcore.h: Remove comment about deprecated m4align
        option.
        (TARGET_DEFAULT): Remove deprecated MASK_M8ALIGN.
        * doc/invoke.texi: Add description of mno-lsim and
        mstack-increment options.

From-SVN: r144783
This commit is contained in:
Nick Clifton 2009-03-11 16:57:01 +00:00 committed by Nick Clifton
parent 18a3bdcbe2
commit 40190a7696
4 changed files with 26 additions and 13 deletions

View File

@ -1,6 +1,15 @@
2009-03-11 Nick Clifton <nickc@redhat.com>
PR target/5362
* config/mcore/mcore.opt: Remove deprecated m4align and m8align
options.
Add description to mno-lsim option.
* config/mcore/mcore.h: Remove comment about deprecated m4align
option.
(TARGET_DEFAULT): Remove deprecated MASK_M8ALIGN.
* doc/invoke.texi: Add description of mno-lsim and
mstack-increment options.
* config/fr30/fr30.opt: Document the -mno-lsim option.
* doc/invoke.texi: Add descriptions of the FR30's -msmall-model
and -mno-lsim options.

View File

@ -50,8 +50,6 @@
} \
while (0)
/* If -m4align is ever re-enabled then add this line to the definition of CPP_SPEC
%{!m4align:-D__MCORE_ALIGN_8__} %{m4align:-D__MCORE__ALIGN_4__}. */
#undef CPP_SPEC
#define CPP_SPEC "%{m210:%{mlittle-endian:%ethe m210 does not have little endian support}}"
@ -67,7 +65,6 @@
#define TARGET_DEFAULT \
(MASK_HARDLIT \
| MASK_8ALIGN \
| MASK_DIV \
| MASK_RELAX_IMM \
| MASK_M340 \

View File

@ -1,6 +1,6 @@
; Options for the Motorola MCore port of the compiler.
; Copyright (C) 2005, 2007 Free Software Foundation, Inc.
; Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc.
;
; This file is part of GCC.
;
@ -26,18 +26,10 @@ m340
Target RejectNegative Report Mask(M340)
Generate code for the M*Core M340
m4align
Target RejectNegative Report InverseMask(8ALIGN)
Set maximum alignment to 4
m4byte-functions
Target Report Mask(OVERALIGN_FUNC)
Force functions to be aligned to a 4 byte boundary
m8align
Target RejectNegative Report Mask(8ALIGN)
Set maximum alignment to 8
mbig-endian
Target RejectNegative Report InverseMask(LITTLE_END)
Generate big-endian code
@ -60,7 +52,8 @@ Generate little-endian code
; Not used by the compiler proper.
mno-lsim
Target RejectNegative Undocumented
Target RejectNegative
Assume that run-time support has been provided, so omit -lsim from the linker command line
mrelax-immediates
Target Report Mask(RELAX_IMM)

View File

@ -12438,6 +12438,20 @@ Generate code for a little endian target.
@opindex m210
@opindex m340
Generate code for the 210 processor.
@item -mno-lsim
@opindex no-lsim
Assume that run-time support has been provided and so omit the
simulator library (@file{libsim.a)} from the linker command line.
@item -mstack-increment=@var{size}
@opindex mstack-increment
Set the maximum amount for a single stack increment operation. Large
values can increase the speed of progrqams which contain functions
that need a large amount of stack space, but they can also trigger a
segmentation fault if the stack is extended too much. The default
value is 0x1000.
@end table
@node MIPS Options