Fix PR ld/20545 - relaxation bugs in avr backend
[deliverable/binutils-gdb.git] / bfd / coff-z8k.c
index 5f7f952e23f93055ee14862260eafcd57d63b7d0..d74cc5c929bde450f8bbabaf5be99dccb9f50915 100644 (file)
@@ -263,7 +263,7 @@ extra_case (bfd *in_abfd,
        if (gap & 1)
          abort ();
        gap /= 2;
-       if (gap > 128 || gap < -128)
+       if (gap > 127 || gap < -128)
          (*link_info->callbacks->reloc_overflow)
            (link_info, NULL, bfd_asymbol_name (*reloc->sym_ptr_ptr),
             reloc->howto->name, reloc->addend, input_section->owner,
This page took 0.02425 seconds and 4 git commands to generate.