aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c/Makefile.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-04-18 22:31:19 -0400
committerMike Frysinger <vapier@gentoo.org>2021-04-18 23:01:08 -0400
commitf956ecde56495cbcd5f8a3b440220090ee39ff56 (patch)
treeae897b81fbdce2334a3ee8109a171ce9c6fa048d /sim/m32c/Makefile.in
parent2390d779430a64350be827929a0ebf73155f4fd7 (diff)
downloadgdb-f956ecde56495cbcd5f8a3b440220090ee39ff56.zip
gdb-f956ecde56495cbcd5f8a3b440220090ee39ff56.tar.gz
gdb-f956ecde56495cbcd5f8a3b440220090ee39ff56.tar.bz2
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 :).
Diffstat (limited to 'sim/m32c/Makefile.in')
-rw-r--r--sim/m32c/Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/m32c/Makefile.in b/sim/m32c/Makefile.in
index 186c9c0..15ade0b 100644
--- a/sim/m32c/Makefile.in
+++ b/sim/m32c/Makefile.in
@@ -18,6 +18,9 @@
### You should have received a copy of the GNU General Public License
### along with this program. If not, see <http://www.gnu.org/licenses/>.
+# This selects the newlib/libgloss syscall definitions.
+NL_TARGET = -DNL_TARGET_m32c
+
## COMMON_PRE_CONFIG_FRAG
SIM_EXTRA_CFLAGS = -Wall -DTIMER_A