aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2007-03-14 13:58:04 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-03-14 13:58:04 +0000
commitcd773ac48b456a4eb7ddfc04df747e7890e9f4a7 (patch)
treec9b2f4e7d3990c4b6f46960c707473fb4a4a4165
parent19ee20654bba5b0a516043366f26730db6738643 (diff)
downloadgcc-cd773ac48b456a4eb7ddfc04df747e7890e9f4a7.zip
gcc-cd773ac48b456a4eb7ddfc04df747e7890e9f4a7.tar.gz
gcc-cd773ac48b456a4eb7ddfc04df747e7890e9f4a7.tar.bz2
invoke.texi: Document VxWorks options.
gcc/ * doc/invoke.texi: Document VxWorks options. From-SVN: r122922
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/invoke.texi45
2 files changed, 49 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 97d34f3..dcbe122 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2007-03-14 Richard Sandiford <richard@codesourcery.com>
+
+ * doc/invoke.texi: Document VxWorks options.
+
2007-03-14 Uros Bizjak <ubizjak@gmail.com>
* doc/invoke.texi (i386 and x86-64 Options): Clarify -msahf option.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 60122e0..e8f184d 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -771,6 +771,10 @@ See RS/6000 and PowerPC Options.
@emph{VAX Options}
@gccoptlist{-mg -mgnu -munix}
+@emph{VxWorks Options}
+@gccoptlist{-mrtp -non-static -Bstatic -Bdynamic @gol
+-Xbind-lazy -Xbind-now}
+
@emph{x86-64 Options}
See i386 and x86-64 Options.
@@ -7761,6 +7765,7 @@ platform.
* TMS320C3x/C4x Options::
* V850 Options::
* VAX Options::
+* VxWorks Options::
* x86-64 Options::
* Xstormy16 Options::
* Xtensa Options::
@@ -13826,6 +13831,46 @@ will assemble with the GNU assembler.
Output code for g-format floating point numbers instead of d-format.
@end table
+@node VxWorks Options
+@subsection VxWorks Options
+@cindex VxWorks Options
+
+The options in this section are defined for all VxWorks targets.
+Options specific to the target hardware are listed with the other
+options for that target.
+
+@table @gcctabopt
+@item -mrtp
+@opindex mrtp
+GCC can generate code for both VxWorks kernels and real time processes
+(RTPs). This option switches from the former to the latter. It also
+defines the preprocessor macro @code{__RTP__}.
+
+@item -non-static
+@opindex non-static
+Link an RTP executable against shared libraries rather than static
+libraries. The options @option{-static} and @option{-shared} can
+also be used for RTPs (@pxref{Link Options}); @option{-static}
+is the default.
+
+@item -Bstatic
+@itemx -Bdynamic
+@opindex Bstatic
+@opindex Bdynamic
+These options are passed down to the linker. They are defined for
+compatibility with Diab.
+
+@item -Xbind-lazy
+@opindex Xbind-lazy
+Enable lazy binding of function calls. This option is equivalent to
+@option{-Wl,-z,now} and is defined for compatibility with Diab.
+
+@item -Xbind-now
+@opindex Xbind-now
+Disable lazy binding of function calls. This option is the default and
+is defined for compatibility with Diab.
+@end table
+
@node x86-64 Options
@subsection x86-64 Options
@cindex x86-64 options