[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.
This commit is contained in:
parent
575dcd27f8
commit
8e7f04f17c
|
@ -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>
|
2017-05-22 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* elf64-x86-64.c (elf_x86_64_link_setup_gnu_properties): Use
|
* elf64-x86-64.c (elf_x86_64_link_setup_gnu_properties): Use
|
||||||
|
|
|
@ -728,9 +728,11 @@ arc_elf_merge_attributes (bfd *ibfd, struct bfd_link_info *info)
|
||||||
|
|
||||||
case Tag_ARC_ABI_pic:
|
case Tag_ARC_ABI_pic:
|
||||||
tagname = "PIC";
|
tagname = "PIC";
|
||||||
|
/* fall through */
|
||||||
case Tag_ARC_ABI_sda:
|
case Tag_ARC_ABI_sda:
|
||||||
if (!tagname)
|
if (!tagname)
|
||||||
tagname = "SDA";
|
tagname = "SDA";
|
||||||
|
/* fall through */
|
||||||
case Tag_ARC_ABI_tls:
|
case Tag_ARC_ABI_tls:
|
||||||
{
|
{
|
||||||
const char *tagval[] = { "Absent", "MWDT", "GNU" };
|
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:
|
case Tag_ARC_ABI_double_size:
|
||||||
tagname = "Double size";
|
tagname = "Double size";
|
||||||
|
/* fall through */
|
||||||
case Tag_ARC_ABI_enumsize:
|
case Tag_ARC_ABI_enumsize:
|
||||||
if (!tagname)
|
if (!tagname)
|
||||||
tagname = "Enum size";
|
tagname = "Enum size";
|
||||||
|
/* fall through */
|
||||||
case Tag_ARC_ABI_exceptions:
|
case Tag_ARC_ABI_exceptions:
|
||||||
if (!tagname)
|
if (!tagname)
|
||||||
tagname = "ABI exceptions";
|
tagname = "ABI exceptions";
|
||||||
|
|
Loading…
Reference in New Issue