[ARC] Fixes TLS failures related to tls-align.
authorCupertino Miranda <cmiranda@synopsys.com>
Wed, 1 Aug 2018 16:22:07 +0000 (17:22 +0100)
committerCupertino Miranda <cmiranda@synopsys.com>
Mon, 1 Oct 2018 11:42:11 +0000 (12:42 +0100)
commit0411fca5ec2a6adb96ed768f70ed468435d778ea
tree2d337e904e57ced7ca021e8740acd3712ee11077
parentab16fcd743b8fc963e736f7d00e3c2f039ce0d56
[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.
bfd/arc-got.h
bfd/elf32-arc.c
include/elf/arc-reloc.def