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: patch ping


On Wed, Sep 28, 2005 at 07:48:44AM -0700, H. J. Lu wrote:
> On Wed, Sep 28, 2005 at 09:23:50PM +0930, Alan Modra wrote:
> > 
> > I started looking at this one, and got as far as the following patch:
> > 	* readelf.c (debug_apply_rela_addends): Relocate the whole
> > 	section.
> > 
> > I'll leave this one for Nick to review, since I'm not sure of the
> > ramifications of this FIXME.
> > +  /* FIXME: The relocation field size is relocation type dependent.  */
> > +  unsigned int reloc_size = 4;
> 
> It shouldn't matter unless the addend is >= 0xffffffff, which is quite
> rare.

Or negative and sign extended?  e.g. mips64.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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