This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Puzzle:Is addend ok when handling relocations in linking mips32-elf


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]