This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: farcall-section test
On Tue, Feb 24, 2009 at 12:18:30PM +0000, Paul Brook wrote:
> This test is bogus. The real bug is that the user (i.e. the source assembly)
> is calling something that is not a function symbol. We should not be issuing
> these relocations in the first place, certainly not for EABI targets.
>
> If the user is requesting call relocations against non-functions symbols then
> it really doesn't matter what we do. The code is already broken. There's
> nothing special about long branch stubs in this case, *all* call relocations
> are likely to break if the target is Thumb.
I'm confused. Why does it matter for EABI targets? We have mapping
symbols; the linker could easily do the right thing.
--
Daniel Jacobowitz
CodeSourcery