This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
How retarget GAS to a machine with big endian text section and little endian data section?
- From: "Jie Zhang" <jzhang918 at hotmail dot com>
- To: <binutils at sources dot redhat dot com>
- Date: Thu, 19 Dec 2002 15:57:37 +0800
- Subject: How retarget GAS to a machine with big endian text section and little endian data section?
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