aboutsummaryrefslogtreecommitdiff
path: root/bfd/targets.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1992-08-28 21:10:36 +0000
committerIan Lance Taylor <ian@airs.com>1992-08-28 21:10:36 +0000
commit378dac8cc69e4cfc78dd6cf18cecf3b63e207c4b (patch)
treeb1092ed8962c00190265eb92c6b94996b4836f39 /bfd/targets.c
parente1f6e8ed5c097288678ade773a00456dc434fbc2 (diff)
downloadgdb-378dac8cc69e4cfc78dd6cf18cecf3b63e207c4b.zip
gdb-378dac8cc69e4cfc78dd6cf18cecf3b63e207c4b.tar.gz
gdb-378dac8cc69e4cfc78dd6cf18cecf3b63e207c4b.tar.bz2
Back out yesterday's change for using host endian order in 960 bout files.
Diffstat (limited to 'bfd/targets.c')
-rw-r--r--bfd/targets.c37
1 files changed, 2 insertions, 35 deletions
diff --git a/bfd/targets.c b/bfd/targets.c
index 49a8196..8cd9fff 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -401,27 +401,10 @@ extern bfd_target hppa_vec;
#ifdef DEFAULT_VECTOR
extern bfd_target DEFAULT_VECTOR;
#endif
-#ifdef HOST_BIG_ENDIAN_DEFAULT_VECTOR
-extern bfd_target HOST_BIG_ENDIAN_DEFAULT_VECTOR;
-#endif
-#ifdef HOST_LITTLE_ENDIAN_DEFAULT_VECTOR
-extern bfd_target HOST_LITTLE_ENDIAN_DEFAULT_VECTOR;
-#endif
#ifdef SELECT_VECS
bfd_target *target_vector[] = {
-
- /* 960 bout format depends on the host, so let targets choose a
- default vector even if the provide SELECT_VECS. */
-#ifdef HOST_BIG_ENDIAN_DEFAULT_VECTOR
-#ifdef HOST_BIG_ENDIAN_P
- &HOST_BIG_ENDIAN_DEFAULT_VECTOR,
-#else /* ! defined (HOST_BIG_ENDIAN_P) */
- &HOST_LITTLE_ENDIAN_DEFAULT_VECTOR,
-#endif /* ! defined (HOST_BIG_ENDIAN_P) */
-#endif /* defined (HOST_BIG_ENDIAN_DEFAULT_VECTOR) */
-
SELECT_VECS,
0
};
@@ -432,15 +415,7 @@ bfd_target *target_vector[] = {
#ifdef DEFAULT_VECTOR
&DEFAULT_VECTOR,
-#else /* ! defined (DEFAULT_VECTOR) */
-#ifdef HOST_BIG_ENDIAN_DEFAULT_VECTOR
-#ifdef HOST_BIG_ENDIAN_P
- &HOST_BIG_ENDIAN_DEFAULT_VECTOR,
-#else /* ! defined (HOST_BIG_ENDIAN_P) */
- &HOST_LITTLE_ENDIAN_DEFAULT_VECTOR,
-#endif /* ! defined (HOST_BIG_ENDIAN_P) */
-#endif /* defined (HOST_BIG_ENDIAN_DEFAULT_VECTOR) */
-#endif /* ! defined (DEFAULT_VECTOR) */
+#endif
&i386coff_vec,
&i386aout_vec,
@@ -490,15 +465,7 @@ bfd_target *target_vector[] = {
bfd_target *default_vector[] = {
#ifdef DEFAULT_VECTOR
&DEFAULT_VECTOR,
-#else /* ! defined (DEFAULT_VECTOR) */
-#ifdef HOST_BIG_ENDIAN_DEFAULT_VECTOR
-#ifdef HOST_BIG_ENDIAN_P
- &HOST_BIG_ENDIAN_DEFAULT_VECTOR,
-#else /* ! defined (HOST_BIG_ENDIAN_P) */
- &HOST_LITTLE_ENDIAN_DEFAULT_VECTOR,
-#endif /* ! defined (HOST_BIG_ENDIAN_P) */
-#endif /* defined (HOST_BIG_ENDIAN_DEFAULT_VECTOR) */
-#endif /* ! defined (DEFAULT_VECTOR) */
+#endif
0,
};