[ARC] Fix fall through warnings.
authorclaziss <claziss@synopsys.com>
Tue, 23 May 2017 10:18:10 +0000 (12:18 +0200)
committerclaziss <claziss@synopsys.com>
Tue, 23 May 2017 10:18:10 +0000 (12:18 +0200)
bfd/
2017-05-23  Dilian Palauzov  <git-dpa@aegee.org>

* elf32-arc.c (arc_elf_merge_attributes): Add fall through
comments.

bfd/ChangeLog
bfd/elf32-arc.c

index d788a375cb225130c7f6481345fd337fcbd610ed..4d15e1a75acb76f3ff8993cf41dd1ff703799f77 100644 (file)
@@ -1,3 +1,8 @@
+2017-05-23  Dilian Palauzov  <git-dpa@aegee.org>
+
+       * elf32-arc.c (arc_elf_merge_attributes): Add fall through
+       comments.
+
 2017-05-22  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elf64-x86-64.c (elf_x86_64_link_setup_gnu_properties): Use
index 3e99cab7361d5f0afcea9413204126533c86fa46..ef0d89340df147c438e6616e942e3a191b540ddf 100644 (file)
@@ -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";