This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Overlap error not generated for sections w/o content


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]