summaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2002-12-12 04:42:06 +0000
committerAlexandre Oliva <aoliva@redhat.com>2002-12-12 04:42:06 +0000
commit0b21fe778dca595524affaabd9666390a8fe01ea (patch)
tree27fb77712734087503ee73faf6916b0c5baa7952 /bfd/elfxx-mips.c
parent95c42f77dad5dc43865bf47fe015992848ed47df (diff)
downloadgdb-0b21fe778dca595524affaabd9666390a8fe01ea.tar.gz
* elfxx-mips.c (mips_elf_calculate_relocation): Don't divide
addend by 4.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index c20e444e81a..80a583bc60f 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -2561,7 +2561,6 @@ mips_elf_calculate_relocation (abfd, input_bfd, input_section, info,
case R_MIPS_PC16:
value = mips_elf_sign_extend (addend, 16) + symbol - p;
overflowed_p = mips_elf_overflow_p (value, 16);
- value = (bfd_vma) ((bfd_signed_vma) value / 4);
break;
case R_MIPS_GOT_HI16: