aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-08-21 21:18:57 +0000
committerIan Lance Taylor <ian@airs.com>1995-08-21 21:18:57 +0000
commita5e03353aeeb71c17d72dc53351c79cc9e5bb188 (patch)
tree3b813ebefec69972f4c22d30c54e1f096f523921 /gas/doc
parent4026c1222f74d1a3be4c1e7a8c6d18fbf798a912 (diff)
downloadgdb-a5e03353aeeb71c17d72dc53351c79cc9e5bb188.zip
gdb-a5e03353aeeb71c17d72dc53351c79cc9e5bb188.tar.gz
gdb-a5e03353aeeb71c17d72dc53351c79cc9e5bb188.tar.bz2
* as.c (parse_args): Accept --defsym SYM=VALUE.
* doc/as.texinfo, doc/as.1: Document --defsym.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/as.16
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/doc/as.1 b/gas/doc/as.1
index 6b977fe..451ce5b 100644
--- a/gas/doc/as.1
+++ b/gas/doc/as.1
@@ -13,6 +13,7 @@ GNU as\-\-the portable GNU assembler.
.I file\c
\&\|]\|]
.RB "[\|" \-D "\|]"
+.RB "[\|" \-\-defsym\ SYM=VAL "\|]"
.RB "[\|" \-f "\|]"
.RB "[\|" \-I
.I path\c
@@ -147,6 +148,11 @@ other assemblers; it has no effect on \c
.B as\c
\&.
.TP
+.B \-\-defsym SYM=VALUE
+Define the symbol SYM to be VALUE before assembling the input file.
+VALUE must be an integer constant. As in C, a leading 0x indicates a
+hexadecimal value, and a leading 0 indicates an octal value.
+.TP
.B \-f
``fast''--skip preprocessing (assume source is compiler output).
.TP