aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCupertino Miranda <cmiranda@synopsys.com>2018-11-09 15:49:29 +0000
committerCupertino Miranda <cmiranda@synopsys.com>2018-11-09 15:53:30 +0000
commit20b233dc4872717a845066b0362582ea4f483df7 (patch)
tree9296d3c880ed554c88b156948ecf8beeb4aa53b9 /bfd/elf32-arc.c
parent[ARC] More fixes for TLS. (diff)
downloadbinutils-gdb-20b233dc4872717a845066b0362582ea4f483df7.tar.gz
binutils-gdb-20b233dc4872717a845066b0362582ea4f483df7.tar.bz2
binutils-gdb-20b233dc4872717a845066b0362582ea4f483df7.zip
Fixed warning from previous patch. Added Changelog.
Diffstat (limited to 'bfd/elf32-arc.c')
-rw-r--r--bfd/elf32-arc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c
index e96b3f86974..69d8f6e97cb 100644
--- a/bfd/elf32-arc.c
+++ b/bfd/elf32-arc.c
@@ -2531,7 +2531,8 @@ arc_create_forced_local_got_entries_for_tls (struct bfd_hash_entry *bh,
while (list != NULL)
{
create_got_dynrelocs_for_single_entry (list, tmp->output_bfd,
- tmp->info, h);
+ tmp->info,
+ (struct elf_link_hash_entry *) h);
list = list->next;
}
}