[committed] Fix PR binutils/941

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[committed] Fix PR binutils/941

John David Anglin-4
As per Jan's directions, the enclosed change fixes the "macros dot" fail.
Tested on hppa-unknown-linux-gnu.

Dave
--
J. David Anglin                                  [hidden email]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

2005-10-12  John David Anglin  <[hidden email]>

        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.  */