* elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my
authorJakub Jelinek <jakub@redhat.com>
Fri, 22 Feb 2002 10:03:03 +0000 (10:03 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 22 Feb 2002 10:03:03 +0000 (10:03 +0000)
last patch.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.

bfd/ChangeLog
bfd/elf64-sh64.c
bfd/elf64-x86-64.c

index c6fca849c428ac3e85dff160765b4ebef25f8bb4..c92ae2e5d6d32521ab6484ebf1003a3448e18f95 100644 (file)
@@ -1,3 +1,9 @@
+2002-02-22  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my
+       last patch.
+       * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
+
 2002-02-21  Andreas Jaeger  <aj@suse.de>
 
        * elf64-x86-64.c: Major rework that introduces all recent changes
index 901bfa5bda6b89821c5be42c8b32130d730280a0..5b11aa869543977fbc6651f1958676bce4e88659 100644 (file)
@@ -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
index 32bf260483d7faaa1d4888fd8912270e9949ee31..f2d2e64d50260f9e23fe3d7d839b3922ab44e875 100644 (file)
@@ -1776,7 +1776,7 @@ elf64_x86_64_relocate_section (output_bfd, info, input_bfd, input_section,
                                         rel->r_offset);
              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