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
avr
bfin
common sim: Use host not target byte order for merging and splitting values 2019-04-13 22:21:14 +01:00
cr16
cris
d10v
erc32
frv
ft32
h8300
igen
iq2000
lm32
m32c
m32r
m68hc11
mcore
microblaze
mips
mn10300
moxie
msp430
or1k
ppc Fix the sim build 2019-01-26 08:53:31 -07:00
rl78
rx
sh
sh64
testsuite
v850
.gitignore
ChangeLog (gdb/sim) Move Mike Frysinger to past maintainers section 2019-02-28 11:20:29 +04:00
configure
configure.ac
configure.tgt
MAINTAINERS (gdb/sim) Move Mike Frysinger to past maintainers section 2019-02-28 11:20:29 +04:00
Makefile.in
README-HACKING