summaryrefslogtreecommitdiff
path: root/bfd/elf64-sh64.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2002-02-22 10:03:03 +0000
committerJakub Jelinek <jakub@redhat.com>2002-02-22 10:03:03 +0000
commit6763835b26b1fccdf5a8fab38bd00c6da17d8892 (patch)
tree257d19dbb56c46bf191d189ba20e46fd454355e3 /bfd/elf64-sh64.c
parent0b1a1eb1be735c3d24ecca2cc57a897e11fffb8a (diff)
downloadbinutils-redhat-6763835b26b1fccdf5a8fab38bd00c6da17d8892.tar.gz
* elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my
last patch. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
Diffstat (limited to 'bfd/elf64-sh64.c')
-rw-r--r--bfd/elf64-sh64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-sh64.c b/bfd/elf64-sh64.c
index 901bfa5bda..5b11aa8695 100644
--- a/bfd/elf64-sh64.c
+++ b/bfd/elf64-sh64.c
@@ -1754,7 +1754,7 @@ sh_elf64_relocate_section (output_bfd, info, input_bfd, input_section,
if (outrel.r_offset == (bfd_vma) -1)
skip = true;
- else if (outrel.r_offset == (bfd_vma) -1)
+ else if (outrel.r_offset == (bfd_vma) -2)
skip = true, relocate = true;
outrel.r_offset += (input_section->output_section->vma