[patch] Fix ld to match .data.rel.ro sections more carefully

Alan Modra amodra@gmail.com
Thu May 24 00:29:00 GMT 2012


On Wed, May 23, 2012 at 03:44:41PM -0700, Cary Coutant wrote:
> Unfortunately, this still doesn't handle the case where we have a
> variable named simply "ro" that happens to have a relocation. That
> will get placed into a ".data.rel.ro" section that is
> indistinguishable from a real ".data.rel.ro" section generated without
> -fdata-sections. Does anyone have any suggestions for how to handle
> this?

Call it a gcc bug?

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list