binutils-gdb/sim
Andrew Burgess 798066abd8 sim: Use host not target byte order for merging and splitting values
When using writes to memory through a struct to merge and extract
multi-word value, it is the endianness of the host, not the target
that affects which order the component words need to be written into
the structure.

Of the 5 functions adjusted here 4 of them are unused.  The 5th,
JOINSIDF will soon be used by the or1k target.

For or1k, simulated on x86-64, this change fixes this function so that
the correct bytes are now returned.

sim/common/ChangeLog:

	* cgen-ops.h (SUBWORDXFSI): Compare HOST_BYTE_ORDER not
	CURRENT_TARGET_BYTE_ORDER.
	(SUBWORDTFSI): Likewise.
	(JOINSIDF): Likewise.
	(JOINSIXF): Likewise.
	(JOINSITF): Likewise.
2019-04-13 22:21:14 +01:00
..
aarch64 sim: fix aarch64 sim build 2019-03-28 13:46:09 +00:00
arm Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
avr Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
bfin Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
common sim: Use host not target byte order for merging and splitting values 2019-04-13 22:21:14 +01:00
cr16 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cris Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
d10v Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
erc32 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
frv Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
ft32 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
h8300 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
igen Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
iq2000 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
lm32 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
m32c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
m32r Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
m68hc11 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
mcore Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
microblaze Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
mips Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
mn10300 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
moxie Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
msp430 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
or1k Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
ppc Fix the sim build 2019-01-26 08:53:31 -07:00
rl78 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
rx Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sh Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sh64 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
testsuite Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
v850 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
.gitignore
ChangeLog (gdb/sim) Move Mike Frysinger to past maintainers section 2019-02-28 11:20:29 +04:00
configure Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
configure.ac Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
configure.tgt
MAINTAINERS (gdb/sim) Move Mike Frysinger to past maintainers section 2019-02-28 11:20:29 +04:00
Makefile.in Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
README-HACKING