ARM: GCC < 4.3 has some issues with attribute no return on some functions. Fix so it works for older gccs.

This commit is contained in:
Ali Saidi 2010-06-02 12:58:03 -05:00
parent f18040a205
commit 8fadf2691d

View file

@ -89,5 +89,7 @@ def template BasicExecPanic {{
Fault execute(%(CPU_exec_context)s *, Trace::InstRecord *) const
{
panic("Execute method called when it shouldn't!");
// GCC < 4.3 fail to recognize the above panic as no return
return NoFault;
}
}};