aboutsummaryrefslogtreecommitdiff
path: root/gas/as.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-04-10 13:00:02 +0000
committerAlan Modra <amodra@gmail.com>2002-04-10 13:00:02 +0000
commitedde18a5779830b43398f9f658f1705c50924fdc (patch)
tree1e10469ba583529ee480b1a0e215857c750697e1 /gas/as.c
parent8cfda98c96e1f0ed4da4d3fc7f05ab62f80a1bca (diff)
downloadgdb-edde18a5779830b43398f9f658f1705c50924fdc.zip
gdb-edde18a5779830b43398f9f658f1705c50924fdc.tar.gz
gdb-edde18a5779830b43398f9f658f1705c50924fdc.tar.bz2
* as.c (parse_args <OPTION_VERSION>): Use VERSION is
BFD_VERSION_STRING unavailable. * config/tc-i386.c (INLINE): Define (for non-BFD assembler).
Diffstat (limited to 'gas/as.c')
-rw-r--r--gas/as.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/as.c b/gas/as.c
index dab04e9..1a46207 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -524,7 +524,11 @@ parse_args (pargc, pargv)
case OPTION_VERSION:
/* This output is intended to follow the GNU standards document. */
+#ifdef BFD_ASSEMBLER
printf (_("GNU assembler %s\n"), BFD_VERSION_STRING);
+#else
+ printf (_("GNU assembler %s\n"), VERSION);
+#endif
printf (_("Copyright 2002 Free Software Foundation, Inc.\n"));
printf (_("\
This program is free software; you may redistribute it under the terms of\n\