2001-10-18 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 19 Oct 2001 02:11:04 +0000 (02:11 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 19 Oct 2001 02:11:04 +0000 (02:11 +0000)
* elf32-i370.c (i370_elf_relocate_section): Ignore R_XXX_NONE.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.

bfd/ChangeLog
bfd/elf32-i370.c
bfd/elf32-ppc.c

index 8d0b2207ea550a3a2dc55d67065de71bb606b313..e5afb2263bb2fd8875b7f945a7257a707f0e6564 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-18  H.J. Lu <hjl@gnu.org>
+
+       * elf32-i370.c (i370_elf_relocate_section): Ignore R_XXX_NONE.
+       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+
 2001-10-18  Jakub Jelinek  <jakub@redhat.com>
 
        * section.c (_bfd_strip_section_from_output): Don't count
index e4fe1b6ddd8417fda146eead3f1d4a514206513f..a93e9a7c1227ddfd3b8930837dcd959bb9e7ff8f 100644 (file)
@@ -1432,6 +1432,9 @@ i370_elf_relocate_section (output_bfd, info, input_bfd, input_section,
          ret = false;
          continue;
 
+       case (int)R_I370_NONE:
+         continue;
+
        /* Relocations that may need to be propagated if this is a shared
            object.  */
        case (int)R_I370_REL31:
@@ -1444,7 +1447,6 @@ i370_elf_relocate_section (output_bfd, info, input_bfd, input_section,
 
        /* Relocations that always need to be propagated if this is a shared
            object.  */
-       case (int)R_I370_NONE:
        case (int)R_I370_ADDR31:
        case (int)R_I370_ADDR16:
          if (info->shared)
index 28bba6566d1618180e69f9d13cfcc1c8ccad28f4..6dd826041fc35aceafd2da9dbf3524ae8982fbb9 100644 (file)
@@ -3128,6 +3128,9 @@ ppc_elf_relocate_section (output_bfd, info, input_bfd, input_section,
          ret = false;
          continue;
 
+       case (int) R_PPC_NONE:
+         continue;
+
        /* Relocations that need no special processing.  */
        case (int) R_PPC_LOCAL24PC:
          /* It makes no sense to point a local relocation
@@ -3163,7 +3166,6 @@ ppc_elf_relocate_section (output_bfd, info, input_bfd, input_section,
 
        /* Relocations that always need to be propagated if this is a shared
            object.  */
-       case (int) R_PPC_NONE:
        case (int) R_PPC_ADDR32:
        case (int) R_PPC_ADDR24:
        case (int) R_PPC_ADDR16:
This page took 0.033313 seconds and 4 git commands to generate.