Overlap error not generated for sections w/o content
Alan Modra
amodra@bigpond.net.au
Mon Jan 12 10:28:00 GMT 2004
On Mon, Jan 12, 2004 at 11:37:06AM +0200, Galit Heller wrote:
> However, the case which originally triggered my question still stands:
>
> when an output section is created via the statement:
>
> .section_name : { . += 600; }
>
> then .section_name does not have SEC_ALLOC flag set (and thus no overlap
> error is reported for this section).
We can't really do anything about this. !SEC_ALLOC && !SEC_LOAD
sections are typically used for debug sections. If we started checking
these, they would all clash.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list