diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-12-30 09:12:36 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-12-30 09:12:36 +0000 |
commit | 9220438ca50bd7de2da409f3444f97f012554f9f (patch) | |
tree | dd3b8473df780a18fb8f24dc1395c96dfa3ae105 /sim/cr16/ChangeLog | |
parent | 2f2f5c674db2e295e7c42ca55cb4b409a749ed48 (diff) | |
download | ppe42-binutils-9220438ca50bd7de2da409f3444f97f012554f9f.tar.gz ppe42-binutils-9220438ca50bd7de2da409f3444f97f012554f9f.zip |
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>
Diffstat (limited to 'sim/cr16/ChangeLog')
-rw-r--r-- | sim/cr16/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog index 266c5a47bf..a9538d794f 100644 --- a/sim/cr16/ChangeLog +++ b/sim/cr16/ChangeLog @@ -1,3 +1,10 @@ +2011-12-30 Mike Frysinger <vapier@gentoo.org> + + PR sim/12862 + * simops.c (OP_C_C): Only handle TARGET_SYS_fork, TARGET_SYS_execve, + TARGET_SYS_pipe, TARGET_SYS_rename, and TARGET_SYS_chown when they + are defined. + 2011-12-03 Mike Frysinger <vapier@gentoo.org> * aclocal.m4: New file. |