| 1 | /* The ABI calls for the PLT stubs to pass the index of the relocation |
|---|---|
| 2 | and not its offset. In _dl_profile_fixup and _dl_call_pltexit we |
| 3 | also use the index. Therefore it is wasteful to compute the offset |
| 4 | in the trampoline just to reverse the operation immediately |
| 5 | afterwards. */ |
| 6 | #define reloc_offset reloc_arg * sizeof (PLTREL) |
| 7 | #define reloc_index reloc_arg |
| 8 | |
| 9 | #include <elf/dl-runtime.c> |
| 10 |