Index: uspace/lib/dltest/dltest.c
===================================================================
--- uspace/lib/dltest/dltest.c	(revision 412241029cdceceae7ccb252914ce4d698abd985)
+++ uspace/lib/dltest/dltest.c	(revision b71ec664762bfb2e9e496a3c167122cd1c698285)
@@ -60,4 +60,14 @@
 {
 	return dl_constant;
+}
+
+/** Return constant value by calling another function.
+ *
+ * This can be used to test dynamically linked call (via PLT) even in case
+ * binaries are statically linked.
+ */
+int dl_get_constant_via_call(void)
+{
+	return dl_get_constant();
 }
 
Index: uspace/lib/dltest/libdltest.h
===================================================================
--- uspace/lib/dltest/libdltest.h	(revision 412241029cdceceae7ccb252914ce4d698abd985)
+++ uspace/lib/dltest/libdltest.h	(revision b71ec664762bfb2e9e496a3c167122cd1c698285)
@@ -47,4 +47,5 @@
 
 extern int dl_get_constant(void);
+extern int dl_get_constant_via_call(void);
 extern int dl_get_private_var(void);
 extern int *dl_get_private_var_addr(void);
