diff options
author | claziss <claziss@synopsys.com> | 2017-05-23 12:18:10 +0200 |
---|---|---|
committer | claziss <claziss@synopsys.com> | 2017-05-23 12:18:10 +0200 |
commit | 8e7f04f17c60069143078dafd3d3eb8cd15f10fb (patch) | |
tree | c8915be67358cc413e04cf971eef470c3f9b71f3 /bfd/elf32-arc.c | |
parent | 575dcd27f8be6ecd3f89539a8210a8d3f0a271b1 (diff) | |
download | gdb-8e7f04f17c60069143078dafd3d3eb8cd15f10fb.zip gdb-8e7f04f17c60069143078dafd3d3eb8cd15f10fb.tar.gz gdb-8e7f04f17c60069143078dafd3d3eb8cd15f10fb.tar.bz2 |
[ARC] Fix fall through warnings.
bfd/
2017-05-23 Dilian Palauzov <git-dpa@aegee.org>
* elf32-arc.c (arc_elf_merge_attributes): Add fall through
comments.
Diffstat (limited to 'bfd/elf32-arc.c')
-rw-r--r-- | bfd/elf32-arc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c index 3e99cab..ef0d893 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"; |