aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/tst-auditmod6b.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/tst-auditmod6b.c')
-rw-r--r--sysdeps/x86_64/tst-auditmod6b.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/x86_64/tst-auditmod6b.c b/sysdeps/x86_64/tst-auditmod6b.c
index b1c155a..886fc33 100644
--- a/sysdeps/x86_64/tst-auditmod6b.c
+++ b/sysdeps/x86_64/tst-auditmod6b.c
@@ -85,6 +85,16 @@ la_objclose (uintptr_t *cookie)
}
uintptr_t
+la_symbind32 (Elf32_Sym *sym, unsigned int ndx, uintptr_t *refcook,
+ uintptr_t *defcook, unsigned int *flags, const char *symname)
+{
+ printf ("symbind32: symname=%s, st_value=%#lx, ndx=%u, flags=%u\n",
+ symname, (long int) sym->st_value, ndx, *flags);
+
+ return sym->st_value;
+}
+
+uintptr_t
la_symbind64 (Elf64_Sym *sym, unsigned int ndx, uintptr_t *refcook,
uintptr_t *defcook, unsigned int *flags, const char *symname)
{