(elf_machine_runtime_setup): DT_PLTGOT entry is already relocated.

This commit is contained in:
Ulrich Drepper 1999-03-02 08:06:57 +00:00
parent df019d9428
commit a96af7b96e
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile)
in. Their initial contents will arrange when called to push an
index into the .got section, load ip with &_GLOBAL_OFFSET_TABLE_[3],
and then jump to _GLOBAL_OFFSET_TABLE[2]. */
got = (Elf32_Addr *) (l->l_addr + l->l_info[DT_PLTGOT]->d_un.d_ptr);
got = (Elf32_Addr *) l->l_info[DT_PLTGOT]->d_un.d_ptr;
got[1] = (Elf32_Addr) l; /* Identify this shared object. */
/* The got[2] entry contains the address of a function which gets