From 1e0f0b4d0191263e35d81a3670d56bf639be274a Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 5 Oct 2016 16:44:07 +1030 Subject: -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. --- binutils/cxxfilt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'binutils/cxxfilt.c') diff --git a/binutils/cxxfilt.c b/binutils/cxxfilt.c index 5a3b334..d5863ee 100644 --- a/binutils/cxxfilt.c +++ b/binutils/cxxfilt.c @@ -87,7 +87,7 @@ print_demangler_list (FILE *stream) fprintf (stream, "}"); } -static void +ATTRIBUTE_NORETURN static void usage (FILE *stream, int status) { fprintf (stream, "\ -- cgit v1.1