about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-03-02 08:07:31 +0000
committerUlrich Drepper <drepper@redhat.com>1999-03-02 08:07:31 +0000
commitd77fad15db9fda989dd8cdc2d8280d9383d62caa (patch)
treefc605d68acb41fdb7704c9dbd4b493aedb7ed435
parent6dc25b55ba0026ab1cc6d89c4f39346e553cab6b (diff)
downloadglibc-d77fad15db9fda989dd8cdc2d8280d9383d62caa.tar.gz
glibc-d77fad15db9fda989dd8cdc2d8280d9383d62caa.tar.xz
glibc-d77fad15db9fda989dd8cdc2d8280d9383d62caa.zip
Update.
1999-03-02  Philip Blundell  <pb@nexus.co.uk>

	* sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
	entry is already relocated.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/arm/dl-machine.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 63daabbff1..c3773b0cda 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-03-02  Philip Blundell  <pb@nexus.co.uk>
+
+	* sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
+	entry is already relocated.
+
 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
 
 	* resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
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