From: Ulrich Drepper Date: Sun, 12 Oct 1997 03:40:09 +0000 (+0000) Subject: (elf_machine_plt_value): New function. X-Git-Tag: glibc-2.16-ports-before-merge~3403 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0fc15eae49ed1339cc9195e7fc13e04c7962fcf5;p=thirdparty%2Fglibc.git (elf_machine_plt_value): New function. --- 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