Date: Mon, 7 Mar 2011 20:32:47 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r219386 - head/libexec/rtld-elf/powerpc64 Message-ID: <201103072032.p27KWluE046677@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103072032.p27KWluE046677>