about summary refs log tree commit diff
path: root/sysdeps/x86_64/dl-runtime.h
Commit message (Collapse)AuthorAgeFilesLines
* dl-runtime: reloc_{offset,index} now functions arch overide'ableVineet Gupta2020-06-051-0/+35
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. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>