RISC-V: Fix TLS copy relocs
authorAndrew Waterman <andrew@sifive.com>
Wed, 28 Jun 2017 05:44:24 +0000 (22:44 -0700)
committerPalmer Dabbelt <palmer@dabbelt.com>
Thu, 29 Jun 2017 16:38:50 +0000 (09:38 -0700)
commit3df5cd139455a1448de00e1e173f3ce566a25a48
treee17f48a42944ff0a0c8fc6edb7d4df36b83de716
parenteb17d4137dc83a373b8968cd20b256fa8073a4ca
RISC-V: Fix TLS copy relocs

The dynrelro introduction wasn't implemented quite right for RISC-V,
as it didn't consider TLS copy relocs.

bfd/ChangeLog

2017-06-29  Andrew Waterman  <andrew@sifive.com>

        * elfnn-riscv.c (riscv_elf_adjust_dynamic_symbol): Fix TLS copy
        relocs.
bfd/ChangeLog
bfd/elfnn-riscv.c