aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/tests/rtdl/scope4/libbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/tests/rtdl/scope4/libbar.c')
-rw-r--r--lib/mlibc/tests/rtdl/scope4/libbar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/mlibc/tests/rtdl/scope4/libbar.c b/lib/mlibc/tests/rtdl/scope4/libbar.c
new file mode 100644
index 0000000..514e456
--- /dev/null
+++ b/lib/mlibc/tests/rtdl/scope4/libbar.c
@@ -0,0 +1,3 @@
+// Bar needs to have a relocation against foo in order to set DT_NEEDED.
+void foo(void);
+void bar() { foo(); }