Module Name:    src
Committed By:   joerg
Date:           Sun Aug 31 20:06:22 UTC 2014

Modified Files:
        src/libexec/ld.elf_so/arch/i386: mdreloc.c

Log Message:
Remove (now duplicated) target computation.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/libexec/ld.elf_so/arch/i386/mdreloc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/ld.elf_so/arch/i386/mdreloc.c
diff -u src/libexec/ld.elf_so/arch/i386/mdreloc.c:1.36 src/libexec/ld.elf_so/arch/i386/mdreloc.c:1.37
--- src/libexec/ld.elf_so/arch/i386/mdreloc.c:1.36	Mon Aug 25 20:40:52 2014
+++ src/libexec/ld.elf_so/arch/i386/mdreloc.c	Sun Aug 31 20:06:22 2014
@@ -1,8 +1,8 @@
-/*	$NetBSD: mdreloc.c,v 1.36 2014/08/25 20:40:52 joerg Exp $	*/
+/*	$NetBSD: mdreloc.c,v 1.37 2014/08/31 20:06:22 joerg Exp $	*/
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mdreloc.c,v 1.36 2014/08/25 20:40:52 joerg Exp $");
+__RCSID("$NetBSD: mdreloc.c,v 1.37 2014/08/31 20:06:22 joerg Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -238,7 +238,6 @@ _rtld_relocate_plt_object(const Obj_Entr
 		target = (Elf_Addr)(defobj->relocbase + def->st_value);
 	}
 
-	target = (Elf_Addr)(defobj->relocbase + def->st_value);
 	rdbg(("bind now/fixup in %s --> old=%p new=%p",
 	    defobj->strtab + def->st_name, (void *)*where, 
 	    (void *)target));

Reply via email to