* config/tc-mips.c (md_apply_fix): Make a branch to an odd address
authorIan Lance Taylor <ian@airs.com>
Tue, 28 Jan 1997 21:09:52 +0000 (21:09 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 28 Jan 1997 21:09:52 +0000 (21:09 +0000)
an error rather than a warning.

gas/ChangeLog
gas/config/tc-mips.c

index 999017dddfbb57f9ae387ba345bf5efcb59a20c3..cf6c8e7a19a704f0f1b04c21d5c900c0b409bf5f 100644 (file)
@@ -1,5 +1,8 @@
 Tue Jan 28 15:27:28 1997  Ian Lance Taylor  <ian@cygnus.com>
 
+       * config/tc-mips.c (md_apply_fix): Make a branch to an odd address
+       an error rather than a warning.
+
        * config/tc-mips.c (md_convert_frag): If the user explicitly
        requested an extended opcode, pass warn as true to mips16_immed.
 
index e6a1e2a041bafe57f6f3512b30962823ab5ddf60..828ebc0b87ebde9ef26fa52f471185766af62386 100644 (file)
@@ -8346,8 +8346,8 @@ md_apply_fix (fixP, valueP)
        * the current segment).
        */
       if ((value & 0x3) != 0)
-       as_warn_where (fixP->fx_file, fixP->fx_line,
-                      "Branch to odd address (%lx)", value);
+       as_bad_where (fixP->fx_file, fixP->fx_line,
+                     "Branch to odd address (%lx)", value);
       value >>= 2;
 
       /* update old instruction data */
This page took 0.033354 seconds and 4 git commands to generate.