From a42a42e9b9cd091de549a3b144e89d7c4b5bc2fd Mon Sep 17 00:00:00 2001 From: Thomas Moestl Date: Mon, 18 Nov 2002 22:08:50 +0000 Subject: Fix the handling of high PLT entries (> 32764) on sparc64. This requires additional arguments to reloc_jmpslot(), which is why MI code and MD code of other platforms had to be changed. Reviewed by: jake Approved by: re --- libexec/rtld-elf/rtld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libexec/rtld-elf/rtld.c') diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index 04ce9c4e62a8..24472027c757 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -445,7 +445,7 @@ _rtld_bind(Obj_Entry *obj, Elf_Word reloff) * address. The value returned from reloc_jmpslot() is the value * that the trampoline needs. */ - target = reloc_jmpslot(where, target, defobj); + target = reloc_jmpslot(where, target, defobj, obj, rel); rlock_release(); return target; } -- cgit v1.3