ld -e number makes an entry in symbol table

H.J. Lu hjl.tools@gmail.com
Thu Sep 10 13:28:00 GMT 2009


On Wed, Sep 9, 2009 at 8:41 PM, Alan Modra<amodra@bigpond.net.au> wrote:
> On Wed, Sep 09, 2009 at 08:50:23AM -0700, H.J. Lu wrote:
>> On Wed, Sep 9, 2009 at 8:23 AM, Andreas Schwab<schwab@redhat.com> wrote:
>> > This was broken by the patch for PR ld/6766.
>>
>> Here is a patch.  OK to install?
>
> I obviously gave the OK for your PR6766 patch too quickly.  I'm
> inclined to think the whole patch should be reverted.
>
> Why should -e be any different from ENTRY() in a script?
>

1. You can only use symbol with ENTRY ().
2. "-e" is specified by user as the start address.
3. "-e" overrides ENTRY ().

-- 
H.J.



More information about the Binutils mailing list