]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my
authorJakub Jelinek <jakub@redhat.com>
Fri, 22 Feb 2002 10:06:18 +0000 (10:06 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 22 Feb 2002 10:06:18 +0000 (10:06 +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 3858d5ae54032301d94057e5f3009072187c63d8..aba4b4787fbfe295fa0289afd56fa2f203083be6 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-20  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
 
        * osf-core.c (osf_core_vec):  OSF/1 (Digital Unix) core files are
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 cdd36d1623f387cdb2f28a845fd573941f174048..87e5dbb16b51f5ab316888ef15ba775212306043 100644 (file)
@@ -1473,7 +1473,7 @@ elf64_x86_64_relocate_section (output_bfd, info, input_bfd, input_section,
                                         rela->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