How retarget GAS to a machine with big endian text section and little endian data section?

Jie Zhang jzhang918@hotmail.com
Thu Dec 19 02:29:00 GMT 2002


I want to retarget GAS to a machine, using BFD version and ELF format. Its
text section is big endian but its data section is little endian. What
should I define TARGET_BYTES_BIG_ENDIAN, 1 or 0? Is there some other
machines with text section and data section in different endianess?

Any advice?

Jie Zhang



More information about the Binutils mailing list