sim: sh: switch syscalls to common nltvals
authorMike Frysinger <vapier@gentoo.org>
Mon, 19 Apr 2021 02:43:06 +0000 (22:43 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 19 Apr 2021 03:03:08 +0000 (23:03 -0400)
commitb7c5246bbfad67b60a820db5e548e665171645ec
tree3e3bf2509358ee5cdf3f8c89f6ded780c375ebe9
parentb3d4da0f120444d98d76bb56646af682d64907dd
sim: sh: switch syscalls to common nltvals

Rather than hand duplicate the syscall table, switch to the common
nltvals framework.  We have to tweak the constant names, but we get
everything else for free.  I made sure the constants have the same
values before & after too :).
sim/common/ChangeLog
sim/common/gennltvals.py
sim/common/nltvals.def
sim/sh/ChangeLog
sim/sh/Makefile.in
sim/sh/interp.c
sim/sh/syscall.h [deleted file]