This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: reloc against common symbols
"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