]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/cris/ChangeLog
sim: delete SIM_AC_COMMON macro
[thirdparty/binutils-gdb.git] / sim / cris / ChangeLog
CommitLineData
3eda63f2
MF
12021-06-20 Mike Frysinger <vapier@gentoo.org>
2
3 * configure.ac (SIM_AC_COMMON): Delete.
4 * aclocal.m4, configure: Regenerate.
5
3a829bc5
MF
62021-06-20 Mike Frysinger <vapier@gentoo.org>
7
8 * aclocal.m4: Regenerate.
9 * configure: Regenerate.
10
1bf5c342
MF
112021-06-20 Mike Frysinger <vapier@gentoo.org>
12
13 * Makefile.in (CGEN_MAINT): Delete.
14 * configure.ac: Delete SIM_AC_OPTION_CGEN_MAINT call.
15 * aclocal.m4, configure: Regenerate.
16
d73f39ee
MF
172021-06-20 Mike Frysinger <vapier@gentoo.org>
18
19 * aclocal.m4: Regenerate.
20 * configure: Regenerate.
21
b5689863
MF
222021-06-19 Mike Frysinger <vapier@gentoo.org>
23
24 * aclocal.m4: Regenerate.
25 * configure: Regenerate.
26
07490bf8
MF
272021-06-19 Mike Frysinger <vapier@gentoo.org>
28
29 * configure: Regenerate.
30
47ce766a
MF
312021-06-18 Mike Frysinger <vapier@gentoo.org>
32
33 * aclocal.m4, configure: Regenerate.
34
982c3a65
MF
352021-06-18 Mike Frysinger <vapier@gentoo.org>
36
37 * Makefile.in (SIM_WERROR_CFLAGS): New variable.
38 * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
39 * configure: Regenerate.
40
1fef66b0
MF
412021-06-18 Mike Frysinger <vapier@gentoo.org>
42
43 * traps.c: Include sim-signal.h.
44
f9a4d543
MF
452021-06-17 Mike Frysinger <vapier@gentoo.org>
46
47 * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
48 * sim-if.c (sim_open): Set current_target_byte_order.
49 * aclocal.m4, configure: Regenerate.
50
ef5058ae
MF
512021-06-17 Mike Frysinger <vapier@gentoo.org>
52
53 * traps.c: Include sim/callback.h.
54
a8a3d907
MF
552021-06-16 Mike Frysinger <vapier@gentoo.org>
56
57 * configure: Regenerate.
58
52d37d2c
MF
592021-06-16 Mike Frysinger <vapier@gentoo.org>
60
61 * Makefile.in (rvdummy.o): Delete config.h.
62 * configure: Regenerate.
63 * config.in: Removed.
64
bcaa61f7
MF
652021-06-15 Mike Frysinger <vapier@gentoo.org>
66
67 * config.in, configure: Regenerate.
68
ad9cc209
MF
692021-06-12 Mike Frysinger <vapier@gentoo.org>
70
71 * traps.c: Include portability.h.
72
2726bbc3
MF
732021-06-12 Mike Frysinger <vapier@gentoo.org>
74
75 * dv-rv.c: Delete HAVE_SYS_SELECT_H.
76 * rvdummy.c: Likewise.
77
ba307cdd
MF
782021-06-12 Mike Frysinger <vapier@gentoo.org>
79
80 * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
81
dba333c1
MF
822021-06-12 Mike Frysinger <vapier@gentoo.org>
83
84 * aclocal.m4, config.in, configure: Regenerate.
85
b15c5d7a
MF
862021-06-12 Mike Frysinger <vapier@gentoo.org>
87
88 * configure.ac: Delete call AC_CHECK_HEADERS_ONCE.
89 * config.in, configure: Regenerate.
90
906192d7
MF
912021-06-09 Mike Frysinger <vapier@gentoo.org>
92
93 * sim-if.c (sim_open): Delete cgen_init call.
94
54711280
MF
952021-05-24 Mike Frysinger <vapier@gentoo.org>
96
97 * cris-desc.c, cris-desc.h, cris-opc.h: Moved to opcodes/.
98 * Makefile.in (SIM_OBJS): Delete cris-desc.o.
99 (SIM_EXTRA_DEPS): Delete cris-desc.h.
100 (cris-clean): Delete stamp-desc.
101 (stamps): Likewise.
102 (stamp-desc): Delete rule.
103
d16ce6e4
MF
1042021-05-23 Mike Frysinger <vapier@gentoo.org>
105
106 * sim-if.c (sim_open): Delete "x" after PRI macros.
107
e82a36be
MF
1082021-05-23 Mike Frysinger <vapier@gentoo.org>
109
110 * sim-if.c: Include unistd.h.
111
e106fc35
MF
1122021-05-17 Mike Frysinger <vapier@gentoo.org>
113
114 * sim-main.h (struct sim_state): Delete.
115
6df01ab8
MF
1162021-05-16 Mike Frysinger <vapier@gentoo.org>
117
118 * cris-tmpl.c, crisv10f.c, crisv32f.c, dv-cris.c, dv-cris_900000xx.c,
119 dv-rv.c, traps.c: Include defs.h.
120 * rvdummy.c, sim-if.c: Replace config.h include with defs.h.
121
79633c12
MF
1222021-05-16 Mike Frysinger <vapier@gentoo.org>
123
124 * config.in, configure: Regenerate.
125
c5a2e012
MF
1262021-05-15 Mike Frysinger <vapier@gentoo.org>
127
128 * sim-if.c: Include environ.h.
129 (environ, GET_ENVIRON): Delete.
130 (sim_open): Replace my_environ with environ.
131
00330cd1
MF
1322021-05-14 Mike Frysinger <vapier@gentoo.org>
133
134 * traps.c (cris_break_13_handler): Delete 2nd arg to time callback.
135 (cris_time): Change return to int64_t. Delete 2nd arg.
136
be7547b0
TT
1372021-05-04 Tom Tromey <tromey@adacore.com>
138
139 * mloop.in: Include <stdlib.h>.
140
aa0fca16
MF
1412021-05-04 Mike Frysinger <vapier@gentoo.org>
142
143 * configure: Regenerate.
144
5ee0bc23
MF
1452021-05-04 Mike Frysinger <vapier@gentoo.org>
146
147 * sim-if.c (cris_load_elf_file): Use BFD_VMA_FMT
148 (cris_handle_interpreter): Likewise. Delete phaddr.
149 (sim_open): Use PRIx32.
150
fe348617
MF
1512021-05-01 Mike Frysinger <vapier@gentoo.org>
152
153 * config.in, configure: Regenerate.
154
bd0918c9
MF
1552021-04-26 Mike Frysinger <vapier@gentoo.org>
156
157 * Makefile.in (NL_TARGET): Delete.
158
b22138f3
TT
1592021-04-25 Tom Tromey <tom@tromey.com>
160
161 * Makefile.in (SIM_EXTRA_DEPS): Add engv32.h.
162
9d903352
MF
1632021-04-23 Mike Frysinger <vapier@gentoo.org>
164
165 * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
166 * configure: Regenerate.
167
19f6a43c
TT
1682021-04-22 Tom Tromey <tom@tromey.com>
169
170 * rvdummy.c: Update includes.
171 * dv-rv.c: Update includes.
172 * configure, config.in: Rebuild.
173
e7d8f1da
TT
1742021-04-22 Tom Tromey <tom@tromey.com>
175
176 * Makefile.in (sim-if.o, dv-cris.o, dv-rv.o, arch.o, traps.o)
177 (devices.o, crisv10f.o, mloopv10f.o, cpuv10.o, decodev10.o)
178 (modelv10.o, crisv32f.o, mloopv32f.o, cpuv32.o, decodev32.o)
179 (modelv32.o): Remove.
180 (SIM_EXTRA_DEPS): Add engv10.h.
181
efd82ac7
TT
1822021-04-22 Tom Tromey <tom@tromey.com>
183
184 * configure: Rebuild.
185
2662c237
MF
1862021-04-21 Mike Frysinger <vapier@gentoo.org>
187
188 * aclocal.m4: Regenerate.
189
1f195bc3
SM
1902021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
191
192 * configure: Regenerate.
193
2c2645d7
MF
1942021-04-18 Mike Frysinger <vapier@gentoo.org>
195
196 * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE.
197 * configure: Regenerate.
198
37e9f182
MF
1992021-04-18 Mike Frysinger <vapier@gentoo.org>
200
201 * configure: Regenerate.
202
d5a71b11
MF
2032021-04-12 Mike Frysinger <vapier@gentoo.org>
204
205 * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
206
32a046ab
TT
2072021-04-08 Tom Tromey <tom@tromey.com>
208
209 * traps.c: Include stdlib.h.
210 * cris-tmpl.c: Include stdlib.h.
211
c2783492
MF
2122021-04-02 Mike Frysinger <vapier@gentoo.org>
213
214 * aclocal.m4, configure: Regenerate.
215
ebe9564b
MF
2162021-02-28 Mike Frysinger <vapier@gentoo.org>
217
218 * configure: Regenerate.
219
760b3e8b
MF
2202021-02-21 Mike Frysinger <vapier@gentoo.org>
221
222 * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
223 * aclocal.m4, configure: Regenerate.
224
136da8cd
MF
2252021-02-13 Mike Frysinger <vapier@gentoo.org>
226
227 * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
228 * aclocal.m4, configure: Regenerate.
229
aa09469f
MF
2302021-02-06 Mike Frysinger <vapier@gentoo.org>
231
232 * configure: Regenerate.
233
68ed2854
MF
2342021-01-11 Mike Frysinger <vapier@gentoo.org>
235
236 * config.in, configure: Regenerate.
237 * dv-rv.c, rvdummy.c, sim-if.c, traps.c: Delete HAVE_ERRNO_H,
238 HAVE_STRING_H, HAVE_STRINGS_H, HAVE_STDLIB_H, and strings.h
239 include.
240
50df264d
MF
2412021-01-09 Mike Frysinger <vapier@gentoo.org>
242
243 * configure: Regenerate.
244
bf470982
MF
2452021-01-09 Mike Frysinger <vapier@gentoo.org>
246
247 * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
248 * configure: Regenerate.
249
46f900c0
MF
2502021-01-08 Mike Frysinger <vapier@gentoo.org>
251
252 * configure: Regenerate.
253
dfb856ba
MF
2542021-01-04 Mike Frysinger <vapier@gentoo.org>
255
256 * configure: Regenerate.
257
b16c44de
AM
2582019-09-06 Alan Modra <amodra@gmail.com>
259
260 * sim-if.c (sim_open): Constify filename variable.
261
23ebf378
AB
2622018-12-06 Andrew Burgess <andrew.burgess@embecosm.com>
263
264 * Makefile.in: Replace uses of CGEN_CPU_DIR with CPU_DIR, and
265 remove the definition of CGEN_CPU_DIR.
266
5c887dd5
JB
2672017-09-06 John Baldwin <jhb@FreeBSD.org>
268
269 * configure: Regenerate.
270
13a590ca
MF
2712017-02-13 Mike Frysinger <vapier@gentoo.org>
272
273 * decodev10.c (crisv10f_init_idesc_table): Use ARRAY_SIZE.
274 * decodev32.c (crisv32f_init_idesc_table): Likewise.
275 * sim-if.c (sim_open): Likewise.
276
ce39bd38
MF
2772016-01-10 Mike Frysinger <vapier@gentoo.org>
278
279 * config.in, configure: Regenerate.
280
e19418e0
MF
2812016-01-10 Mike Frysinger <vapier@gentoo.org>
282
283 * configure: Regenerate.
284
16f7876d
MF
2852016-01-10 Mike Frysinger <vapier@gentoo.org>
286
287 * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
288 * configure: Regenerate.
289
99d8e879
MF
2902016-01-10 Mike Frysinger <vapier@gentoo.org>
291
292 * configure: Regenerate.
293
35656e95
MF
2942016-01-10 Mike Frysinger <vapier@gentoo.org>
295
296 * configure: Regenerate.
297
347fe5bb
MF
2982016-01-10 Mike Frysinger <vapier@gentoo.org>
299
300 * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
301 * configure: Regenerate.
302
22be3fbe
MF
3032016-01-10 Mike Frysinger <vapier@gentoo.org>
304
305 * configure: Regenerate.
306
0dc73ef7
MF
3072016-01-10 Mike Frysinger <vapier@gentoo.org>
308
309 * configure: Regenerate.
310
936df756
MF
3112016-01-09 Mike Frysinger <vapier@gentoo.org>
312
313 * config.in, configure: Regenerate.
314 * rvdummy.c: Change cconfig.h to config.h.
315
2e3d4f4d
MF
3162016-01-06 Mike Frysinger <vapier@gentoo.org>
317
318 * sim-if.c (sim_open): Mark argv const.
319 (sim_create_inferior): Mark argv and env const.
320
9bbf6f91
MF
3212016-01-04 Mike Frysinger <vapier@gentoo.org>
322
323 * configure: Regenerate.
324
77cf2ef5
MF
3252016-01-03 Mike Frysinger <vapier@gentoo.org>
326
327 * sim-if.c (sim_open): Update sim_parse_args comment.
328
61971b86
MF
3292016-01-03 Mike Frysinger <vapier@gentoo.org>
330
331 * sim-main.h (cris_devices): Delete.
332
0cb8d851
MF
3332016-01-03 Mike Frysinger <vapier@gentoo.org>
334
335 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
336 * configure: Regenerate.
337
1ac72f06
MF
3382016-01-02 Mike Frysinger <vapier@gentoo.org>
339
340 * arch.h (TARGET_BIG_ENDIAN): Delete.
341 * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
342 LITTLE.
343 * configure: Regenerate.
344
b3fbb288
MF
3452016-01-02 Mike Frysinger <vapier@gentoo.org>
346
347 * sim-if.c (xprintf, eprintf): Delete.
348 (cris_load_elf_file): Delete callback. Change xprintf to
349 sim_io_printf and eprintf to sim_io_eprintf.
350
d47f5b30
MF
3512016-01-02 Mike Frysinger <vapier@gentoo.org>
352
353 * sim-if.c (current_state): Delete.
354 (sim_open): Delete current_state assignment.
355
eca4255a
MF
3562015-12-30 Mike Frysinger <vapier@gentoo.org>
357
358 * sim-if.c (sim_open): Delete current_target_byte_order assignment.
359 * configure.ac: Call SIM_AC_OPTION_ENDIAN.
360 * configure: Regenerate.
361
5e744ef8
MF
3622015-12-27 Mike Frysinger <vapier@gentoo.org>
363
364 * sim-if.c (cris_program_offset_write, sim_load): Delete.
365
1b393626
MF
3662015-12-26 Mike Frysinger <vapier@gentoo.org>
367
368 * config.in, configure: Regenerate.
369 * Makefile.in (rvdummy.o): Delete tconfig.h.
370
8b494522
MF
3712015-12-26 Mike Frysinger <vapier@gentoo.org>
372
373 * sim-if.c (sim_open): Delete cpu variable. Pass NULL/NULL_CIA to
374 sim_core_write_buffer.
375
0e967299
MF
3762015-12-26 Mike Frysinger <vapier@gentoo.org>
377
378 * sim-if.c (sim_create_inferior): Delete old comment and set up
379 STATE_PROG_ARGV.
380
34cf5112
MF
3812015-12-25 Mike Frysinger <vapier@gentoo.org>
382
383 * configure.ac (SIM_AC_OPTION_HARDWARE): Change default to yes and
384 add cris_900000xx.
385 * configure: Regenerated.
386 * devices.c: Delete file.
387 * dv-cris_900000xx.c: New device model.
388 * Makefile.in (SIM_OBJS): Delete devices.o.
389 * sim-if.c (sim_open): Replace cris_have_900000xxif logic with a
390 call to sim_hw_parse.
391 * tconfig.h: Delete file.
392
13e49fd6
MF
3932015-12-25 Mike Frysinger <vapier@gentoo.org>
394
395 * rvdummy.c (_GNU_SOURCE): Delete.
396 (setupsocket): Mark static.
397
0d585950
MF
3982015-12-25 Mike Frysinger <vapier@gentoo.org>
399
400 * Makefile.in (SIM_OBJS): Delete sim-model.o.
401 * tconfig.h (SIM_HAVE_MODEL): Delete.
402
8a0ebee6
MF
4032015-12-25 Mike Frysinger <vapier@gentoo.org>
404
405 * arch.c: Rename MACH to SIM_MACH.
406 * cpuall.h: Likewise.
407 * modelv10.c: Rename MACH to SIM_MACH, MACH_IMP_PROPERTIES to
408 SIM_MACH_IMP_PROPERTIES, and MODEL to SIM_MODEL.
409 * modelv32.c: Likewise.
410
f0c1b768
MF
4112015-12-25 Mike Frysinger <vapier@gentoo.org>
412
413 * sim-main.h (WITH_SCACHE_PBB): Move from ...
414 * tconfig.h (WITH_SCACHE_PBB): ... here.
415
42a3af56
MF
4162015-12-25 Mike Frysinger <vapier@gentoo.org>
417
418 * devices.c (device_error): Delete.
419
26936211
MF
4202015-12-24 Mike Frysinger <vapier@gentoo.org>
421
422 * tconfig.h (SIM_HANDLES_LMA): Delete.
423
797eee42
MF
4242015-11-15 Mike Frysinger <vapier@gentoo.org>
425
426 * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
427 sim-stop.o.
428
6e4f085c
MF
4292015-11-14 Mike Frysinger <vapier@gentoo.org>
430
431 * sim-if.c (sim_close): Delete.
432
8d0978fb
MF
4332015-06-23 Mike Frysinger <vapier@gentoo.org>
434
435 * configure: Regenerate.
436
61a0c964
MF
4372015-06-17 Mike Frysinger <vapier@gentoo.org>
438
439 * traps.c: Include sim-syscall.h.
440 (syscall_read_mem, syscall_write_mem): Delete.
441 (cris_break_13_handler): Change syscall_read_mem/syscall_write_mem
442 to sim_syscall_read_mem/sim_syscall_write_mem.
443
6362a3f8
MF
4442015-06-17 Mike Frysinger <vapier@gentoo.org>
445
446 * traps.c (syscall_map): Fill out name field.
447 (syscall_stat32_map, errno_map, open_map): Likewise.
448
a3487082
MF
4492015-06-12 Mike Frysinger <vapier@gentoo.org>
450
451 * configure: Regenerate.
452
306f4178
MF
4532015-06-12 Mike Frysinger <vapier@gentoo.org>
454
455 * configure: Regenerate.
456
db7858e2
MF
4572015-06-12 Mike Frysinger <vapier@gentoo.org>
458
459 * decodev10.c (crisv10f_decode): Change TRACE_EXTRACT to
460 CGEN_TRACE_EXTRACT.
461 * decodev32.c (crisv32f_decode): Likewise.
462 * mloop.in (execute): Change TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT,
463 TRACE_INSN to CGEN_TRACE_INSN, and TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI.
464 * semcrisv10f-switch.c: Change TRACE_RESULT to CGEN_TRACE_RESULT.
465 * semcrisv32f-switch.c: Likewise.
466
3ebe2863
MF
4672015-04-18 Mike Frysinger <vapier@gentoo.org>
468
469 * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete.
470
e8d3a34f
MF
4712015-04-18 Mike Frysinger <vapier@gentoo.org>
472
473 * sim-main.h (USING_SIM_BASE_H): Delete.
474
20bca71d
MF
4752015-04-18 Mike Frysinger <vapier@gentoo.org>
476
477 * sim-main.h (_sim_cpu, SIM_CPU): Delete.
478
7e83aa92
MF
4792015-04-18 Mike Frysinger <vapier@gentoo.org>
480
481 * sim-main.h (sim_cia): Delete.
482
034685f9
MF
4832015-04-17 Mike Frysinger <vapier@gentoo.org>
484
485 * crisv10f.c (deliver_interrupt): Change CIA_GET to CPU_PC_GET.
486 * crisv32f.c (deliver_interrupt): Likewise.
487 * sim-main.h (CIA_GET, CIA_SET): Delete.
488
78e9aa70
MF
4892015-04-15 Mike Frysinger <vapier@gentoo.org>
490
491 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
492 * sim-main.h (STATE_CPU): Delete.
493
f95f4ed2
MF
4942015-04-15 Mike Frysinger <vapier@gentoo.org>
495
496 * sim-main.h (struct sim_state): Change cpu to an array of pointers.
497 (STATE_CPU): Handle WITH_SMP.
498
bf12d44e
MF
4992015-04-13 Mike Frysinger <vapier@gentoo.org>
500
501 * configure: Regenerate.
502
122bbfb5
MF
5032015-04-06 Mike Frysinger <vapier@gentoo.org>
504
505 * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
506
aadc9410
MF
5072015-03-31 Mike Frysinger <vapier@gentoo.org>
508
509 * config.in, configure: Regenerate.
510
30452bbe
MF
5112015-03-24 Mike Frysinger <vapier@gentoo.org>
512
513 * configure: Regenerate.
514
7722e5b8
MF
5152015-03-23 Mike Frysinger <vapier@gentoo.org>
516
517 * Makefile.in (CONFIG_DEVICES): Delete.
518 (SIM_OBJS): Delete CONFIG_DEVICES.
519
49cd1634
MF
5202015-03-23 Mike Frysinger <vapier@gentoo.org>
521
522 * configure: Regenerate.
523
64dd13df
MF
5242015-03-23 Mike Frysinger <vapier@gentoo.org>
525
526 * configure: Regenerate.
527
ae7d0cac
MF
5282015-03-16 Mike Frysinger <vapier@gentoo.org>
529
530 * aclocal.m4, config.in, configure: Regenerate.
531 * rvdummy.c: Delete tconfig.h include.
532 * tconfig.in: Rename file ...
533 * tconfig.h: ... here.
534
8406bb59
MF
5352015-03-15 Mike Frysinger <vapier@gentoo.org>
536
537 * tconfig.in: Delete most includes.
538 [HAVE_DV_SOCKSER]: Delete.
539
465fb143
MF
5402015-03-14 Mike Frysinger <vapier@gentoo.org>
541
542 * Makefile.in (SIM_RUN_OBJS): Delete.
543
2d7bb758
JB
5442014-12-03 Joel Brobecker <brobecker@adacore.com>
545
546 * traps.c (cris_break_13_handler): Adjust call to "fstat" callback
547 by call to "to_fstat" following renaming in callback.h.
548
2974be62
AM
5492014-08-19 Alan Modra <amodra@gmail.com>
550
551 * configure: Regenerate.
552
faa743bb
RM
5532014-08-15 Roland McGrath <mcgrathr@google.com>
554
555 * configure: Regenerate.
556 * config.in: Regenerate.
557
b2b255bd
MF
5582014-03-05 Mike Frysinger <vapier@gentoo.org>
559
560 * sim-if.c (sim_load): Add const to prog.
561
1a8a700e
MF
5622014-03-04 Mike Frysinger <vapier@gentoo.org>
563
564 * configure: Regenerate.
565
bf3d9781
AM
5662013-09-23 Alan Modra <amodra@gmail.com>
567
568 * configure: Regenerate.
569
31e6ad7d
MF
5702013-06-03 Mike Frysinger <vapier@gentoo.org>
571
572 * aclocal.m4, configure: Regenerate.
573
d3685d60
TT
5742013-05-10 Freddie Chopin <freddie_chopin@op.pl>
575
576 * configure: Rebuild.
577
1517bd27
MF
5782013-03-26 Mike Frysinger <vapier@gentoo.org>
579
580 * configure: Regenerate.
581
5f3ef9d0
JB
5822012-06-15 Joel Brobecker <brobecker@adacore.com>
583
584 * config.in, configure: Regenerate.
585
a6ff997c
NC
5862012-05-18 Nick Clifton <nickc@redhat.com>
587
588 PR 14072
589 * sim-if.c: Include config.h before system header files.
590
2232061b
MF
5912012-03-24 Mike Frysinger <vapier@gentoo.org>
592
593 * aclocal.m4, config.in, configure: Regenerate.
594
db2e4d67
MF
5952011-12-03 Mike Frysinger <vapier@gentoo.org>
596
597 * aclocal.m4: New file.
598 * configure: Regenerate.
599
4399a56b
MF
6002011-10-19 Mike Frysinger <vapier@gentoo.org>
601
602 * configure: Regenerate after common/acinclude.m4 update.
603
9c082ca8
MF
6042011-10-17 Mike Frysinger <vapier@gentoo.org>
605
606 * configure.ac: Change include to common/acinclude.m4.
607
6ffe910a
MF
6082011-10-17 Mike Frysinger <vapier@gentoo.org>
609
610 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
611 call. Replace common.m4 include with SIM_AC_COMMON.
612 * configure: Regenerate.
613
2419798b
MF
6142011-07-05 Mike Frysinger <vapier@gentoo.org>
615
616 * sim-if.c (sim_do_command): Delete.
617
bfc85bc6
AM
6182010-10-09 Alan Modra <amodra@gmail.com>
619
620 * cris-desc.h: Regenerate.
621
7cf1d8af
HPN
6222010-10-07 Hans-Peter Nilsson <hp@axis.com>
623
624 * traps.c (cris_break_13_handler): Pass lseek
625 offset parameter as sign-extended.
626
363a6e9f
OS
6272010-05-26 Ozkan Sezer <sezeroz@gmail.com>
628
629 * dv-rv.c (hw_rv_init_socket): Check error return from socket() call
630 by its equality to -1 not by it being negative.
631 (hw_rv_write): Likewise.
632 (hw_rv_handle_incoming): Likewise.
633 (hw_rv_poll_once): Likewise.
634 * rvdummy.c (setupsocket): Likewise.
635 (main): Likewise for accept() call as returned from setupsocket().
636
fb0cc53e
MF
6372010-03-30 Mike Frysinger <vapier@gentoo.org>
638
639 * devices.c (device_error): Add const to message.
0f8e278d
MF
640
6412010-02-11 Doug Evans <dje@sebabeach.org>
642
643 * cpuv10.h, * cpuv32.h, * cris-desc.c,
644 * cris-desc.h, * decodev10.c, * decodev32.c,
645 * modelv10.c, * modelv32.c, * semcrisv10f-switch.c,
646 * semcrisv32f-switch.c: Regenerate.
647
6482010-01-02 Doug Evans <dje@sebabeach.org>
649
650 * arch.c, * arch.h, * cpuall.h, * cpuv10.c,
651 * cpuv10.h, * cpuv32.c, * cpuv32.h, * cris-desc.c,
652 * cris-desc.h, * cris-opc.h, * decodev10.c,
653 * decodev10.h, * decodev32.c, * decodev32.h,
654 * modelv10.c, * modelv32.c, * semcrisv10f-switch.c,
655 * semcrisv32f-switch.c: Regenerate, update copyright year.
656
6572010-01-01 Doug Evans <dje@sebabeach.org>
658
659 * mloop.in: Fix copyright year update snafu.
660
6612009-11-22 Doug Evans <dje@sebabeach.org>
662
663 * cpuall.h: Regenerate.
664 * cpuv10.h: Regenerate.
665 * cpuv32.h: Regenerate.
666 * decodev10.c: Regenerate.
667 * decodev10.h: Regenerate.
668 * decodev32.c: Regenerate.
669 * decodev32.h: Regenerate.
670
6712009-10-23 Doug Evans <dje@sebabeach.org>
672
673 * arch.c: Regenerate.
674 * arch.h: Regenerate.
675 * cpuall.h: Regenerate.
676 * cpuv10.c: Regenerate.
677 * cpuv10.h: Regenerate.
678 * cpuv32.c: Regenerate.
679 * cpuv32.h: Regenerate.
680 * cris-desc.c: Regenerate.
681 * cris-desc.h: Regenerate.
682 * cris-opc.h: Regenerate.
683 * decodev10.c: Regenerate.
684 * decodev10.h: Regenerate.
685 * decodev32.c: Regenerate.
686 * decodev32.h: Regenerate.
687 * modelv10.c: Regenerate.
688 * modelv32.c: Regenerate.
689 * semcrisv10f-switch.c: Regenerate.
690 * semcrisv32f-switch.c: Regenerate.
691
6922009-01-18 Hans-Peter Nilsson <hp@axis.com>
693
694 * sim-if.c: Include errno.h.
695 (cris_start_address, cris_program_offset): New variables.
696 (OPTION_CRIS_PROGRAM_OFFSET, OPTION_CRIS_STARTADDR): New option
697 enums.
698 (cris_options): New options --cris-program-offset and
699 --cris-start-address.
700 (cris_option_handler): Handle new options.
701 (cris_program_offset_write, cris_set_section_offset_iterator)
702 (cris_offset_sections, cris_offset_sections): New functions.
703 (sim_load): Use cris_program_offset_write as function argument to
704 cris_load_elf_file, not sim_write.
705 (struct offsetinfo): New struct.
706 (cris_handle_interpreter): Fix typo in comment.
707 (sim_open): Call cris_offset_sections as soon as the bfd of the
708 infile is available. Gate bfd validity checks on abfd non-NULL.
709 (sim_create_inferior): Let cris_start_address when != -1 override
710 other start-address choices.
711
7122009-01-06 Hans-Peter Nilsson <hp@axis.com>
713
714 * traps.c (abort): Define to call sim_io_error.
715 (create_map): Make -1 imply a non-fixed address, not 0. All
716 callers changed. Only prefer the next higher unmapped address if
717 the last mapped address is no less than 0x40000000. Check that
718 the address to be mapped is not already mapped. Update head
719 comment.
720 (unmap_pages): Don't call abort when recursive call fails, just
721 note and return an error if a page in the range couldn't be unmapped.
722 (cris_bmod_handler, h_supr_set_handler, h_supr_get_handler)
723 (schedule, make_first_thread, cris_pipe_empty): New local variable sd.
724 (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
725 non-MAP_FIXED argument overlapping existing map. For MAP_FIXED,
726 don't abort on page not being mapped. Handle non-anon filemap
727 with length padded to pagesize.
728
7292009-01-03 Hans-Peter Nilsson <hp@axis.com>
730
731 * sim-if.c (TARGET_AT_NULL, TARGET_AT_PHDR, TARGET_AT_PHENT)
732 (TARGET_AT_PHNUM, TARGET_AT_PAGESZ, TARGET_AT_BASE)
733 (TARGET_AT_FLAGS, TARGET_AT_ENTRY, TARGET_AT_UID, TARGET_AT_EUID)
734 (TARGET_AT_GID, TARGET_AT_EGID, TARGET_AT_HWCAP)
735 (TARGET_AT_CLKTCK): Remove redundant macros.
736 (AUX_ENT): Adjust to use standard ELF AT_* macros.
737 (AUX_ENTF): Ditto. Remove always-0 middle argument. Update all
738 callers.
739 (sim_open): Also pass AT_SECURE.
740
741 * sim-main.h (struct _sim_cpu): New member
742 set_target_thread_data.
743 * crisv32f.c (CRIS_TLS_REGISTER): Define.
744 * crisv10f.c: Ditto.
745 * cris-tmpl.c (MY (set_target_thread_data)): New function.
746 (MY (f_specific_init)): Set new _sim_cpu member to new function.
747 * traps.c (TARGET_SYS_set_thread_area): Define.
748 (cris_break_13_handler) <case TARGET_SYS_set_thread_area>: New
749 case.
750
751 * traps.c (TARGET_SYS_exit_group): Define.
752 (cris_break_13_handler): Handle it like the exit for the last
753 thread.
754
755 * traps.c (TARGET_UTSNAME): Update to 2009-01-01.
756 (TARGET_EPOCH): Update to match TARGET_UTSNAME. Correct comment.
757 (cris_break_13_handler) <case TARGET_SYS_uname>: Update to
758 2.6.27. Set machine field to the BFD printable name of the
759 machine.
760
761 * traps.c (TARGET_MAP_DENYWRITE): Define.
762 (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
763 TARGET_MAP_DENYWRITE.
764
765 * traps.c (TARGET_SYS_access, TARGET_R_OK, TARGET_W_OK)
766 (TARGET_X_OK, TARGET_F_OK): Define.
767 (cris_break_13_handler) <case TARGET_SYS_access>: New case.
768
769 * semcrisv32f-switch.c: Regenerate.
770
7712008-12-30 Hans-Peter Nilsson <hp@axis.com>
772
773 * sim-if.c (sim_open): If sim_analyze_program fails, emit
774 just a short CRIS-specific notice. Tweak the wording for a
775 failing architecture test.
776
777 * traps.c (TARGET_SYS_writev): New macro.
778 (is_mapped_only, cris_dump_map): New functions.
779 (cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle more flags
780 and prot combinations and a non-zero page-offset. If
781 TARGET_MAP_FIXED, unmap pages before mapping them.
782 <case TARGET_SYS_mprotect>: When checking, allow any length
783 argument. Don't actually do anything.
784 <case TARGET_SYS_writev>: New case.
785
786 * Makefile.in (SIM_OBJS): Remove sim-hload.o.
787 * sim-if.c: Include elf-bfd.h.
788 (struct progbounds): New members end_loadmem, start_nonloadmem.
789 (xprintf, eprintf): New functions, copied from common/sim-load.c.
790 (cris_load_elf_file, sim_load, cris_get_progbounds): New functions.
791 (get_progbounds_iterator): Renamed from get_progbounds. Make
792 static. Update head comment. Set new struct progbounds members.
793 (exec_load_addr, interp_load_addr, interp_start_addr): New static
794 variables.
795 (aux_ent_phdr, aux_ent_phent, aux_ent_phnum, aux_ent_base)
796 (aux_ent_entry, cris_write_interp, cris_handle_interpreter): New
797 functions.
798 (sim_open): New constant array auxv_entries. Rewrite AUX_ENT
799 handling to use auxv_entries. Improve error message and checking
800 for invalid programs. Use new variable abfd for the program
801 instead of for each access reaching into sd to get it.
802 (sim_create_inferior): If non-zero, use interp_start_addr instead
803 of the program start address.
804 (cris_disassemble_insn): Remove incorrect and unclear, supposedly
805 stale comment. Always specify little-endian.
806
8072008-07-11 Hans-Peter Nilsson <hp@axis.com>
808
809 * configure: Regenerate to track ../common/common.m4 changes.
810 * config.in: Ditto.
811
8122008-06-06 Vladimir Prus <vladimir@codesourcery.com>
813 Daniel Jacobowitz <dan@codesourcery.com>
814 Joseph Myers <joseph@codesourcery.com>
815
816 * configure: Regenerate.
817
8182007-10-22 Hans-Peter Nilsson <hp@axis.com>
819
820 * arch.c, arch.h, cpuall.h, cpuv10.c,
821 cpuv10.h, cpuv32.c, cpuv32.h, cris-desc.c,
822 cris-desc.h, cris-opc.h, decodev10.c,
823 decodev10.h, decodev32.c, decodev32.h,
824 modelv10.c, modelv32.c, semcrisv10f-switch.c,
825 semcrisv32f-switch.c: Regenerate.
826
8272007-02-20 Hans-Peter Nilsson <hp@axis.com>
828
829 * traps.c (dump_statistics): Change format for cycle numbers
830 to %llu and cast parameters to unsigned long long.
831
8322006-10-02 Edgar E. Iglesias <edgar@axis.com>
833 Hans-Peter Nilsson <hp@axis.com>
834
835 * cris-sim.h (enum cris_unknown_syscall_action_type)
836 (cris_unknown_syscall_action): Declare.
837 * sim-if.c (cris_unknown_syscall_action): Define.
838 (cris_options): Add cris-unknown-syscall option.
839 (cris_option_handler): Correct comment about and error message for
840 invalid --cris-cycles argument. Handle --cris-unknown-syscall.
841 * traps.c: Include stdarg.h
842 (cris_unknown_syscall): New function.
843 (cris_break_13_handler): Instead of sim_io_eprintf and
844 sim_engine_halt, call cris_unknown_syscall to handle more or less
845 unknown syscalls. Adjust code as necessary to handle return
846 value.
847
8482006-09-30 Hans-Peter Nilsson <hp@axis.com>
849
850 * traps.c (TARGET_PIPE_BUF): New macro.
851 (cris_pipe_empty): Correct initialization of "remaining". Only
852 adjust the "write" return value if more than TARGET_PIPE_BUF bytes
853 are written.
854
8552006-09-29 Hans-Peter Nilsson <hp@axis.com>
856
857 * configure.ac: Check for limits.h and sys/param.h.
858 * configure, config.in: Rebuild.
859 * traps.c (SIM_PATHMAX): New macro.
860 (cris_break_13_handler): Use SIM_PATHMAX, not MAXPATHLEN.
861
8622006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
863
864 * configure: Regenerated.
865
8662006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
867
868 * configure: Regenerated.
869
8702006-04-08 Hans-Peter Nilsson <hp@axis.com>
871
872 * crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.
873
8742006-04-03 Hans-Peter Nilsson <hp@axis.com>
875
876 * dv-cris.c, dv-rv.c, rvdummy.c: New files.
877 * Makefile.in (CONFIG_DEVICES): Remove redundant setting.
878 (dv-cris.o, dv-rv.o rvdummy$(EXEEXT), rvdummy.o): New rules.
879 (all): Depend on rvdummy$(EXEEXT).
880 * configure.ac: Call SIM_AC_OPTION_WARNINGS. Check for
881 sys/socket.h and sys/select.h. Call SIM_AC_OPTION_HARDWARE,
882 default off.
883 * configure: Regenerate.
884 * cris-sim.h (cris_have_900000xxif): Declare here.
885 (enum cris_interrupt_type, crisv10deliver_interrupt)
886 (crisv32deliver_interrupt: New declarations.
887 * cris-tmpl.c [WITH_HW] (MY (f_model_insn_after)): Call
888 sim_events_tickn and set state-events member work_pending when it's
889 time for the next event.
890 [WITH_HW] (MY (f_specific_init)): Set CPU-model-specific
891 interrupt-delivery function.
892 * crisv10f.c (MY (deliver_interrupt)): New function.
893 * crisv32f.c (MY (deliver_interrupt)): New function.
894 * devices.c: Include hw-device.h.
895 (device_io_read_buffer) [WITH_HW]: Call hw_io_read_buffer.
896 (device_io_write_buffer): Only perform 0x900000xx-functions if
897 cris_have_900000xxif is nonzero. Else if WITH_HW defined,
898 call hw_io_write_buffer. Add return 0 last in function.
899 * sim-if.c (cris_have_900000xxif): Now global.
900 (sim_open) [WITH_HW]: Clear deliver_interrupt cpu member.
901 Force "-model" option, effectively.
902 * sim-main.h (cris_interrupt_delivery_fn): New type.
903 (struct _sim_cpu) [WITH_HW]: New member deliver_interrupt.
904
9052006-04-02 Hans-Peter Nilsson <hp@axis.com>
906
907 * Makefile.in (CRISV10F_OBJS): Remove semcrisv10f-switch.o.
908 (CRISV32F_OBJS): Remove semcrisv32f-switch.o.
909 (semcrisv10f-switch.o, semcrisv32f-switch.o: Remove dependency rules.
910
9112006-02-23 Hans-Peter Nilsson <hp@axis.com>
912
913 * traps.c (syscall_map): Remove CB_SYS_time / TARGET_SYS_time
914 mapping.
915 (cris_break_13_handler) <case TARGET_SYS_time>: New case.
916
9172006-01-10 Hans-Peter Nilsson <hp@axis.com>
918
919 * cris-tmpl.c (MY (f_model_insn_before)): Only display basic
920 cycle count for the current insn.
921
9222005-12-06 Hans-Peter Nilsson <hp@axis.com>
923
924 * cpuv10.h, cpuv32.h, cris-desc.c, cris-opc.h,
925 decodev10.c, decodev10.h, decodev32.c,
926 decodev32.h, modelv10.c, modelv32.c,
927 semcrisv10f-switch.c, semcrisv32f-switch.c: Regenerate.
928
9292005-12-05 Hans-Peter Nilsson <hp@axis.com>
930
931 * arch.c, arch.h, cpuall.h, cpuv10.c,
932 cpuv10.h, cpuv32.c, cpuv32.h, cris-desc.c,
933 cris-desc.h, cris-opc.h, decodev10.c,
934 decodev10.h, decodev32.c, decodev32.h,
935 modelv10.c, modelv32.c, semcrisv10f-switch.c,
936 semcrisv32f-switch.c: Regenerate.
937
9382005-11-20 Hans-Peter Nilsson <hp@axis.com>
939
940 * traps.c (TARGET_O_RDONLY, TARGET_O_WRONLY): Define.
941 (open_map): Use TARGET_O_ACCMODE, TARGET_O_RDONLY and
942 TARGET_O_WRONLY.
943 (cris_break_13_handler) <case TARGET_SYS_fcntl>: Add support for
944 F_GETFL on fd 0, 1 and 2.
945
9462005-11-17 Hans-Peter Nilsson <hp@axis.com>
947
948 * sim-main.h (struct _sim_cpu): New members last_syscall,
949 last_open_fd, last_open_flags.
950 * traps.c: Don't include targ-vals.h.
951 (TARGET_O_ACCMODE): Define.
952 (cris_break_13_handler): Set new _sim_cpu members.
953 <case TARGET_SYS_fcntl>: Support special case of F_GETFL.
954 Rearrange code as switch. Emit "unimplemented" abort for
955 unimplemented fcntl calls.
956
957 * traps.c (TARGET_SYS_stat): Define.
958 (syscall_stat32_map): Add entry for TARGET_SYS_stat.
959 (cris_break_13_handler) <case TARGET_SYS_stat>: New case.
960
9612005-11-16 Hans-Peter Nilsson <hp@axis.com>
962
963 * cris-tmpl.c (MY (f_model_insn_before)): Make sure only the
964 low 32 bits are used after an unsigned long cast.
965
9662005-05-28 Hans-Peter Nilsson <hp@axis.com>
967
968 * Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.
969
9702005-04-18 Hans-Peter Nilsson <hp@axis.com>
971
972 * traps.c (cris_break_13_handler) <case TARGET_SYS_mmap2>:
973 For ((len & 8191) != 0 && fd == (USI) -1), don't say this isn't
974 implemented. In call to create_map, pad length argument to 8k.
975
9762005-03-24 Hans-Peter Nilsson <hp@axis.com>
977
978 * Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge to
979 include cgen-ops.h in decodev10.c and decodev32.c.
980 * sim-main.h: Don't include cgen-ops.h here.
981 * arch.c, arch.h, cpuall.h, cpuv10.c,
982 cpuv10.h, cpuv32.c, cpuv32.h, cris-desc.c,
983 cris-desc.h, cris-opc.h, decodev10.c,
984 decodev10.h, decodev32.c, decodev32.h,
985 modelv10.c, modelv32.c, semcrisv10f-switch.c,
986 semcrisv32f-switch.c: Regenerate.
987
988 * traps.c (cris_break_13_handler) <case
989 TARGET_SYS_rt_sigaction>: Rename sa_handler, sa_flags,
990 sa_restorer, sa_mask_low, sa_mask_high to target_sa_handler etc.
991
9922005-03-23 Mark Kettenis <kettenis@gnu.org>
993
994 * configure: Regenerate.