diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-01-03 00:36:13 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-01-03 00:52:51 -0500 |
commit | 0cb8d8513cf44a102953ff5cf93e9dd399f42e9a (patch) | |
tree | 670e19c289dea5ba0a821d97709073078fc24e6d /sim/erc32/exec.c | |
parent | 1ac72f0659d64d6a14da862242db0d841d2878d0 (diff) | |
download | gdb-0cb8d8513cf44a102953ff5cf93e9dd399f42e9a.zip gdb-0cb8d8513cf44a102953ff5cf93e9dd399f42e9a.tar.gz gdb-0cb8d8513cf44a102953ff5cf93e9dd399f42e9a.tar.bz2 |
sim: drop host endian configure option
The --enable-sim-hostendian flag was purely so people had an escape route
for when cross-compiling. This is because historically, AC_C_BIGENDIAN
did not work in those cases. That was fixed a while ago though, so we can
require that macro everywhere now and simplify a good bit of code.
Diffstat (limited to 'sim/erc32/exec.c')
-rw-r--r-- | sim/erc32/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/erc32/exec.c b/sim/erc32/exec.c index ef49e20..a0ab0f9 100644 --- a/sim/erc32/exec.c +++ b/sim/erc32/exec.c @@ -1728,7 +1728,7 @@ fpexec(op3, rd, rs1, rs2, sregs) /* SPARC is big-endian - swap double floats if host is little-endian */ /* This is ugly - I know ... */ - /* FIXME: should use (CURRENT_HOST_BYTE_ORDER == CURRENT_TARGET_BYTE_ORDER) + /* FIXME: should use (HOST_BYTE_ORDER == CURRENT_TARGET_BYTE_ORDER) but what about machines where float values are different endianness from integer values? */ |