* doc/as.texinfo: Add Blackfin options.

* doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
	* config/tc-bfin.c (md_show_usage): Show usage for all
	Blackfin specific options.
This commit is contained in:
Jie Zhang 2010-03-10 03:57:00 +00:00
parent d62d0f5fc2
commit 9982501a0d
4 changed files with 46 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2010-03-10 Jie Zhang <jie@codesourcery.com>
* doc/as.texinfo: Add Blackfin options.
* doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
* config/tc-bfin.c (md_show_usage): Show usage for all
Blackfin specific options.
2010-03-09 Alan Modra <amodra@gmail.com>
PR gas/11356

View File

@ -418,9 +418,12 @@ md_parse_option (int c ATTRIBUTE_UNUSED, char *arg ATTRIBUTE_UNUSED)
}
void
md_show_usage (FILE * stream ATTRIBUTE_UNUSED)
md_show_usage (FILE * stream)
{
fprintf (stream, _(" BFIN specific command line options:\n"));
fprintf (stream, _(" Blackfin specific assembler options:\n"));
fprintf (stream, _(" -mcpu=<cpu[-sirevision]> specify the name of the target CPU\n"));
fprintf (stream, _(" -mfdpic assemble for the FDPIC ABI\n"));
fprintf (stream, _(" -mno-fdpic/-mnopic disable -mfdpic\n"));
}
/* Perform machine-specific initializations. */

View File

@ -39,6 +39,9 @@
@ifset ARM/Thumb
@set ARM
@end ifset
@ifset Blackfin
@set Blackfin
@end ifset
@ifset BOUT
@set aout-bout
@end ifset
@ -273,6 +276,14 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}.
@b{-mapcs-reentrant}]
[@b{-mthumb-interwork}] [@b{-k}]
@end ifset
@ifset Blackfin
@emph{Target Blackfin options:}
[@b{-mcpu}=@var{processor}[-@var{sirevision}]]
[@b{-mfdpic}]
[@b{-mno-fdpic}]
[@b{-mnopic}]
@end ifset
@ifset CRIS
@emph{Target CRIS options:}
@ -715,6 +726,21 @@ Specify that PIC code has been generated.
@end table
@end ifset
@ifset Blackfin
The following options are available when @value{AS} is configured for
the Blackfin processor family.
@table @gcctabopt
@item -mcpu=@var{processor}@r{[}-@var{sirevision}@r{]}
This option specifies the target processor. The optional @var{sirevision}
is not used in assembler.
@item -mfdpic
Assemble for the FDPIC ABI.
@item -mno-fdpic/-mnopic
Disable -mfdpic.
@end table
@end ifset
@ifset CRIS
See the info pages for documentation of the CRIS-specific options.
@end ifset

View File

@ -66,6 +66,14 @@ recognized:
and
@code{bf561}.
@cindex @code{-mfdpic} command line option, Blackfin
@item -mfdpic
Assemble for the FDPIC ABI.
@cindex @code{-mno-fdpic} command line option, Blackfin
@cindex @code{-mnopic} command line option, Blackfin
@item -mno-fdpic/-mnopic
Disable -mfdpic.
@end table
@node Blackfin Syntax