This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld i386 differences 2.10.2 / 2.12
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Etienne Lorrain <etienne_lorrain at yahoo dot fr>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 26 Mar 2002 16:39:51 +1030
- Subject: Re: ld i386 differences 2.10.2 / 2.12
- References: <20020325153403.96899.qmail@web11803.mail.yahoo.com>
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