bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question about ordering .rela sections on Itanium


From: Alan Modra
Subject: Re: question about ordering .rela sections on Itanium
Date: Thu, 6 Jun 2002 20:58:31 +0930
User-agent: Mutt/1.3.25i

On Wed, Jun 05, 2002 at 04:16:00PM -0700, Lowney, Geoff wrote:
> Depending on where I place the statement in the the
> linker script, the relocations may be placed such that they are
> ignored by the program loader.  Is this expected behavior?

No, that's weird, unless there's something about the ia66 ELF format
that requires one set of relocs be applied before others can be done
correctly.  I don't know enough about ia64 to know whether this is
the case, but it's true on other targets.  eg. powerpc64 ld.so needs
to relocate the .opd section before applying .plt relocs as the .plt
relocs copy .opd section data.

> Question: what determines the placement of
> .rela.IA_64.unwind_info if it is not mentioned in the script?

See the place_orphan function in ld/emultempl/elf32.em.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



reply via email to

[Prev in Thread] Current Thread [Next in Thread]