aboutsummaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-10-05 16:44:07 +1030
committerAlan Modra <amodra@gmail.com>2016-10-06 09:40:30 +1030
commit1e0f0b4d0191263e35d81a3670d56bf639be274a (patch)
tree28044a8a1465af050024a631369d532e8a8f162f /gas/as.h
parent2b804145796e948fa4c025c07eb201e700281e6b (diff)
downloadgdb-1e0f0b4d0191263e35d81a3670d56bf639be274a.zip
gdb-1e0f0b4d0191263e35d81a3670d56bf639be274a.tar.gz
gdb-1e0f0b4d0191263e35d81a3670d56bf639be274a.tar.bz2
-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.
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/as.h b/gas/as.h
index 169c714..9fa9389 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -459,7 +459,7 @@ PRINTF_LIKE (as_warn);
PRINTF_WHERE_LIKE (as_bad_where);
PRINTF_WHERE_LIKE (as_warn_where);
-void as_assert (const char *, int, const char *);
+void as_assert (const char *, int, const char *) ATTRIBUTE_NORETURN;
void as_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
void sprint_value (char *, addressT);
int had_errors (void);