This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Puzzle:Is addend ok when handling relocations in linking mips32-elf
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "Amker.Cheng" <amker dot cheng at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 10 Mar 2009 09:56:46 +1030
- Subject: Re: Puzzle:Is addend ok when handling relocations in linking mips32-elf
- References: <e8b251c80903090411g468f3b90xdd69e63d4cc71801@mail.gmail.com>
On Mon, Mar 09, 2009 at 07:11:45PM +0800, Amker.Cheng wrote:
> here comes the problem, If i have a howto structure with nonzero bitpos,
> I think addend will be wrong and should be right shift with howto->bitpos.
Left shift actually. reloc.c:bfd_perform_relocation shows what should
be done.
--
Alan Modra
Australia Development Lab, IBM