diff options
Diffstat (limited to 'sysdeps/nios2/abort-instr.h')
-rw-r--r-- | sysdeps/nios2/abort-instr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/nios2/abort-instr.h b/sysdeps/nios2/abort-instr.h new file mode 100644 index 0000000000..17502e4a70 --- /dev/null +++ b/sysdeps/nios2/abort-instr.h @@ -0,0 +1,2 @@ +/* An instruction which should crash any program is an unused trap. */ +#define ABORT_INSTRUCTION asm ("trap 31") |