diff options
Diffstat (limited to 'sysdeps/arc/abort-instr.h')
-rw-r--r-- | sysdeps/arc/abort-instr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/arc/abort-instr.h b/sysdeps/arc/abort-instr.h new file mode 100644 index 0000000000..49f33613c4 --- /dev/null +++ b/sysdeps/arc/abort-instr.h @@ -0,0 +1,2 @@ +/* FLAG 1 is privilege mode only instruction, hence will crash any program. */ +#define ABORT_INSTRUCTION asm ("flag 1") |