Back out yesterday's change for using host endian order in 960 bout files.

This commit is contained in:
Ian Lance Taylor 1992-08-28 21:10:36 +00:00
parent e1f6e8ed5c
commit 378dac8cc6
2 changed files with 2 additions and 39 deletions

View File

@ -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,
};

View File

@ -105,11 +105,7 @@ gld960_choose_target()
if (from_outside != (char *)NULL)
return from_outside;
#ifdef HOST_BIG_ENDIAN_P
return "b.out.big";
#else
return "b.out.little";
#endif
#endif
}