aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/m68k
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-08-28 22:54:12 +0000
committerUlrich Drepper <drepper@redhat.com>1998-08-28 22:54:12 +0000
commit68d11b268ef545ce6a14ba574836609b36fd783a (patch)
tree132cef443d389af23f2cae9fc175c7abea73e7e0 /sysdeps/m68k
parentf35b9f2a88e237e2849417163d2bc72215409de6 (diff)
downloadglibc-68d11b268ef545ce6a14ba574836609b36fd783a.tar
glibc-68d11b268ef545ce6a14ba574836609b36fd783a.tar.gz
glibc-68d11b268ef545ce6a14ba574836609b36fd783a.tar.bz2
glibc-68d11b268ef545ce6a14ba574836609b36fd783a.zip
(elf_machine_lazy_rel): Change first parameter and use this value.
Diffstat (limited to 'sysdeps/m68k')
-rw-r--r--sysdeps/m68k/dl-machine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/m68k/dl-machine.h b/sysdeps/m68k/dl-machine.h
index 3e574802c4..b8911dccc7 100644
--- a/sysdeps/m68k/dl-machine.h
+++ b/sysdeps/m68k/dl-machine.h
@@ -320,13 +320,13 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
}
static inline void
-elf_machine_lazy_rel (struct link_map *map, const Elf32_Rela *reloc)
+elf_machine_lazy_rel (Elf32_Addr l_addr, const Elf32_Rela *reloc)
{
- Elf32_Addr *const reloc_addr = (void *) (map->l_addr + reloc->r_offset);
+ Elf32_Addr *const reloc_addr = (void *) (l_addr + reloc->r_offset);
switch (ELF32_R_TYPE (reloc->r_info))
{
case R_68K_JMP_SLOT:
- *reloc_addr += map->l_addr;
+ *reloc_addr += l_addr;
break;
default:
assert (! "unexpected PLT reloc type");