diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/coff-z8k.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a66a9e3..694acbd 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2016-06-04 Christian Groessler <chris@groessler.org> + + * coff-z8k.c (extra_case): Fix range check for R_JR relocation. + 2016-06-02 Nick Clifton <nickc@redhat.com> PR target/20088 diff --git a/bfd/coff-z8k.c b/bfd/coff-z8k.c index 5f7f952..d74cc5c 100644 --- a/bfd/coff-z8k.c +++ b/bfd/coff-z8k.c @@ -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, |