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


Hi,

> I agree however.  Either the section should become allocated or else a
> warning should be issued that advancing dot has no effect inside an
> unallocated section.  How about a patch like this:
> 
> Cheers
>         Nick
> 
> 2004-01-12  Nick Clifton  <nickc@redhat.com>
> 
>         * ldlang.c (lang_size_sections_1): If dot is advanced, then
>         assume that the section should be allocated.

Works for me.

BTW, it seems that the change mentioned in:

    http://sources.redhat.com/ml/binutils/2003-10/msg00213.html

and which is related to region checking, was not made.

Thanks,
Galit.


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