gennltvals.sh: Add cr16 target sys macros.

nltvals.def: Rebuild.
This commit is contained in:
M R Swami Reddy 2008-04-08 08:44:51 +00:00
parent ae8aafe1c2
commit 2a3591b0e0
3 changed files with 45 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-02-12 M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
* gennltvals.sh: Add cr16.
* nltvals.def: Rebuild.
2007-10-11 Jesper Nilsson <jesper.nilsson@axis.com>
* callback.c (cb_is_stdin, cb_is_stdout, cb_is_stderr): Add functions.

View File

@ -37,6 +37,10 @@ $shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
# OBSOLETE $shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
# OBSOLETE "syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}"
dir=libgloss target=cr16
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
"syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}"
dir=libgloss target=fr30
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \
"syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}"

View File

@ -418,3 +418,39 @@
/* end v850 sys target macros */
#endif
#endif
#ifdef NL_TARGET_cr16
#ifdef sys_defs
/* from syscall.h */
/* begin cr16 sys target macros */
{ "SYS_ARG", 24 },
{ "SYS_chdir", 12 },
{ "SYS_chmod", 15 },
{ "SYS_chown", 16 },
{ "SYS_creat", 8 },
{ "SYS_execv", 11 },
{ "SYS_execve", 59 },
/*{ "SYS_exit", 1 }, REVISIT*/
{ "SYS_fork", 2 },
{ "SYS_fstat", 22 },
{ "SYS_getpid", 20 },
{ "SYS_isatty", 21 },
{ "SYS_kill", 60 },
{ "SYS_link", 9 },
{ "SYS_mknod", 14 },
{ "SYS_pipe", 42 },
{ "SYS_open", 0x401 },
{ "SYS_close", 0x402 },
{ "SYS_read", 0x403 },
{ "SYS_write", 0x404 },
{ "SYS_lseek", 0x405 },
{ "SYS_rename", 0x406 },
{ "SYS_unlink", 0x407 },
{ "SYS_exit", 0x410 },
{ "SYS_stat", 38 },
{ "SYS_time", 0x300 },
{ "SYS_utime", 201 },
{ "SYS_wait", 202 },
{ "SYS_wait4", 7 },
/* end cr16 sys target macros */
#endif
#endif