aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-01-20 19:26:50 +0000
committerAndrew Cagney <cagney@redhat.com>2002-01-20 19:26:50 +0000
commit3fd3d7d29c5ea6ba2dff07fe353bac80fefce363 (patch)
tree1814112048b5c78deafd7c8ca1d911c3bc0ec7c3 /gdb/sparc-tdep.c
parent3e36a0f45e5df8f57422bcbe41b0d0a241b4159b (diff)
downloadgdb-3fd3d7d29c5ea6ba2dff07fe353bac80fefce363.zip
gdb-3fd3d7d29c5ea6ba2dff07fe353bac80fefce363.tar.gz
gdb-3fd3d7d29c5ea6ba2dff07fe353bac80fefce363.tar.bz2
Assume TARGET_BYTE_ORDER_SELECTABLE{,_P} is always true.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r--gdb/sparc-tdep.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index a32841c..1b7954b 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -2200,15 +2200,8 @@ sparc_target_architecture_hook (const bfd_arch_info_type *ap)
if (ap->mach == bfd_mach_sparc_sparclite_le)
{
- if (TARGET_BYTE_ORDER_SELECTABLE_P)
- {
- target_byte_order = BFD_ENDIAN_LITTLE;
- bi_endian = 1;
- }
- else
- {
- warning ("This GDB does not support little endian sparclite.");
- }
+ target_byte_order = BFD_ENDIAN_LITTLE;
+ bi_endian = 1;
}
else
bi_endian = 0;