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