This is the mail archive of the binutils@sourceware.org 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: [PATCH] gold: add dynamic symbol support for ARM target.


Will do.  For the time being, I would like to have a semi-working
version so that people other than me can work on it.

-Doug

2009/5/29 Richard Earnshaw <rearnsha@arm.com>:
> On Thu, 2009-05-28 at 18:48 -0700, Doug Kwan (Ãö®¶¼w) wrote:
>> +const uint32_t Output_data_plt_arm<big_endian>::first_plt_entry[5] =
>> +{
>> +  0xe52de004,  // str   lr, [sp, #-4]!
>> +  0xe59fe004,   // ldr   lr, [pc, #4]
>> +  0xe08fe00e,  // add   lr, pc, lr
>> +  0xe5bef008,  // ldr   pc, [lr, #8]!
>> +  0x00000000,  // &GOT[0] - .
>> +};
>> +
>
> Please take a look at the way this is now being done in the old linker.
> Hard-coding numbers like this means you'll have a number of problems to
> deal with when you come to adding thumb/thumb2, be8 and other features
> of the architecture.
>
> R.
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]