* cris/sim-if.c: Include errno.h.
authorHans-Peter Nilsson <hp@axis.com>
Sun, 18 Jan 2009 22:17:03 +0000 (22:17 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Sun, 18 Jan 2009 22:17:03 +0000 (22:17 +0000)
commitc10b3605497aa9c927f6399d23f9f5b2a32b8029
tree35d3e53aa7e76a75dae62e81ae90356f9264f7e5
parentaefc706471ace00a164b5a65717d5a0932d2eaf0
* cris/sim-if.c: Include errno.h.
(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.
sim/ChangeLog
sim/cris/sim-if.c
This page took 0.024457 seconds and 4 git commands to generate.