diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-12-22 15:00:44 +0000 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-12-22 15:00:44 +0000 |
commit | de8bee766b6bf227b4fd9cd65f64c8c64795760a (patch) | |
tree | c48133ef93ec3574d22a15527ebffdc003be07dd /bfd/elf32-s390.c | |
parent | b19686e08b06fc87494cc72e9df6d5993401831a (diff) | |
download | fsf-binutils-gdb-de8bee766b6bf227b4fd9cd65f64c8c64795760a.zip fsf-binutils-gdb-de8bee766b6bf227b4fd9cd65f64c8c64795760a.tar.gz fsf-binutils-gdb-de8bee766b6bf227b4fd9cd65f64c8c64795760a.tar.bz2 |
2011-12-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
* elf32-s390.c (elf_s390_relocate_section): Add check for debugging
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/elf32-s390.c')
-rw-r--r-- | bfd/elf32-s390.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-s390.c b/bfd/elf32-s390.c index 2cfd53e..bb58670 100644 --- a/bfd/elf32-s390.c +++ b/bfd/elf32-s390.c @@ -2862,7 +2862,7 @@ elf_s390_relocate_section (output_bfd, info, input_bfd, input_section, continue; case R_390_TLS_LDO32: - if (info->shared) + if (info->shared || (input_section->flags & SEC_DEBUGGING)) relocation -= dtpoff_base (info); else /* When converting LDO to LE, we must negate. */ |