summaryrefslogtreecommitdiff
path: root/regress/libexec/ld.so/lazy/libbar
diff options
context:
space:
mode:
Diffstat (limited to 'regress/libexec/ld.so/lazy/libbar')
-rw-r--r--regress/libexec/ld.so/lazy/libbar/Makefile8
-rw-r--r--regress/libexec/ld.so/lazy/libbar/bar.c11
-rw-r--r--regress/libexec/ld.so/lazy/libbar/shlib_version2
3 files changed, 21 insertions, 0 deletions
diff --git a/regress/libexec/ld.so/lazy/libbar/Makefile b/regress/libexec/ld.so/lazy/libbar/Makefile
new file mode 100644
index 00000000000..9e0c88f762b
--- /dev/null
+++ b/regress/libexec/ld.so/lazy/libbar/Makefile
@@ -0,0 +1,8 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2008/01/02 18:36:59 matthieu Exp $
+
+LIB= bar
+SRCS= bar.c
+
+regress: all
+
+.include <bsd.lib.mk>
diff --git a/regress/libexec/ld.so/lazy/libbar/bar.c b/regress/libexec/ld.so/lazy/libbar/bar.c
new file mode 100644
index 00000000000..8121a302369
--- /dev/null
+++ b/regress/libexec/ld.so/lazy/libbar/bar.c
@@ -0,0 +1,11 @@
+/* $OpenBSD: bar.c,v 1.1.1.1 2008/01/02 18:36:59 matthieu Exp $ */
+/* Public Domain, 2008, Matthieu Herrb */
+
+#include <stdio.h>
+
+int
+bar(void)
+{
+ printf("bar\n");
+ return 0;
+}
diff --git a/regress/libexec/ld.so/lazy/libbar/shlib_version b/regress/libexec/ld.so/lazy/libbar/shlib_version
new file mode 100644
index 00000000000..97c9f92d6b8
--- /dev/null
+++ b/regress/libexec/ld.so/lazy/libbar/shlib_version
@@ -0,0 +1,2 @@
+major=0
+minor=0