projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3abeec5
)
(elf_machine_plt_value): New function.
author
Ulrich Drepper
<drepper@redhat.com>
Sun, 12 Oct 1997 03:40:09 +0000
(
03:40
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Sun, 12 Oct 1997 03:40:09 +0000
(
03:40
+0000)
sysdeps/alpha/dl-machine.h
patch
|
blob
|
history
diff --git
a/sysdeps/alpha/dl-machine.h
b/sysdeps/alpha/dl-machine.h
index
d3eb242
..
3f65ae9
100644
(file)
--- 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