summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libexec/rtld-elf/powerpc64/reloc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libexec/rtld-elf/powerpc64/reloc.c b/libexec/rtld-elf/powerpc64/reloc.c
index bc53a08..df14af2 100644
--- a/libexec/rtld-elf/powerpc64/reloc.c
+++ b/libexec/rtld-elf/powerpc64/reloc.c
@@ -336,10 +336,6 @@ reloc_plt_object(Obj_Entry *obj, const Elf_Rela *rela)
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));
OpenPOWER on IntegriCloud