Re: [PATCH v2 1/2] dl-runtime: reloc_{offset,index} now functions arch overide'able

2020-06-05 Thread Vineet Gupta
On 6/5/20 1:16 PM, Adhemerval Zanella via Libc-alpha wrote: > > On 01/06/2020 19:18, Vineet Gupta wrote: >> The existing macros are fragile and expect local variables with a >> certain name. Fix this by defining them as functions with default >> implementation in a new header dl-runtime.h which ar

Re: [PATCH v2 1/2] dl-runtime: reloc_{offset,index} now functions arch overide'able

2020-06-05 Thread Adhemerval Zanella
On 01/06/2020 19:18, Vineet Gupta wrote: > The existing macros are fragile and expect local variables with a > certain name. Fix this by defining them as functions with default > implementation in a new header dl-runtime.h which arches can override > if need be. > > This came up during ARC port

[PATCH v2 1/2] dl-runtime: reloc_{offset, index} now functions arch overide'able

2020-06-01 Thread Vineet Gupta
The existing macros are fragile and expect local variables with a certain name. Fix this by defining them as functions with default implementation in a new header dl-runtime.h which arches can override if need be. This came up during ARC port review, hence the need for argument pltgot in reloc_ind