reloc against common symbols

Ian Lance Taylor ian@wasabisystems.com
Wed Feb 11 12:34:00 GMT 2004


"Vineet Sharma, Noida" <vineets@noida.hcltech.com> writes:

> >It's hard to say without more information.  What is the backtrace when
> >coff_XXX_reloc() is called?  There are several possible paths to that
> >point, and I'm not sure which you are using.
> 
> It is called from 
> 
> 		bfd_perform_relocation()
> 
> which in turn is called from
> 
> 	bfd_generic_get_relocated_section_contents()
> 
> Hope that gives you the idea?

Thanks, but I need more.  Can you provide the full backtrace?

> Dont you thinks some thing wrong in this _xx being declared first(before _x)
> should start at lower address
> than that of (_x).

I don't think that indicates a problem.  You can't predict the order
of common variables.

Ian



More information about the Binutils mailing list