This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] Zap remaining TARGET_BYTE_ORDER_DEFAULT
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 07 Feb 2002 19:46:00 -0500
- Subject: [patch] Zap remaining TARGET_BYTE_ORDER_DEFAULT
Hello,
(Something is messing up causing me to not commit the occasional file?)
Anyway, the attached zaps the last remaning TARGET_BYTE_ORDER_DEFAULT.
I've also tweeked the ChangeLog so that it more correctly reflects what
happened - not sure if that is 100% really valid?
Andrew
2002-02-07 Andrew Cagney <ac131313@redhat.com>
* config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
Delete macro.
***************
*** 518,524 ****
(target_byte_order): Initialize to BFD_ENDIAN_BIG.
(initialize_current_architecture): Update target_byte_order using
information from BFD.
- * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
* config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
* config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
--- 523,528 ----
Index: config/powerpc/tm-ppcle-eabi.h
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/tm-ppcle-eabi.h,v
retrieving revision 1.3
diff -p -r1.3 tm-ppcle-eabi.h
*** tm-ppcle-eabi.h 2001/12/15 16:53:23 1.3
--- tm-ppcle-eabi.h 2002/02/08 00:42:03
***************
*** 25,31 ****
/* Use normal ppc-eabi definitions */
#include "powerpc/tm-ppc-eabi.h"
- #undef TARGET_BYTE_ORDER_DEFAULT
- #define TARGET_BYTE_ORDER_DEFAULT BFD_ENDIAN_LITTLE
-
#endif /* TM_PPCLE_EABI_H */
--- 25,28 ----