diff options
author | Jiri Gaisler <jiri@gaisler.se> | 2015-04-03 22:35:48 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-04-19 02:29:44 -0400 |
commit | d3e9b40afb8e7bd09522044951cdce4710676c3e (patch) | |
tree | 23020a66ff49d500c422b506c5891c998089e64b /sim/erc32/ChangeLog | |
parent | 09b29ece9abb652983d4718aac0ff666d62d6790 (diff) | |
download | gdb-d3e9b40afb8e7bd09522044951cdce4710676c3e.zip gdb-d3e9b40afb8e7bd09522044951cdce4710676c3e.tar.gz gdb-d3e9b40afb8e7bd09522044951cdce4710676c3e.tar.bz2 |
sim/erc32: Switched emulated memory to host endian order.
Change data ordering in emulated memory from target order (big endian)
to host order. Improves performance and simplifies most memory
operations. Requires some byte twisting during stores on little
endian hosts (intel). Also removed support for little-endian binaries.
Diffstat (limited to 'sim/erc32/ChangeLog')
-rw-r--r-- | sim/erc32/ChangeLog | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog index 57c1932..109a13b 100644 --- a/sim/erc32/ChangeLog +++ b/sim/erc32/ChangeLog @@ -1,3 +1,25 @@ +2015-04-19 Jiri Gaisler <jiri@gaisler.se> + + * erc32.c (current_target_byte_order): Delete. + (fetch_bytes): Remove. + (store_bytes): Remove byte twisting. + (memory_read, memory_write): Access memory directly. + (extract_short, extract_short_signed, extract_byte, + extract_byte_signed): New function for for sub-word LD instructions. + * exec.c (extract_short, extract_short_signed, extract_byte, + extract_byte_signed): New functions. + (dispatch_instruction): Update memory reads. + * func.c (current_target_byte_order): Delete. + (get_regi): Delete little endian handling. + (disp_ctrl, dis_mem): Adjust print-out to new data endian. + (bfd_load): Delete little endian handling. + * interf.c (current_target_byte_order): Delete. + (sim_open): Set dinfo to host endian to get correct disassembly. + (sim_write, sim_read): Convert endian when gdb reads or writes + memory. + * sis.c (main): Set endian. + * sis.h (EBT): Define. + 2015-04-13 Mike Frysinger <vapier@gentoo.org> * configure: Regenerate. |