aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1997-09-10 22:15:31 +0000
committerNick Clifton <nickc@redhat.com>1997-09-10 22:15:31 +0000
commit43898c918f3ed9bd3391c5f63ed1e29beb778c4c (patch)
tree0bb2150c40deeec24329b705340eca29813afad7
parent8f050205ebeea879496f1331673dcd1e464debdc (diff)
downloadfsf-binutils-gdb-43898c918f3ed9bd3391c5f63ed1e29beb778c4c.zip
fsf-binutils-gdb-43898c918f3ed9bd3391c5f63ed1e29beb778c4c.tar.gz
fsf-binutils-gdb-43898c918f3ed9bd3391c5f63ed1e29beb778c4c.tar.bz2
Removed spurious error return.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-v850.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6c75123..0352425 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+Wed Sep 10 15:17:25 1997 Nick Clifton <nickc@cygnus.com>
+
+ * elf32-v850.c (v850_elf_reloc): Remove spurious error message.
+
Wed Sep 10 11:17:50 1997 Andrew Cagney <cagney@b1.cygnus.com>
* archures.c (bfd_default_scan): Use strcasecmp.
diff --git a/bfd/elf32-v850.c b/bfd/elf32-v850.c
index 92cee14..265c07c 100644
--- a/bfd/elf32-v850.c
+++ b/bfd/elf32-v850.c
@@ -707,8 +707,6 @@ v850_elf_reloc (abfd, reloc, symbol, data, isection, obfd, err)
case R_V850_LO16:
relocation += (short)bfd_get_16 (abfd, (bfd_byte *) data + reloc->address);
/* Do not complain if value has top bit set, as this has been anticipated. */
- if ((unsigned long)relocation > 0xffff)
- return bfd_reloc_overflow;
bfd_put_16 (abfd, relocation, (bfd_byte *)data + reloc->address);
return bfd_reloc_ok;