Back out yesterday's change for using host endian order in 960 bout files.
This commit is contained in:
parent
e1f6e8ed5c
commit
378dac8cc6
@ -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,
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user