This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] [AArch64] Remove unused variable.
- From: Marcus Shawcroft <mshawcroft at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 23 Mar 2015 15:34:55 -0000
- Subject: [binutils-gdb] [AArch64] Remove unused variable.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9b9971aac7b89596695f15ed4763d9fd2b876ca8
commit 9b9971aac7b89596695f15ed4763d9fd2b876ca8
Author: Marcus Shawcroft <marcus.shawcroft@gmail.com>
Date: Sun Mar 22 07:59:48 2015 +0000
[AArch64] Remove unused variable.
Diff:
---
bfd/ChangeLog | 4 ++++
bfd/elfnn-aarch64.c | 5 ++---
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;