diff options
author | Alan Modra <amodra@bigpond.net.au> | 2000-05-13 12:49:55 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2000-05-13 12:49:55 +0000 |
commit | 2658889f83d893f6e3842e1e89ebcd63ed80c916 (patch) | |
tree | 9c6b6ce5447f7ffa5d407da39348e2feaab727de /gas/as.c | |
parent | d541af7fde0e4663059d8930098e1c9b05116f52 (diff) | |
download | binutils-redhat-2658889f83d893f6e3842e1e89ebcd63ed80c916.tar.gz |
Add x86 gas -q option to quiet some x86 gas warnings.
Remove useless -m flag_do_long_jump from x86 gas.
If BFD_ASSEMBLER, store --defsym value in a bfd_vma, and use scan_bfd_vma.
Diffstat (limited to 'gas/as.c')
-rw-r--r-- | gas/as.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -546,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++) @@ -554,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; |