svn commit: r219386 - head/libexec/rtld-elf/powerpc64
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Mon Mar 7 20:32:47 UTC 2011
Author: nwhitehorn
Date: Mon Mar 7 20:32:46 2011
New Revision: 219386
URL: http://svn.freebsd.org/changeset/base/219386
Log:
Remove dead code that snuck in from the 32-bit PowerPC version of this
file. The error being checked for does not exist on 64-bit systems.
Modified:
head/libexec/rtld-elf/powerpc64/reloc.c
Modified: head/libexec/rtld-elf/powerpc64/reloc.c
==============================================================================
--- head/libexec/rtld-elf/powerpc64/reloc.c Mon Mar 7 19:54:51 2011 (r219385)
+++ head/libexec/rtld-elf/powerpc64/reloc.c Mon Mar 7 20:32:46 2011 (r219386)
@@ -336,10 +336,6 @@ reloc_plt_object(Obj_Entry *obj, const E
obj->priv = malloc(obj->pltrelasize);
glink = obj->priv + reloff*sizeof(Elf_Addr)*2;
- if ((reloff < 0) || (reloff >= 0x8000)) {
- return (-1);
- }
-
dbg(" reloc_plt_object: where=%p,reloff=%lx,glink=%p", (void *)where, reloff, glink);
memcpy(where, _rtld_bind_start, sizeof(struct funcdesc));
More information about the svn-src-head
mailing list