[PATCH] ld: Account for .tbss size on ARM EABI targets

Hans-Peter Nilsson hp@bitrange.com
Wed Aug 19 17:42:45 GMT 2026


On Wed, 19 Aug 2026, Torbjorn SVENSSON wrote:
> > Can $target be "thumb" here, so it'd make sense to have the
> > pattern instead be "*-*-eabi*"?
> > 
> > (Not a rhetorical question, if $target is somehow canonicalized
> > to "arm" and a lone "*-*-eabi*" would look out of place here
> > rather than obviously safe.)
> 
> I've never seen any "thumb" target like that, and greping the sources only
> gives me hits in changelog entries.
> Is this some old relic or is it actually used these days?
> 
> In the GCC sources, I see that thumb-*-* is listed as "not supported".
> 
> Do you still think I should add 'thumb*-*-eabi*" or something similar?

Above, I suggested "*-*-eabi*" if you're in known ARM-only 
context.

But, I don't know, like you I've only seen it in configure 
scripts and never used it myself.  Also, it was just an example.  
I see config.sub has "strongarm-*" and "thumb-*" too, but maybe 
that's not a complete list.  I'll defer the question to a 
suitable maintainer.

brgds, H-P


More information about the Binutils mailing list