Specify how undefined weak symbol should be resolved in executable

H.J. Lu hjl.tools@gmail.com
Fri Jan 1 00:00:00 GMT 2016


On Mon, Feb 22, 2016 at 10:11 AM, Michael Matz <matz@suse.de> wrote:
> Hi,
>
> On Mon, 22 Feb 2016, H.J. Lu wrote:
>
>> We should extend GNU ABI to:
>>
>> When creating executable, if dynamic relocation is available at
>> run-time,
>
> Typo?  What is the meaning of "dynamic relocation available at runtime".
> Are you talking about a relocation entry or the relocation process?

Dynamic relocation isn't available with static linking.

> How about "When creating a dynamic executable the link editor should ..."?
>
>> the link editor should generate dynamic relocations against
>> unresolved weak symbols so that their values will be resolved at
>> run-time.
>
>
> Ciao,
> Michael.



-- 
H.J.



More information about the Gnu-gabi mailing list