mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-01 14:31:54 +00:00
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.
This commit is contained in:
parent
b19686e08b
commit
de8bee766b
@ -1,3 +1,10 @@
|
||||
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.
|
||||
|
||||
2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
|
||||
|
||||
* elf32-arm.c (elf32_arm_nabi_grok_psinfo): Fill in core_pid.
|
||||
|
@ -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. */
|
||||
|
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user