aboutsummaryrefslogtreecommitdiff
path: root/libexec/rtld-elf/alpha
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-10-29 10:10:10 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-10-29 10:10:10 +0000
commit14a55adf3628d7fa359a37f14bb7bf59f6cec53f (patch)
treec6f2e920ed301497d5c70408b7fe99cd0e111427 /libexec/rtld-elf/alpha
parentd4cf88ddc4484067d352f8427ea81b69287ac44e (diff)
Notes
Diffstat (limited to 'libexec/rtld-elf/alpha')
-rw-r--r--libexec/rtld-elf/alpha/rtld_machdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libexec/rtld-elf/alpha/rtld_machdep.h b/libexec/rtld-elf/alpha/rtld_machdep.h
index a461debd9799..11dd60c8fb86 100644
--- a/libexec/rtld-elf/alpha/rtld_machdep.h
+++ b/libexec/rtld-elf/alpha/rtld_machdep.h
@@ -40,6 +40,9 @@ Elf_Addr reloc_jmpslot(Elf_Addr *, Elf_Addr,
#define make_function_pointer(def, defobj) \
((defobj)->relocbase + (def)->st_value)
+#define call_initfini_pointer(obj, target) \
+ (((InitFunc)(target))())
+
/* Atomic operations. */
int cmp0_and_store_int(volatile int *, int);
void atomic_add_int(volatile int *, int);