about summary refs log tree commit diff
path: root/elf/tst-dl_find_object-mod5.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-dl_find_object-mod5.c')
-rw-r--r--elf/tst-dl_find_object-mod5.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/elf/tst-dl_find_object-mod5.c b/elf/tst-dl_find_object-mod5.c
new file mode 100644
index 0000000000..3bdbda8ccd
--- /dev/null
+++ b/elf/tst-dl_find_object-mod5.c
@@ -0,0 +1,11 @@
+/* Slightly larger to get different layouts.  */
+char mod5_data[4096];
+
+void
+mod5_function (void (*f) (void))
+{
+  /* Make sure this is not a tail call and unwind information is
+     therefore needed.  */
+  f ();
+  f ();
+}