]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/cr16/ChangeLog
sim: cr16: add ifdefs around undefined syscalls
authorMike Frysinger <vapier@gentoo.org>
Fri, 30 Dec 2011 09:12:36 +0000 (09:12 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 30 Dec 2011 09:12:36 +0000 (09:12 +0000)
commit9220438ca50bd7de2da409f3444f97f012554f9f
treedd3b8473df780a18fb8f24dc1395c96dfa3ae105
parent2f2f5c674db2e295e7c42ca55cb4b409a749ed48
sim: cr16: add ifdefs around undefined syscalls

The cr16 libgloss port does not define these syscall numbers, so trying
to use them results in build failures [1].  The cr16 code already uses
ifdefs around a bunch of syscalls, so extend that style to cover the
ones that are currently missing.  Now we can at least compile.

[1] http://sourceware.org/ml/gdb-patches/2011-06/msg00118.html
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
sim/cr16/ChangeLog
sim/cr16/simops.c