Linker Bug or Design Intent (Absolute symbols in zero sized sections)

H. J. Lu hjl@lucon.org
Tue Sep 26 16:14:00 GMT 2006


On Tue, Sep 26, 2006 at 10:58:10AM -0400, Daniel Jacobowitz wrote:
> On Tue, Sep 26, 2006 at 07:51:59AM -0700, H. J. Lu wrote:
> > I think for --emit-relocs, we can keep an empty output section if its
> > address is taken.
> > 
> > Of course, we need to update linker doc.
> 
> I think we're being too specific to this case.
> 
> Why are we changing what the linker script clearly defines as section
> relative symbols to absolute symbols?  This isn't the only use case
> I've encountered where that will break.  We should either discard the

Please open a bug report with a testcase for each different issue.

Thanks.


H.J.



More information about the Binutils mailing list