diff options
author | Cupertino Miranda <cmiranda@synopsys.com> | 2018-08-01 17:22:07 +0100 |
---|---|---|
committer | Cupertino Miranda <cmiranda@synopsys.com> | 2018-10-01 12:42:11 +0100 |
commit | 0411fca5ec2a6adb96ed768f70ed468435d778ea (patch) | |
tree | 2d337e904e57ced7ca021e8740acd3712ee11077 /include | |
parent | ab16fcd743b8fc963e736f7d00e3c2f039ce0d56 (diff) | |
download | binutils-gdb-0411fca5ec2a6adb96ed768f70ed468435d778ea.tar.gz |
[ARC] Fixes TLS failures related to tls-align.
This patch fixes glibc testcase in nptl/tls-align.
bfd/
2018-08-01 Cupertino Miranda <cmiranda@synopsys.com>
* arc-got.h (relocate_fix_got_relocs_for_got_info): Changed, fixed
TCB_SIZE offsize to include section alignment.
* elf32-arc.c (arc_special_overflow_checks): Likewise.
include/
2018-08-01 Cupertino Miranda <cmiranda@synopsys.com>
* arc-reloc.def (ARC_TLS_LE_32): Updated reloc formula.
Diffstat (limited to 'include')
-rw-r--r-- | include/elf/arc-reloc.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/elf/arc-reloc.def b/include/elf/arc-reloc.def index a6db724da94..e1c69c9d70c 100644 --- a/include/elf/arc-reloc.def +++ b/include/elf/arc-reloc.def @@ -489,7 +489,7 @@ ARC_RELOC_HOWTO(ARC_TLS_LE_32, 75, \ 32, \ replace_word32, \ dont, \ - ( ME ( ( ( ( S + A ) + TCB_SIZE ) - TLS_REL ) ) )) + ( ME ( ( ( ( S + A ) + TLS_TBSS ) - TLS_REL ) ) )) ARC_RELOC_HOWTO(ARC_S25W_PCREL_PLT, 76, \ 2, \ |