2011-12-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
[binutils.git] / bfd / elf64-s390.c
index 7d3e8821d93843ae7834a5279ee5b73fafe985b1..06f96a409b95830fd632e6b69c1f58fe5f04dd9d 100644 (file)
@@ -2861,7 +2861,7 @@ elf_s390_relocate_section (bfd *output_bfd,
          continue;
 
        case R_390_TLS_LDO64:
-         if (info->shared)
+         if (info->shared || (input_section->flags & SEC_DEBUGGING))
            relocation -= dtpoff_base (info);
          else
            /* When converting LDO to LE, we must negate.  */
This page took 0.023302 seconds and 4 git commands to generate.