mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
Added TE_PE target environment support
This commit is contained in:
@ -33,8 +33,15 @@ extern int target_big_endian;
|
|||||||
|
|
||||||
/* The target BFD format. */
|
/* The target BFD format. */
|
||||||
#ifdef OBJ_COFF
|
#ifdef OBJ_COFF
|
||||||
|
#ifdef TE_PE
|
||||||
|
#define TARGET_FORMAT (target_big_endian) ? "pe-powerpc" : "pe-powerpcle"
|
||||||
|
#elif defined(PPC)
|
||||||
|
#define TARGET_FORMAT (target_big_endian) ? "coff-powerpc" : "coff-powerpcle"
|
||||||
|
#else
|
||||||
#define TARGET_FORMAT "aixcoff-rs6000"
|
#define TARGET_FORMAT "aixcoff-rs6000"
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef OBJ_ELF
|
#ifdef OBJ_ELF
|
||||||
#define TARGET_FORMAT (target_big_endian) ? "elf32-powerpc" : "elf32-powerpcle"
|
#define TARGET_FORMAT (target_big_endian) ? "elf32-powerpc" : "elf32-powerpcle"
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user