aboutsummaryrefslogtreecommitdiff
path: root/sim/m32r/syscall.h
AgeCommit message (Collapse)AuthorFilesLines
2021-07-01sim: m32r: namespace Linux syscall tableMike Frysinger1-273/+273
The use of __NR_ defines in here conflicts a lot with the standard host syscalls, sometimes leading to build errors (when the numbers happen to be the same we get duplicate case handlers), and other times leading to misbehavior (where the m32r syscall # is not what is actually checked). Namespace these using the standard that we already use: change the __NR_ to TARGET_LINUX_SYS_ with a simple `sed`. Also add a few missing includes so the code at least compiles.
2004-12-092004-12-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>Kazuhiro Inaoka1-0/+86
Committed by Kei Sakamoto. * traps-linux.c (m32r_trap): Add entries of the following dummy system calls: __NR_mmap2, __NR_lchown32, __NR_getuid32, __NR_getgid32, __NR_geteuid32, __NR_getegid32, __NR_getgroups32, __NR_fchown32, __NR_setfsuid32, __NR_setfsgid32, __NR_getresuid32, __NR_getresgid32 and __NR_chown32. * syscall.h: Add new definitions of system call number.
2003-12-19Add support for m32r-linux target, including a RELA ABI and PIC.Nick Clifton1-0/+195