Use "bitfield" overflow detection for R_XSTORMY16_16 reloc.
[platform/upstream/binutils.git] / bfd / elf32-xstormy16.c
index 2964d34..a5b2869 100644 (file)
@@ -96,7 +96,7 @@ static reloc_howto_type xstormy16_elf_howto_table [] =
         16,                    /* bitsize */
         FALSE,                 /* pc_relative */
         0,                     /* bitpos */
-        complain_overflow_dont, /* complain_on_overflow */
+        complain_overflow_bitfield, /* complain_on_overflow */
         bfd_elf_generic_reloc, /* special_function */
         "R_XSTORMY16_16",      /* name */
         FALSE,                 /* partial_inplace */