summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2016-02-01 03:47:47 +0100
committerJan Kratochvil <jan.kratochvil@redhat.com>2016-02-01 03:47:47 +0100
commit0bc7245a3a6da700ed13bace22cdc157dc80f58d (patch)
tree897bd0391fb6ecd095c08efda9a49b50b381e98a /bfd
parent9c08af2d814450229cc11914cd9614b74a172642 (diff)
downloadbinutils-gdb-0bc7245a3a6da700ed13bace22cdc157dc80f58d.tar.gz
elf64-s390.c: Fix -Werror=misleading-indentation
../../bfd/elf64-s390.c: In function 'elf_s390_reloc_name_lookup': ../../bfd/elf64-s390.c:340:5: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation] if (strcasecmp (elf64_s390_vtinherit_howto.name, r_name) == 0) ^~ ../../bfd/elf64-s390.c:333:3: note: ...this 'for' clause, but it is not for (i = 0; ^~~ bfd/ * elf64-s390.c (elf_s390_reloc_name_lookup): Fix indentation.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf64-s390.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 83472f4f794..51444e6dec3 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2016-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * elf64-s390.c (elf_s390_reloc_name_lookup): Fix indentation.
+
2016-01-31 John David Anglin <danglin@gcc.gnu.org>
PR ld/19526
diff --git a/bfd/elf64-s390.c b/bfd/elf64-s390.c
index 3887e8d0169..1261044ad5a 100644
--- a/bfd/elf64-s390.c
+++ b/bfd/elf64-s390.c
@@ -337,10 +337,10 @@ elf_s390_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED,
&& strcasecmp (elf_howto_table[i].name, r_name) == 0)
return &elf_howto_table[i];
- if (strcasecmp (elf64_s390_vtinherit_howto.name, r_name) == 0)
- return &elf64_s390_vtinherit_howto;
- if (strcasecmp (elf64_s390_vtentry_howto.name, r_name) == 0)
- return &elf64_s390_vtentry_howto;
+ if (strcasecmp (elf64_s390_vtinherit_howto.name, r_name) == 0)
+ return &elf64_s390_vtinherit_howto;
+ if (strcasecmp (elf64_s390_vtentry_howto.name, r_name) == 0)
+ return &elf64_s390_vtentry_howto;
return NULL;
}