Overlap error not generated for sections w/o content

Galit Heller Galit.Heller@nsc.com
Mon Jan 12 13:56:00 GMT 2004


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.



More information about the Binutils mailing list