diff options
Diffstat (limited to 'bfd/elf32-v850.c')
-rw-r--r-- | bfd/elf32-v850.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-v850.c b/bfd/elf32-v850.c index 2965e29..d7aaed4 100644 --- a/bfd/elf32-v850.c +++ b/bfd/elf32-v850.c @@ -550,7 +550,7 @@ v850_elf_perform_relocation (bfd *abfd, addend = (addend >> 16) + ((addend & 0x8000) != 0); /* This relocation cannot overflow. */ - if (addend > 0x7fff) + if (addend > 0xffff) addend = 0; insn = addend; |