OSDN Git Service

* elf32-s390.c (elf_s390_relocate_section): Remove check for code
[pf3gnuchains/pf3gnuchains3x.git] / bfd / elf32-s390.c
index 7b3c2d3..b887640 100644 (file)
@@ -2927,7 +2927,7 @@ elf_s390_relocate_section (output_bfd, info, input_bfd, input_section,
          continue;
 
        case R_390_TLS_LDO32:
-         if (info->shared || (input_section->flags & SEC_CODE) == 0)
+         if (info->shared)
            relocation -= dtpoff_base (info);
          else
            /* When converting LDO to LE, we must negate.  */