aboutsummaryrefslogtreecommitdiff
path: root/libexec/rtld-elf/arm
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2012-03-11 20:03:09 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2012-03-11 20:03:09 +0000
commit83aa9cc00c2d83d05a0efe7a1496d8aab4a153bb (patch)
treee4eae50ab265adfbfc5e1f5293bdb637284ed4f5 /libexec/rtld-elf/arm
parentd1545c15cf0586b4040f3195cf9ab446c2ff2110 (diff)
Notes
Diffstat (limited to 'libexec/rtld-elf/arm')
-rw-r--r--libexec/rtld-elf/arm/rtld_machdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libexec/rtld-elf/arm/rtld_machdep.h b/libexec/rtld-elf/arm/rtld_machdep.h
index cd597dd21b760..f980de07b7abb 100644
--- a/libexec/rtld-elf/arm/rtld_machdep.h
+++ b/libexec/rtld-elf/arm/rtld_machdep.h
@@ -48,6 +48,9 @@ Elf_Addr reloc_jmpslot(Elf_Addr *where, Elf_Addr target,
#define call_initfini_pointer(obj, target) \
(((InitFunc)(target))())
+#define call_init_pointer(obj, target) \
+ (((InitArrFunc)(target))(main_argc, main_argv, environ))
+
#define TLS_TCB_SIZE 8
typedef struct {
unsigned long ti_module;