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: ld i386 differences 2.10.2 / 2.12


On Mon, Mar 25, 2002 at 04:34:03PM +0100, Etienne Lorrain wrote:
> 
>  1) sections named ".rel.*" and I do not understand for which reason.
>     The map file say:
> .rel.text       0x00000000        0x0
> 
> .rel.text.add_valid_mode
>                 0x00000000        0x0
> 
> .rel.text.free_hardwin
>                 0x00000000        0x0
>     I have and manage segments ".text", ".text.add_valid_mode" ... but
>    can someone point me on which occasion the ".rel" are generated?
>    They do not seem to be referenced anywhere, but I would like
>    not to generate them.

They're reloc sections, and won't appear in the output with the ld
options you're using.  I'm not sure what has changed that they now
appear in the map file.  I'll investigate if I find some time..

>  2) a lot of "prohibited cross reference" in between sections, probably
>    due to the lines in boot.lnk (make boot.lnk):
> NOCROSSREFS (.text .extra);
> NOCROSSREFS (.extra_text .text_extra);
>    while using intermediate segments .Xextra2text and .Xtext2extra
>    which can themselves have cross references.
> 
>    I do not see the reason why this is only on ld-2.12, have the
>    cross reference algorithm been changed to be recusive?

You've likely found a bug in some changes I made.

-- 
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]