sim: m32r: namespace Linux syscall table
authorMike Frysinger <vapier@gentoo.org>
Wed, 30 Jun 2021 22:39:17 +0000 (18:39 -0400)
committerMike Frysinger <vapier@gentoo.org>
Fri, 2 Jul 2021 00:36:42 +0000 (20:36 -0400)
commit33b477e1c7fc12b21934e5f8fa799c163a554b20
tree8feee070b0c577caf6d51018bbd7ec113a7f835e
parent72ab7b79dcb90f100f33cd750288a54a5c8d7536
sim: m32r: namespace Linux syscall table

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.
sim/m32r/ChangeLog
sim/m32r/syscall.h
sim/m32r/traps-linux.c
This page took 0.024789 seconds and 4 git commands to generate.