about summary refs log tree commit diff
path: root/elf/tst-dl_find_object-mod8.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-dl_find_object-mod8.c')
-rw-r--r--elf/tst-dl_find_object-mod8.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/elf/tst-dl_find_object-mod8.c b/elf/tst-dl_find_object-mod8.c
new file mode 100644
index 0000000000..41f8f1ea09
--- /dev/null
+++ b/elf/tst-dl_find_object-mod8.c
@@ -0,0 +1,10 @@
+char mod8_data;
+
+void
+mod8_function (void (*f) (void))
+{
+  /* Make sure this is not a tail call and unwind information is
+     therefore needed.  */
+  f ();
+  f ();
+}