diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-09-20 14:38:17 +0000 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-09-20 14:38:17 +0000 |
commit | 36c10a8ff3582413d06e87d993bfd02b6c115017 (patch) | |
tree | 5d25e8365ca677f135ff95ca2ba63202a68d92a4 /bfd/elf64-s390.c | |
parent | f3529cf1770de6810b38dc220d4194a1d5708705 (diff) | |
download | gdb-36c10a8ff3582413d06e87d993bfd02b6c115017.zip gdb-36c10a8ff3582413d06e87d993bfd02b6c115017.tar.gz gdb-36c10a8ff3582413d06e87d993bfd02b6c115017.tar.bz2 |
* 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-s390.c b/bfd/elf64-s390.c index 05be62f..da10f0c 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. */ |