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

2020-05-29 Thread Adhemerval Zanella
On 29/05/2020 14:39, Vineet Gupta wrote: > On 5/29/20 5:58 AM, Adhemerval Zanella via Libc-alpha wrote: >> >> >> On 28/05/2020 16:43, Vineet Gupta wrote: >>> The existing macros are fragile and expect local variables with a >>> certain name. Fix this by defining them as functions with defaul >>>

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

2020-05-29 Thread Vineet Gupta
On 5/29/20 5:58 AM, Adhemerval Zanella via Libc-alpha wrote: > > > On 28/05/2020 16:43, Vineet Gupta wrote: >> The existing macros are fragile and expect local variables with a >> certain name. Fix this by defining them as functions with defaul >> timplementation in a new header dl-runtime.h whic

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

2020-05-29 Thread Adhemerval Zanella
On 28/05/2020 16:43, Vineet Gupta wrote: > The existing macros are fragile and expect local variables with a > certain name. Fix this by defining them as functions with defaul > timplementation in a new header dl-runtime.h which arches can overrid > eif need be. > > This came up during ARC port

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

2020-05-28 Thread Vineet Gupta
The existing macros are fragile and expect local variables with a certain name. Fix this by defining them as functions with defaul timplementation in a new header dl-runtime.h which arches can overrid eif need be. This came up during ARC port review. This patch potentially only affects hppa/x86 p