* config/tc-v850.c (md_assemble): Turn on fx_no_overflow for
authorJeff Law <law@redhat.com>
Tue, 29 Jul 1997 20:19:02 +0000 (20:19 +0000)
committerJeff Law <law@redhat.com>
Tue, 29 Jul 1997 20:19:02 +0000 (20:19 +0000)
        LO16, HI16 and HI16_S relocs.
pr12979

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

index 5e19e0be6d92814f6d85f09d57db4069c21aa2a7..97cfbbd2c915beb3d5ed9a68fd63aea6e3a0f54e 100644 (file)
@@ -1,3 +1,8 @@
+Tue Jul 29 14:20:43 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * config/tc-v850.c (md_assemble): Turn on fx_no_overflow for
+       LO16, HI16 and HI16_S relocs.
+
 Mon Jul 28 18:41:41 1997  Rob Savoye  <rob@chinadoll.cygnus.com>
 
         * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
index 5c920a2c0bdf65686db9cdfb9f16766e54947386..59dfb6cef47c368eb83f08cc4e45edc2fad53bcf 100644 (file)
@@ -887,6 +887,15 @@ md_assemble (str)
                              &fixups[i].exp, 
                              reloc_howto->pc_relative,
                              fixups[i].reloc);
+
+         switch (fixups[i].reloc)
+           {
+           case BFD_RELOC_LO16:
+           case BFD_RELOC_HI16:
+           case BFD_RELOC_HI16_S:
+             fixP->fx_no_overflow = 1;
+             break;
+           }
        }
       else
        {