Tell the compiler that this function never returns, may help with
optimizations.
Change-Id: I07e4bdc5c83436e497db02394eccfbf44063f090
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
#endif
#if !defined __OPTIMIZE__ || defined UATOMIC_NO_LINK_ERROR
#endif
#if !defined __OPTIMIZE__ || defined UATOMIC_NO_LINK_ERROR
-static inline __attribute__((always_inline))
+static inline __attribute__((always_inline, noreturn))
void _uatomic_link_error(void)
{
#ifdef ILLEGAL_INSTR
void _uatomic_link_error(void)
{
#ifdef ILLEGAL_INSTR