summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/nios2/crt1.S
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-01-27 22:33:34 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-01-27 22:34:47 +0100
commite6acefa2ddd445e7e13aa89ced6d184a08ad8da6 (patch)
tree963add8ce9b30835eab0c01dbd1e68f9c145dfb5 /libc/sysdeps/linux/nios2/crt1.S
parent61cf47568f3f81589cc4462945832c18ec3af410 (diff)
nios2: allow to build toolchain
At least allow to compile a toolchain targeting nios2 without MMU.
Diffstat (limited to 'libc/sysdeps/linux/nios2/crt1.S')
-rw-r--r--libc/sysdeps/linux/nios2/crt1.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/nios2/crt1.S b/libc/sysdeps/linux/nios2/crt1.S
index 7bf4e37b6..c178452ae 100644
--- a/libc/sysdeps/linux/nios2/crt1.S
+++ b/libc/sysdeps/linux/nios2/crt1.S
@@ -14,6 +14,7 @@
#include <features.h>
#include <asm/unistd.h>
+#define TRAP_ID_SYSCALL 0
.global _start
.type _start,@function