mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
-Wimplicit-fallthrough noreturn fixes
binutils/ * cxxfilt.c (usage): Add ATTRIBUTE_NORETURN. * elfedit.c (usage): Likewise. * nm.c (usage): Likewise. * objcopy.c (copy_usage, strip_usage): Likewise. * srconv.c (show_usage): Likewise. * strings.c (usage): Likewise. * sysdump.c (show_usage): Likewise. * srconv.c: Remove unneeded forward function declarations. * strings.c: Likewise. * sysdump.c: Likewise. gas/ * as.h (as_assert): Add ATTRIBUTE_NORETURN.
This commit is contained in:
@ -512,7 +512,7 @@ static bfd_boolean write_debugging_info (bfd *, void *, long *, asymbol ***);
|
||||
static const char *lookup_sym_redefinition (const char *);
|
||||
static const char *find_section_rename (const char *, flagword *);
|
||||
|
||||
static void
|
||||
ATTRIBUTE_NORETURN static void
|
||||
copy_usage (FILE *stream, int exit_status)
|
||||
{
|
||||
fprintf (stream, _("Usage: %s [option(s)] in-file [out-file]\n"), program_name);
|
||||
@ -646,7 +646,7 @@ copy_usage (FILE *stream, int exit_status)
|
||||
exit (exit_status);
|
||||
}
|
||||
|
||||
static void
|
||||
ATTRIBUTE_NORETURN static void
|
||||
strip_usage (FILE *stream, int exit_status)
|
||||
{
|
||||
fprintf (stream, _("Usage: %s <option(s)> in-file(s)\n"), program_name);
|
||||
|
Reference in New Issue
Block a user