aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/std-config.h
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/std-config.h
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/std-config.h')
-rw-r--r--sim/ppc/std-config.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sim/ppc/std-config.h b/sim/ppc/std-config.h
index 3b6b943..04ba654 100644
--- a/sim/ppc/std-config.h
+++ b/sim/ppc/std-config.h
@@ -59,15 +59,6 @@ extern int current_target_byte_order;
#endif
-/* Intel host BSWAP support:
-
- Whether to use bswap on the 486 and pentiums rather than the 386
- sequence that uses xchgb/rorl/xchgb */
-#ifndef WITH_BSWAP
-#define WITH_BSWAP 0
-#endif
-
-
/* SMP support:
Sets a limit on the number of processors that can be simulated. If