From 2364927919f878ee74b38733b5751f21a21d24f3 Mon Sep 17 00:00:00 2001 From: kettenis Date: Tue, 24 Dec 2013 10:53:37 +0000 Subject: [PATCH] Remove some leftover bits that are no longer necessary now that we no longer call atexit(4) directly on hppa. --- libexec/ld.so/hppa/archdep.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/libexec/ld.so/hppa/archdep.h b/libexec/ld.so/hppa/archdep.h index b957b82f681..fba6a235d2c 100644 --- a/libexec/ld.so/hppa/archdep.h +++ b/libexec/ld.so/hppa/archdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: archdep.h,v 1.7 2013/11/13 02:33:24 guenther Exp $ */ +/* $OpenBSD: archdep.h,v 1.8 2013/12/24 10:53:37 kettenis Exp $ */ /* * Copyright (c) 2004 Michael Shalayeff @@ -89,16 +89,9 @@ RELOC_RELA(Elf_RelA *r, const Elf_Sym *s, Elf_Addr *p, unsigned long v, #define RELOC_GOT(obj, offs) -#define MD_CALL(sobj, func, arg) \ - hppa_call((arg), (sobj)->dyn.pltgot, (func)) - -#define MD_ATEXIT(sobj, sym, func) \ - MD_CALL((sobj), (void (*)(void))((sobj)->obj_base + (sym)->st_value), &_hppa_dl_dtors) - #define GOT_PERMS PROT_READ void _hppa_dl_dtors(void); -void hppa_call(void *, Elf_Addr *, void (*)(void)); Elf_Addr _dl_md_plabel(Elf_Addr, Elf_Addr *); #endif /* _HPPA_ARCHDEP_H_ */ -- 2.20.1