aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@gmail.com>2015-03-22 07:59:48 +0000
committerMarcus Shawcroft <marcus.shawcroft@arm.com>2015-03-23 15:20:30 +0000
commit9b9971aac7b89596695f15ed4763d9fd2b876ca8 (patch)
tree68086ce2238c556d522e3341deb7213b84963164 /bfd
parent23956543da73914601924cb5e4db829082dfee83 (diff)
downloadgdb-9b9971aac7b89596695f15ed4763d9fd2b876ca8.zip
gdb-9b9971aac7b89596695f15ed4763d9fd2b876ca8.tar.gz
gdb-9b9971aac7b89596695f15ed4763d9fd2b876ca8.tar.bz2
[AArch64] Remove unused variable.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elfnn-aarch64.c5
2 files changed, 6 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index fc155bd..478a9f1 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,9 @@
2015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com>
+ * elfnn-aarch64.c (elfNN_aarch64_size_stubs): Remove bfd_indx.
+
+2015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com>
+
* elfnn-aarch64.c (aarch64_erratum_835769_fixes)
(num_aarch64_erratum_835769_fixes): Remove.
(elfNN_aarch64_size_stubs): Remove assignments to above.
diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c
index 5d47f8e..65dab9a 100644
--- a/bfd/elfnn-aarch64.c
+++ b/bfd/elfnn-aarch64.c
@@ -3191,13 +3191,12 @@ elfNN_aarch64_size_stubs (bfd *output_bfd,
while (1)
{
bfd *input_bfd;
- unsigned int bfd_indx;
asection *stub_sec;
unsigned prev_num_erratum_835769_fixes = num_erratum_835769_fixes;
num_erratum_835769_fixes = 0;
- for (input_bfd = info->input_bfds, bfd_indx = 0;
- input_bfd != NULL; input_bfd = input_bfd->link.next, bfd_indx++)
+ for (input_bfd = info->input_bfds;
+ input_bfd != NULL; input_bfd = input_bfd->link.next)
{
Elf_Internal_Shdr *symtab_hdr;
asection *section;