summaryrefslogtreecommitdiff
path: root/bfd/elf32-tic6x.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-04-24 13:19:27 +0000
committerNick Clifton <nickc@redhat.com>2013-04-24 13:19:27 +0000
commit127920ddff64e0e33da02d28ae6fb1a0b1cafdaf (patch)
tree5ecae2a5dc70a38ca9a97e15f898b44c97869a98 /bfd/elf32-tic6x.c
parent681f445404024220067b112f7b0b560023673941 (diff)
downloadbinutils-redhat-127920ddff64e0e33da02d28ae6fb1a0b1cafdaf.tar.gz
* ecoff.c: casting the return value of BFD_ALIGN to int
* elf32-tic6x.c: removing unused variables * elf32-v850.c: redefine the type of a variable (int -> bfd_vma) * vms-alpha.c: initialize a variable
Diffstat (limited to 'bfd/elf32-tic6x.c')
-rw-r--r--bfd/elf32-tic6x.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/bfd/elf32-tic6x.c b/bfd/elf32-tic6x.c
index 77c6ad1a85..7ac6325f68 100644
--- a/bfd/elf32-tic6x.c
+++ b/bfd/elf32-tic6x.c
@@ -3313,8 +3313,6 @@ elf32_tic6x_size_dynamic_sections (bfd *output_bfd, struct bfd_link_info *info)
{
bfd_signed_vma *local_got;
bfd_signed_vma *end_local_got;
- char *local_tls_type;
- bfd_vma *local_tlsdesc_gotent;
bfd_size_type locsymcount;
Elf_Internal_Shdr *symtab_hdr;
asection *srel;
@@ -3355,8 +3353,7 @@ elf32_tic6x_size_dynamic_sections (bfd *output_bfd, struct bfd_link_info *info)
end_local_got = local_got + locsymcount;
s = htab->elf.sgot;
srel = htab->elf.srelgot;
- for (; local_got < end_local_got;
- ++local_got, ++local_tls_type, ++local_tlsdesc_gotent)
+ for (; local_got < end_local_got; ++local_got)
{
if (*local_got > 0)
{