aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/configure.ac
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/ppc/configure.ac
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/ppc/configure.ac')
-rw-r--r--sim/ppc/configure.ac13
1 files changed, 0 insertions, 13 deletions
diff --git a/sim/ppc/configure.ac b/sim/ppc/configure.ac
index f1a7e06..dff48d2 100644
--- a/sim/ppc/configure.ac
+++ b/sim/ppc/configure.ac
@@ -56,18 +56,6 @@ if test x"$silent" != x"yes" && test x"$sim_bitsize" != x""; then
fi],[sim_bitsize=""])dnl
-AC_ARG_ENABLE(sim-bswap,
-[ --enable-sim-bswap Use the BSWAP instruction on Intel 486s and Pentiums.],
-[case "${enableval}" in
- yes) sim_bswap="-DWITH_BSWAP=1";;
- no) sim_bswap="-DWITH_BSWAP=0";;
- *) AC_MSG_ERROR("--enable-sim-bswap does not take a value"); sim_bswap="";;
-esac
-if test x"$silent" != x"yes" && test x"$sim_bswap" != x""; then
- echo "Setting bswap flags = $sim_bswap" 6>&1
-fi],[sim_bswap=""])dnl
-
-
AC_ARG_ENABLE(sim-cflags,
[ --enable-sim-cflags=opts Extra CFLAGS for use in building simulator],
[case "${enableval}" in
@@ -902,7 +890,6 @@ AC_SUBST(sim_hw_obj)
AC_SUBST(sim_pk_src)
AC_SUBST(sim_pk_obj)
AC_SUBST(sim_inline)
-AC_SUBST(sim_bswap)
AC_SUBST(sim_endian)
AC_SUBST(sim_regparm)
AC_SUBST(sim_stdcall)