(cris_start_address, cris_program_offset): New variables. (OPTION_CRIS_PROGRAM_OFFSET, OPTION_CRIS_STARTADDR): New option enums. (cris_options): New options --cris-program-offset and --cris-start-address. (cris_option_handler): Handle new options. (cris_program_offset_write, cris_set_section_offset_iterator) (cris_offset_sections, cris_offset_sections): New functions. (sim_load): Use cris_program_offset_write as function argument to cris_load_elf_file, not sim_write. (struct offsetinfo): New struct. (cris_handle_interpreter): Fix typo in comment. (sim_open): Call cris_offset_sections as soon as the bfd of the infile is available. Gate bfd validity checks on abfd non-NULL. (sim_create_inferior): Let cris_start_address when != -1 override other start-address choices. |
||
|---|---|---|
| .. | ||
| arch.c | ||
| arch.h | ||
| config.in | ||
| configure | ||
| configure.ac | ||
| cpuall.h | ||
| cpuv10.c | ||
| cpuv10.h | ||
| cpuv32.c | ||
| cpuv32.h | ||
| cris-desc.c | ||
| cris-desc.h | ||
| cris-opc.h | ||
| cris-sim.h | ||
| cris-tmpl.c | ||
| crisv10f.c | ||
| crisv32f.c | ||
| decodev10.c | ||
| decodev10.h | ||
| decodev32.c | ||
| decodev32.h | ||
| devices.c | ||
| dv-cris.c | ||
| dv-rv.c | ||
| Makefile.in | ||
| mloop.in | ||
| modelv10.c | ||
| modelv32.c | ||
| rvdummy.c | ||
| semcrisv10f-switch.c | ||
| semcrisv32f-switch.c | ||
| sim-if.c | ||
| sim-main.h | ||
| tconfig.in | ||
| traps.c | ||