aboutsummaryrefslogtreecommitdiff
path: root/gas/doc/as.texinfo
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2005-03-08 13:59:23 +0000
committerJan Beulich <jbeulich@novell.com>2005-03-08 13:59:23 +0000
commitfffeaa5fb101f4476b64cc4835124429155aaa29 (patch)
tree6a39d31c9e4ccd6498f98da608e03e40406cda94 /gas/doc/as.texinfo
parent5f579bc5f9ba6cc5a444fa49f25fbfa5274bd37b (diff)
downloadgdb-fffeaa5fb101f4476b64cc4835124429155aaa29.zip
gdb-fffeaa5fb101f4476b64cc4835124429155aaa29.tar.gz
gdb-fffeaa5fb101f4476b64cc4835124429155aaa29.tar.bz2
gas/
2004-03-08 Jan Beulich <jbeulich@novell.com> * doc/as.texinfo: Add sentence to indicate redefining a macro is an error, and point to .purgem documentation if someone really needs re-definitions. * NEWS: Mention macro redefinition is now an error.
Diffstat (limited to 'gas/doc/as.texinfo')
-rw-r--r--gas/doc/as.texinfo6
1 files changed, 4 insertions, 2 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index a22cb2a..124419c 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -4838,8 +4838,10 @@ With that definition, @samp{SUM 0,5} is equivalent to this assembly input:
Begin the definition of a macro called @var{macname}. If your macro
definition requires arguments, specify their names after the macro name,
separated by commas or spaces. You can supply a default value for any
-macro argument by following the name with @samp{=@var{deflt}}. For
-example, these are all valid @code{.macro} statements:
+macro argument by following the name with @samp{=@var{deflt}}. You
+cannot define two macros with the same @var{macname} unless it has been
+subject to the @code{.purgem} directive (@xref{Purgem}.) between the two
+definitions. For example, these are all valid @code{.macro} statements:
@table @code
@item .macro comm