From 0fc15eae49ed1339cc9195e7fc13e04c7962fcf5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 12 Oct 1997 03:40:09 +0000 Subject: [PATCH] (elf_machine_plt_value): New function. --- sysdeps/alpha/dl-machine.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sysdeps/alpha/dl-machine.h b/sysdeps/alpha/dl-machine.h index d3eb242c040..3f65ae99a33 100644 --- a/sysdeps/alpha/dl-machine.h +++ b/sysdeps/alpha/dl-machine.h @@ -353,6 +353,14 @@ elf_machine_fixup_plt(struct link_map *l, const Elf64_Rela *reloc, hasn't made it into Icache yet, so there's nothing to clean up. */ } +/* Return the final value of a plt relocation. */ +static inline Elf64_Addr +elf_machine_plt_value (struct link_map *map, const Elf64_Rela *reloc, + Elf64_Addr value) +{ + return value + reloc->r_addend; +} + #endif /* !dl_machine_h */ #ifdef RESOLVE -- 2.47.3