PR ld/10047
[deliverable/binutils-gdb.git] / bfd / elf32-xtensa.c
index 856d8a91c4d7262fb9e42ab559c650fa30dba4d2..0315c2ff4f49b7a12052fadc03333e7e2cc42a9c 100644 (file)
@@ -10015,12 +10015,7 @@ relax_property_section (bfd *abfd,
          if (remove_this_rel)
            {
              offset_rel->r_info = ELF32_R_INFO (0, R_XTENSA_NONE);
-             /* In case this is the last entry, move the relocation offset
-                to the previous entry, if there is one.  */
-             if (offset_rel->r_offset >= bytes_to_remove)
-               offset_rel->r_offset -= bytes_to_remove;
-             else
-               offset_rel->r_offset = 0;
+             offset_rel->r_offset = 0;
            }
 
          if (bytes_to_remove != 0)
This page took 0.024741 seconds and 4 git commands to generate.