From 5a2b798a48f6f7fee41ae70f800ffa8925da125c Mon Sep 17 00:00:00 2001 From: guenther Date: Thu, 30 Dec 2021 04:48:13 +0000 Subject: [PATCH] Delete dead (duplicate) test --- libexec/ld.so/powerpc64/rtld_machine.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libexec/ld.so/powerpc64/rtld_machine.c b/libexec/ld.so/powerpc64/rtld_machine.c index 859b4166db3..ed798c0f7ce 100644 --- a/libexec/ld.so/powerpc64/rtld_machine.c +++ b/libexec/ld.so/powerpc64/rtld_machine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtld_machine.c,v 1.5 2020/07/18 16:41:43 kettenis Exp $ */ +/* $OpenBSD: rtld_machine.c,v 1.6 2021/12/30 04:48:13 guenther Exp $ */ /* * Copyright (c) 1999 Dale Rahn @@ -283,9 +283,6 @@ _dl_md_reloc_got(elf_object_t *object, int lazy) /* Relocate processor-specific tags. */ object->Dyn.info[DT_PROC(DT_PPC64_GLINK)] += object->obj_base; - if (object->Dyn.info[DT_PLTREL] != DT_RELA) - _dl_die(" bad relocation type PLTREL not RELA"); - plt = (Elf_Addr *) (Elf_RelA *)(object->Dyn.info[DT_PLTGOT]); numplt = object->Dyn.info[DT_PLTRELSZ] / sizeof(Elf_RelA); -- 2.20.1