This is the mail archive of the binutils@sources.redhat.com 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: PATCH: Fix debug relocation for ia64


On Wed, Jul 09, 2003 at 03:44:33PM -0700, H. J. Lu wrote:
> It turned out that it was an ia64 bug. The problem is ia64 relocations
> define src_mask and dst_mask to be 0. It is not a problem for normal
> ia64 relocations since src_mask and dst_mask are not used. But
> src_mask and dst_mask are used in bfd_perform_relocation to relocate
> debug sections. I set them to -1LL. I think it should work with
> relocations in debug sections for both LP64 and ILP32.

Please see the comment in reloc.c describing src_mask.  You want zero
for src_mask.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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