Doug Evans
f7abc1ca0c
* Make-common.in (DEP, COMMON_DEP_CFLAGS): Define.
(LIB_OBJS): Add syscall.o.
(gentmap): Pass $(NL_TARGET) to $(CC).
(syscall.o): Add rule for.
(sim_main_headers): Add $(SIM_EXTRA_DEPS).
(sim-bits.o): Depend on $(sim-n-bits_h).
(sim-load.o): Depend on callback.h.
* Make-common.in (cgen-*.o): Update dependencies, mem-ops.h renamed to
cgen-mem.h, sem-ops.h renamed to cgen-ops.h.
* cgen-mem.h, cgen-ops.h: New files.
* aclocal.m4 (--enable-sim-scache): Pass -DWITH_SCACHE=0 for "=no".
* Makefile.in (nltvals.def): Depend on gennltvals.sh.
Rewrite build rule.
* callback.c: #include string.h or strings.h.
#include sys/types.h and sys/stat.h.
(cb_init_syscall_map,cb_init_errno_map,cb_init_open_map): Declare.
(enosys): New function.
(os_get_errno,os_open): Update.
(os_stat,os_fstat): New functions.
(os_init): Initialize syscall_map, errno_map, open_map.
(default_callback): Add entries for os_stat, os_fstat, syscall_map,
errno_map, open_map, signal_map, stat_map.
(cb_read_target_syscall_maps): New function.
(cb_target_to_host_syscall): New function.
(cb_host_to_target_errno): Renamed from host_to_target_errno.
(cb_target_to_host_open): Renamed from target_to_host_open.
(store): New function.
(cb_host_to_target_stat): New function.
* gentmap.c (sys_tdefs): New global.
(gen_targ_vals_h): Output target syscall numbers.
(gen_targ_map_c): Update. Output target syscall translation map.
* gentvals.sh: New first argument `target'. Preface table with
#ifdef NL_TARGET_$target if non-null target passed.
* gennltvals.sh: New file.
* nltvals.def: Regenerated.
1997-11-17 23:09:08 +00:00
..
1997-11-17 23:09:08 +00:00
1997-09-23 01:25:26 +00:00
1997-11-17 23:09:08 +00:00
1997-05-01 01:48:27 +00:00
1997-05-02 00:32:05 +00:00
1997-05-01 01:48:27 +00:00
1997-05-01 17:45:25 +00:00
1997-05-01 18:05:37 +00:00
1997-05-01 01:48:27 +00:00
1997-05-02 08:41:15 +00:00
1997-11-17 23:09:08 +00:00
1997-04-07 05:58:59 +00:00
1997-09-23 01:25:26 +00:00
1997-09-15 08:11:50 +00:00
1997-09-04 00:49:57 +00:00
1997-05-01 22:36:34 +00:00
1996-11-20 09:20:55 +00:00
1996-11-20 09:20:55 +00:00
1997-11-17 23:09:08 +00:00
1996-11-20 09:20:55 +00:00
1997-10-22 01:38:49 +00:00
1997-08-25 23:14:25 +00:00
1997-05-19 03:42:33 +00:00
1997-10-14 09:39:05 +00:00
1997-03-21 03:56:07 +00:00
1997-09-22 09:16:14 +00:00
1997-09-04 03:47:39 +00:00
1997-09-16 07:04:46 +00:00
1997-10-20 07:27:55 +00:00
1997-09-25 18:22:46 +00:00
1997-09-25 00:51:17 +00:00
1997-09-04 10:08:44 +00:00
1997-09-22 00:24:46 +00:00
1997-11-14 21:52:04 +00:00
1997-10-31 08:49:10 +00:00
1997-10-27 03:00:12 +00:00
1997-10-28 07:10:36 +00:00
1997-05-22 13:16:03 +00:00
1997-05-19 03:42:33 +00:00
1997-11-11 07:48:05 +00:00
1997-09-03 07:26:11 +00:00
1997-08-30 00:02:19 +00:00
1997-05-15 02:22:37 +00:00
1997-08-27 04:45:59 +00:00
1997-09-04 10:08:44 +00:00
1997-05-05 12:46:25 +00:00
1997-05-05 12:46:25 +00:00
1997-03-21 03:56:07 +00:00
1997-03-07 09:15:56 +00:00
1997-04-22 16:00:06 +00:00
1997-10-31 08:49:10 +00:00
1997-09-04 03:47:39 +00:00
1997-09-04 03:47:39 +00:00
1997-09-08 17:21:13 +00:00
1997-11-13 21:18:14 +00:00
1997-08-30 00:02:19 +00:00
1997-09-22 00:24:46 +00:00
1997-05-21 06:54:13 +00:00
1997-05-02 00:32:05 +00:00
1997-05-22 13:16:03 +00:00
1997-05-19 03:42:33 +00:00
1997-05-19 03:42:33 +00:00
1997-05-21 06:54:13 +00:00
1997-05-07 13:58:52 +00:00
1997-10-27 03:00:12 +00:00
1997-09-05 07:57:27 +00:00
1997-09-04 10:08:44 +00:00
1997-09-10 22:47:12 +00:00
1997-09-05 08:16:23 +00:00
1997-09-23 18:08:09 +00:00
1997-11-17 23:09:08 +00:00
1996-11-20 09:20:55 +00:00