farcall-section test

Daniel Jacobowitz drow@false.org
Tue Feb 24 13:21:00 GMT 2009


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



More information about the Binutils mailing list