aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2009-01-23 17:46:21 +0000
committerNathan Sidwell <nathan@codesourcery.com>2009-01-23 17:46:21 +0000
commit278df34e1203e781f97b32320094e1831f5f9624 (patch)
tree029b7fdd1b46d8351a5dfb570dc23d6c41c69154 /gas/doc
parent3b2935444fe89c883ffe7964b69556f3580ee1ef (diff)
downloadgdb-278df34e1203e781f97b32320094e1831f5f9624.zip
gdb-278df34e1203e781f97b32320094e1831f5f9624.tar.gz
gdb-278df34e1203e781f97b32320094e1831f5f9624.tar.bz2
* doc/c-arm.texi (): Document -mwarn-deprecated.
* config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ... (warn_on_deprecated): ... this. (opcode_lookup, md_assemble): Check it before warning. (arm_opts): Add m[no-]warn-deprecated. (md_parse_option): Replace WARN_DEPRECATED with warn_on_deprecated.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/c-arm.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index 8b48c28..91c50b7 100644
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -291,6 +291,12 @@ as position-independent code (PIC).
Allow @code{BX} instructions in ARMv4 code. This is intended for use with
the linker option of the same name.
+@cindex @code{-mwarn-deprecated} command line option, ARM
+@item -mwarn-deprecated
+@itemx -mno-warn-deprecated
+Enable or disable warnings about using deprecated options or
+features. The default is to warn.
+
@end table