summaryrefslogtreecommitdiff
path: root/elf/failobj.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-20 20:01:17 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-20 20:01:17 +0000
commit1e2623127469890c7912d12a8ba5bc70d068eb18 (patch)
treef3e9b75f2cd829b6819c2c7e825c6c97366697ad /elf/failobj.c
parentad11b5a745d0aeee42ead08f6cadfe4dcc84ad82 (diff)
downloadglibc-1e2623127469890c7912d12a8ba5bc70d068eb18.tar.gz
Update.
* elf/Makefile (tests): Add loadfail. Add rules to build failobj.so. * elf/loadfail.c: New file. Test of failing to load object with RTLD_GLOBAL set. * elf/failobj.c: New file. Object which will fail to load.
Diffstat (limited to 'elf/failobj.c')
-rw-r--r--elf/failobj.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/elf/failobj.c b/elf/failobj.c
new file mode 100644
index 0000000000..16228c7bb3
--- /dev/null
+++ b/elf/failobj.c
@@ -0,0 +1,6 @@
+/* This function is supposed to not exist. */
+int
+foo (int a)
+{
+ return xyzzy (a);
+}