aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2011-05-16 03:28:47 +0000
committerHans-Peter Nilsson <hp@axis.com>2011-05-16 03:28:47 +0000
commit0d7e0060b4d1b57c7a449370a10f3620f52ccd3d (patch)
tree8b2b28d2717a4436aeccd23e3658987cba463a64 /gas/doc
parent290351b813cfeeebe7414683c4bd7eeca87d4761 (diff)
downloadgdb-0d7e0060b4d1b57c7a449370a10f3620f52ccd3d.zip
gdb-0d7e0060b4d1b57c7a449370a10f3620f52ccd3d.tar.gz
gdb-0d7e0060b4d1b57c7a449370a10f3620f52ccd3d.tar.bz2
* config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
emitting ELF object. (md_show_usage): Only mention --pic if the assembler can generate ELF objects. * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a prerequisite for --pic being a valid option.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/c-cris.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/doc/c-cris.texi b/gas/doc/c-cris.texi
index 0ef16b9..ff27921 100644
--- a/gas/doc/c-cris.texi
+++ b/gas/doc/c-cris.texi
@@ -67,7 +67,8 @@ order to recognize the symbol syntax used for ELF (SVR4 PIC)
position-independent-code (@pxref{crispic}). This will also
affect expansion of instructions. The expansion with
@option{--pic} will use PC-relative rather than (slightly
-faster) absolute addresses in those expansions.
+faster) absolute addresses in those expansions. This option is only
+valid when generating ELF format object files.
@cindex @option{--march=@var{architecture}} command line option, CRIS
@cindex CRIS @option{--march=@var{architecture}} command line option