From: drepper Date: Tue, 2 Mar 1999 08:06:57 +0000 (+0000) Subject: (elf_machine_runtime_setup): DT_PLTGOT entry is already relocated. X-Git-Tag: libc-as-990315~93 X-Git-Url: http://git.csclub.uwaterloo.ca/?p=kopensolaris-gnu%2Fglibc.git;a=commitdiff_plain;h=0e6b312004cf562b635e57bbaae1e6f01aca026b (elf_machine_runtime_setup): DT_PLTGOT entry is already relocated. --- diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h index e443711fba..aff8df2238 100644 --- a/sysdeps/arm/dl-machine.h +++ b/sysdeps/arm/dl-machine.h @@ -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