TI C54x target.
[deliverable/binutils-gdb.git] / gas / as.c
index 647f4befbeeeb2a53f478a7011226df98ae144dc..f22120727ea4e19d97ba000a806b0a6b45761e29 100644 (file)
--- a/gas/as.c
+++ b/gas/as.c
@@ -322,7 +322,8 @@ Options:\n\
 
   md_show_usage (stream);
 
-  fprintf (stream, _("\nReport bugs to bug-gnu-utils@gnu.org\n"));
+  fputc ('\n', stream);
+  fprintf (stream, _("Report bugs to %s\n"), REPORT_BUGS_TO);
 }
 
 /*
@@ -513,7 +514,7 @@ parse_args (pargc, pargv)
        case OPTION_VERSION:
          /* This output is intended to follow the GNU standards document.  */
          printf (_("GNU assembler %s\n"), VERSION);
-         printf (_("Copyright 1997 Free Software Foundation, Inc.\n"));
+         printf (_("Copyright 2000 Free Software Foundation, Inc.\n"));
          printf (_("\
 This program is free software; you may redistribute it under the terms of\n\
 the GNU General Public License.  This program has absolutely no warranty.\n"));
@@ -545,7 +546,7 @@ the GNU General Public License.  This program has absolutely no warranty.\n"));
        case OPTION_DEFSYM:
          {
            char *s;
-           long i;
+           valueT i;
            struct defsym_list *n;
 
            for (s = optarg; *s != '\0' && *s != '='; s++)
@@ -553,7 +554,11 @@ the GNU General Public License.  This program has absolutely no warranty.\n"));
            if (*s == '\0')
              as_fatal (_("bad defsym; format is --defsym name=value"));
            *s++ = '\0';
+#ifdef BFD_ASSEMBLER
+           i = bfd_scan_vma (s, (const char **) NULL, 0);
+#else
            i = strtol (s, (char **) NULL, 0);
+#endif
            n = (struct defsym_list *) xmalloc (sizeof *n);
            n->next = defsyms;
            n->name = optarg;
@@ -671,6 +676,9 @@ the GNU General Public License.  This program has absolutely no warranty.\n"));
        case 'a':
          if (optarg)
            {
+             if (md_parse_option (optc, optarg) != 0)
+               break;
+
              while (*optarg)
                {
                  switch (*optarg)
This page took 0.023605 seconds and 4 git commands to generate.