This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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] ARM: Add Cortex-A15 optimized NEON and VFP memcpy routines, with IFUNC.


On 15 April 2013 18:14, Richard Henderson <rth@twiddle.net> wrote:
> On 2013-04-15 11:56, Will Newton wrote:
>>
>> +# ifdef PIC
>> +1:     .long   _GLOBAL_OFFSET_TABLE_  - 0b - PC_OFS
>> +.Lmemcpy_neon:
>> +       .long   C_SYMBOL_NAME(__memcpy_neon)(GOT)
>> +.Lmemcpy_vfp:
>> +       .long   C_SYMBOL_NAME(__memcpy_vfp)(GOT)
>> +.Lmemcpy_arm:
>> +       .long   C_SYMBOL_NAME(__memcpy_arm)(GOT)
>
>
> There's no need for GOT entries.  Just use pc-relative references.

Are you suggesting I use GOTOFF here or something else?

Thanks,

--
Will Newton
Toolchain Working Group, Linaro


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