[PATCH v2 1/2] dl-runtime: reloc_{offset,index} now functions arch overide'able
Vineet Gupta
Vineet.Gupta1@synopsys.com
Fri Jun 5 20:47:32 GMT 2020
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 arches can override
>> if need be.
>>
>> This came up during ARC port review, hence the need for argument pltgot
>> in reloc_index() which is not needed by existing ports.
>>
>> This patch potentially only affects hppa/x86 ports,
>> build tested for both those configs and a few more.
>>
>> Suggested-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
> LGTM, thanks. There are just style nits in the one-line comment
> for new files.
>
> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
>
Pushed with the fixes. Thx.
More information about the Libc-alpha
mailing list