summary refs log tree commit diff
path: root/elf/firstobj.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-02 06:54:15 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-02 06:54:15 +0000
commitb71e7ce8641f7331de82cabea384359cf6d8546d (patch)
treee1e43e03961e7daaad13afa0cff3a4da30e7f791 /elf/firstobj.c
parent5d9167133cd1b614e2841eceba5d6c3828059254 (diff)
downloadglibc-b71e7ce8641f7331de82cabea384359cf6d8546d.tar.gz
glibc-b71e7ce8641f7331de82cabea384359cf6d8546d.tar.xz
glibc-b71e7ce8641f7331de82cabea384359cf6d8546d.zip
Update.
	* elf/Makefile: Add rules to build and run initfirst test.
	* elf/initfirst.c: New file.
	* elf/firstobj.c: New file.
Diffstat (limited to 'elf/firstobj.c')
-rw-r--r--elf/firstobj.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/elf/firstobj.c b/elf/firstobj.c
new file mode 100644
index 0000000000..1e7cb50fd2
--- /dev/null
+++ b/elf/firstobj.c
@@ -0,0 +1,8 @@
+#include <errno.h>
+
+int
+foo (void)
+{
+  errno = 0;
+  return 0;
+}