From: claziss Date: Tue, 23 May 2017 10:18:10 +0000 (+0200) Subject: [ARC] Fix fall through warnings. X-Git-Tag: users/hjl/linux/release/2.28.51.0.1~1^2~27^2~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8e7f04f17c60069143078dafd3d3eb8cd15f10fb;p=thirdparty%2Fbinutils-gdb.git [ARC] Fix fall through warnings. bfd/ 2017-05-23 Dilian Palauzov * elf32-arc.c (arc_elf_merge_attributes): Add fall through comments. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d788a375cb2..4d15e1a75ac 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2017-05-23 Dilian Palauzov + + * elf32-arc.c (arc_elf_merge_attributes): Add fall through + comments. + 2017-05-22 H.J. Lu * elf64-x86-64.c (elf_x86_64_link_setup_gnu_properties): Use diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c index 3e99cab7361..ef0d89340df 100644 --- a/bfd/elf32-arc.c +++ b/bfd/elf32-arc.c @@ -728,9 +728,11 @@ arc_elf_merge_attributes (bfd *ibfd, struct bfd_link_info *info) case Tag_ARC_ABI_pic: tagname = "PIC"; + /* fall through */ case Tag_ARC_ABI_sda: if (!tagname) tagname = "SDA"; + /* fall through */ case Tag_ARC_ABI_tls: { const char *tagval[] = { "Absent", "MWDT", "GNU" }; @@ -756,9 +758,11 @@ arc_elf_merge_attributes (bfd *ibfd, struct bfd_link_info *info) case Tag_ARC_ABI_double_size: tagname = "Double size"; + /* fall through */ case Tag_ARC_ABI_enumsize: if (!tagname) tagname = "Enum size"; + /* fall through */ case Tag_ARC_ABI_exceptions: if (!tagname) tagname = "ABI exceptions";