summaryrefslogtreecommitdiff
path: root/bfd/elf64-s390.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2006-09-20 14:38:17 +0000
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-09-20 14:38:17 +0000
commitd758f7a7bf0a0cb2b3c069657adc7ca69552553d (patch)
tree09d2ce905c791cf6a78130d4ad4d38dd556a763a /bfd/elf64-s390.c
parenta390aecd9d563c8f94ed58776a5fcbe6fe1f6186 (diff)
downloadbinutils-redhat-d758f7a7bf0a0cb2b3c069657adc7ca69552553d.tar.gz
* elf32-s390.c (elf_s390_relocate_section): Remove check for code
section in LD to LE linker relaxation for R_390_TLS_LDO32. * elf64-s390.c (elf_s390_relocate_section): Likewise for R_390_TLS_LDO64.
Diffstat (limited to 'bfd/elf64-s390.c')
-rw-r--r--bfd/elf64-s390.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-s390.c b/bfd/elf64-s390.c
index 05be62fb26..da10f0c31f 100644
--- a/bfd/elf64-s390.c
+++ b/bfd/elf64-s390.c
@@ -2909,7 +2909,7 @@ elf_s390_relocate_section (output_bfd, info, input_bfd, input_section,
continue;
case R_390_TLS_LDO64:
- 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. */