[PATCH] Fix PR ld/17277: bogus dynamic relocs and TEXTREL for ARM PC-relative relocs

Alan Modra amodra@gmail.com
Sun Aug 17 23:30:00 GMT 2014


On Fri, Aug 15, 2014 at 04:31:53PM -0700, Roland McGrath wrote:
> Here's another case with the same failure mode, that my change does not
> fix.  The only difference seems to be a local symbol in another section vs
> a global, hidden symbol in that other section.  Any pointers on where to go
> next?

It seems to me the problem here is that may_become_dynamic_p should
not be set for pc_relative relocations against a local symbol.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list