aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorSterling Augustine <sterling@gcc.gnu.org>2010-05-27 21:10:54 +0000
committerSterling Augustine <sterling@gcc.gnu.org>2010-05-27 21:10:54 +0000
commit1b408ba139d671e02b69aa5447e24f0801097442 (patch)
tree08e9791311e16dd98c8a9cfdd2c00720fbb6f26d /gcc/doc
parent0bc25dd001075ffc6fd0b926a91912f52a251fc8 (diff)
downloadgcc-1b408ba139d671e02b69aa5447e24f0801097442.zip
gcc-1b408ba139d671e02b69aa5447e24f0801097442.tar.gz
gcc-1b408ba139d671e02b69aa5447e24f0801097442.tar.bz2
invoke.texi (xtensa options): Add -mforce-no-pic.
2010-05-27 Sterling Augustine <sterling@tensilica.com> * doc/invoke.texi (xtensa options): Add -mforce-no-pic. * config/xtensa/xtensa.c (override_options): Check TARGET_FORCE_NO_PIC and set flag_pic. * config/xtensa/xtensa.opt: Document -mforce-no-pic From-SVN: r159950
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index baa8e88..17b1b3f 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -889,6 +889,7 @@ See i386 and x86-64 Options.
@emph{Xtensa Options}
@gccoptlist{-mconst16 -mno-const16 @gol
-mfused-madd -mno-fused-madd @gol
+-mforce-no-pic @gol
-mserialize-volatile -mno-serialize-volatile @gol
-mtext-section-literals -mno-text-section-literals @gol
-mtarget-align -mno-target-align @gol
@@ -17082,6 +17083,12 @@ When this option is enabled, GCC inserts @code{MEMW} instructions before
The default is @option{-mserialize-volatile}. Use
@option{-mno-serialize-volatile} to omit the @code{MEMW} instructions.
+@item -mforce-no-pic
+@opindex mforce-no-pic
+For targets, like GNU/Linux, where all user-mode Xtensa code must be
+position-independent code (PIC), this option disables PIC for compiling
+kernel code.
+
@item -mtext-section-literals
@itemx -mno-text-section-literals
@opindex mtext-section-literals