aboutsummaryrefslogtreecommitdiff
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
commit544008aaf7f992ad762049cbd4d6c4216d006857 (patch)
tree6518ec626b5c93f40a369f833583b7900d04a0e1 /bfd/elf32-tic6x.c
parent901d9a916042f252777b454573dd650f6a367fb5 (diff)
downloadgdb-544008aaf7f992ad762049cbd4d6c4216d006857.zip
gdb-544008aaf7f992ad762049cbd4d6c4216d006857.tar.gz
gdb-544008aaf7f992ad762049cbd4d6c4216d006857.tar.bz2
* 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 77c6ad1..7ac6325 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)
{