aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-04 04:06:01 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-04 05:04:30 -0500
commit9bbf6f91c6e85ca916ec2c266009167f20f5ecfd (patch)
tree6819794d652596c2af44565c9a87e93c064c40fb /sim/bfin
parent13adda68c54abf2654d01fa6523c379a13e418da (diff)
downloadgdb-9bbf6f91c6e85ca916ec2c266009167f20f5ecfd.zip
gdb-9bbf6f91c6e85ca916ec2c266009167f20f5ecfd.tar.gz
gdb-9bbf6f91c6e85ca916ec2c266009167f20f5ecfd.tar.bz2
sim: punt x86-specific bswap logic
The compiler/C library should produce reasonable code for htonl/ntohl, and at least glibc tries pretty hard to always produce good code for them. This logic only had support for 32-bit x86 systems anymore, and it's unlikely people were even opting into this, so drop it all.
Diffstat (limited to 'sim/bfin')
-rw-r--r--sim/bfin/ChangeLog4
-rwxr-xr-xsim/bfin/configure23
2 files changed, 6 insertions, 21 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
index 67612b2..7c16fde 100644
--- a/sim/bfin/ChangeLog
+++ b/sim/bfin/ChangeLog
@@ -1,3 +1,7 @@
+2016-01-04 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2016-01-03 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Update sim_parse_args comment.
diff --git a/sim/bfin/configure b/sim/bfin/configure
index 4617cca..ae49198 100755
--- a/sim/bfin/configure
+++ b/sim/bfin/configure
@@ -614,7 +614,6 @@ sim_trace
sim_stdio
sim_debug
sim_cflags
-sim_bswap
MAINT
MAINTAINER_MODE_FALSE
MAINTAINER_MODE_TRUE
@@ -757,7 +756,6 @@ enable_fast_install
with_gnu_ld
enable_libtool_lock
enable_maintainer_mode
-enable_sim_bswap
enable_sim_cflags
enable_sim_debug
enable_sim_stdio
@@ -1415,7 +1413,6 @@ Optional Features:
--disable-libtool-lock avoid locking (might break parallel builds)
--enable-maintainer-mode enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer
- --enable-sim-bswap Use Host specific BSWAP instruction
--enable-sim-cflags=opts
Extra CFLAGS for use in building simulator
--enable-sim-debug=opts Enable debugging flags (for developers of the sim
@@ -12554,7 +12551,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12557 "configure"
+#line 12554 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12660,7 +12657,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12663 "configure"
+#line 12660 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12928,22 +12925,6 @@ fi
-# Check whether --enable-sim-bswap was given.
-if test "${enable_sim_bswap+set}" = set; then :
- enableval=$enable_sim_bswap; case "${enableval}" in
- yes) sim_bswap="-DWITH_BSWAP=1 -DUSE_BSWAP=1";;
- no) sim_bswap="-DWITH_BSWAP=0";;
- *) as_fn_error "\"--enable-sim-bswap does not take a value\"" "$LINENO" 5; sim_bswap="";;
-esac
-if test x"$silent" != x"yes" && test x"$sim_bswap" != x""; then
- echo "Setting bswap flags = $sim_bswap" 6>&1
-fi
-else
- sim_bswap=""
-fi
-
-
-
# Check whether --enable-sim-cflags was given.
if test "${enable_sim_cflags+set}" = set; then :
enableval=$enable_sim_cflags; case "${enableval}" in