This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [ARM] BE8 support in relocations
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: Christophe LYON <christophe dot lyon at st dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Thu, 11 Feb 2010 10:45:22 -0500
- Subject: Re: [ARM] BE8 support in relocations
- References: <4B7423E1.5030504@st.com>
On Thu, Feb 11, 2010 at 04:36:01PM +0100, Christophe LYON wrote:
> Indeed, in ARM's BE8 mode, data and code have different endianness,
> but this function uses bfd_get_XX and bfd_put_XX which don't take
> this into account.
Yes. You never relocate a BE8 input file. BE8 is something that only
happens to linker output, and the byte swapping happens at the end.
--
Daniel Jacobowitz
CodeSourcery