This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] Fix PR binutils/941
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: binutils at sources dot redhat dot com
- Date: Wed, 12 Oct 2005 21:08:58 -0400 (EDT)
- Subject: [committed] Fix PR binutils/941
As per Jan's directions, the enclosed change fixes the "macros dot" fail.
Tested on hppa-unknown-linux-gnu.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2005-10-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR binutils/941
* config/tc-hppa.c (pa_ip): Use as_bad instead of as_fatal when an
unknown opcode is found.
Index: config/tc-hppa.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-hppa.c,v
retrieving revision 1.125
diff -u -3 -p -r1.125 tc-hppa.c
--- config/tc-hppa.c 8 Oct 2005 19:01:28 -0000 1.125
+++ config/tc-hppa.c 13 Oct 2005 00:48:27 -0000
@@ -1622,7 +1622,8 @@ pa_ip (str)
break;
default:
- as_fatal (_("Unknown opcode: `%s'"), str);
+ as_bad (_("Unknown opcode: `%s'"), str);
+ return;
}
/* Look up the opcode in the has table. */