From a5e03353aeeb71c17d72dc53351c79cc9e5bb188 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 21 Aug 1995 21:18:57 +0000 Subject: * as.c (parse_args): Accept --defsym SYM=VALUE. * doc/as.texinfo, doc/as.1: Document --defsym. --- gas/doc/as.1 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gas/doc') 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 -- cgit v1.1