]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
sim: m32c: switch syscalls to common nltvals
authorMike Frysinger <vapier@gentoo.org>
Mon, 19 Apr 2021 02:31:19 +0000 (22:31 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 19 Apr 2021 03:01:08 +0000 (23:01 -0400)
commitf956ecde56495cbcd5f8a3b440220090ee39ff56
treeae897b81fbdce2334a3ee8109a171ce9c6fa048d
parent2390d779430a64350be827929a0ebf73155f4fd7
sim: m32c: 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/m32c/ChangeLog
sim/m32c/Makefile.in
sim/m32c/syscall.h [deleted file]
sim/m32c/syscalls.c