diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-12-24 10:53:38 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-12-24 10:53:38 +0000 |
commit | c8249d6af55d0a23e836050106639b02a3464f42 (patch) | |
tree | 749c62e39a5efdb0841c59f3a60482ae754f607b /libexec/ld.so/hppa | |
parent | 91cca7cf1069c8287b7529f6b5ce0af50d05cd50 (diff) |
Remove some leftover bits that are no longer necessary now that we no
longer call atexit(4) directly on hppa.
Diffstat (limited to 'libexec/ld.so/hppa')
-rw-r--r-- | libexec/ld.so/hppa/archdep.h | 9 |
1 files changed, 1 insertions, 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_ */ |