aboutsummaryrefslogtreecommitdiff
path: root/sim/common/nltvals.def
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-04-21 02:30:21 -0400
committerMike Frysinger <vapier@gentoo.org>2015-04-21 03:10:16 -0400
commit767e68f1b93be396e0cf1296a11584dd725b9569 (patch)
tree70b6bc3952f2368fd0b582e8fe72a4b799348603 /sim/common/nltvals.def
parent248d23e82bc9430cdb6424a5b6b48999cf4001db (diff)
downloadfsf-binutils-gdb-767e68f1b93be396e0cf1296a11584dd725b9569.zip
fsf-binutils-gdb-767e68f1b93be396e0cf1296a11584dd725b9569.tar.gz
fsf-binutils-gdb-767e68f1b93be396e0cf1296a11584dd725b9569.tar.bz2
sim: mcore: switch to common syscall handling
Now that libgloss has a header tracking the syscalls for this arch, we can update the database to include it for the symbolic constants/maps. Then we can switch the mcore syscall callbacks over to the common ones.
Diffstat (limited to 'sim/common/nltvals.def')
-rw-r--r--sim/common/nltvals.def18
1 files changed, 18 insertions, 0 deletions
diff --git a/sim/common/nltvals.def b/sim/common/nltvals.def
index b0dbbcf..3f82d47 100644
--- a/sim/common/nltvals.def
+++ b/sim/common/nltvals.def
@@ -366,6 +366,24 @@
/* end m32r sys target macros */
#endif
#endif
+#ifdef NL_TARGET_mcore
+#ifdef sys_defs
+/* from syscall.h */
+/* begin mcore sys target macros */
+ { "SYS_access", 33 },
+ { "SYS_close", 6 },
+ { "SYS_creat", 8 },
+ { "SYS_link", 9 },
+ { "SYS_lseek", 19 },
+ { "SYS_open", 5 },
+ { "SYS_read", 3 },
+ { "SYS_time", 13 },
+ { "SYS_times", 43 },
+ { "SYS_unlink", 10 },
+ { "SYS_write", 4 },
+/* end mcore sys target macros */
+#endif
+#endif
#ifdef NL_TARGET_mn10200
#ifdef sys_defs
/* from syscall.h */