aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/arm
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-03-02 08:06:57 +0000
committerUlrich Drepper <drepper@redhat.com>1999-03-02 08:06:57 +0000
commita96af7b96e2cc213d000164746189eef058d474f (patch)
treeb61e2783d31ddd9f8ce33677b63bd9aae1f65c71 /sysdeps/arm
parentdf019d9428ba9c0c2e234d5269c7869982a3b4bf (diff)
downloadglibc-a96af7b96e2cc213d000164746189eef058d474f.tar
glibc-a96af7b96e2cc213d000164746189eef058d474f.tar.gz
glibc-a96af7b96e2cc213d000164746189eef058d474f.tar.bz2
glibc-a96af7b96e2cc213d000164746189eef058d474f.zip
(elf_machine_runtime_setup): DT_PLTGOT entry is already relocated.
Diffstat (limited to 'sysdeps/arm')
-rw-r--r--sysdeps/arm/dl-machine.h2
1 files changed, 1 insertions, 1 deletions
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