aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-15 08:06:15 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-15 08:06:15 +0000
commitfc7f617d300f075fe28567391b10b4c5d64be46f (patch)
treeb0a8765937d52ccdb09a796e4e0c322dae9b804b /sysdeps/generic
parent07a3d63e524f13dd09e14adb0ac2623f6600401d (diff)
downloadglibc-fc7f617d300f075fe28567391b10b4c5d64be46f.tar
glibc-fc7f617d300f075fe28567391b10b4c5d64be46f.tar.gz
glibc-fc7f617d300f075fe28567391b10b4c5d64be46f.tar.bz2
glibc-fc7f617d300f075fe28567391b10b4c5d64be46f.zip
Update.
* include/link.h: Include sysd-link.h. * sysdeps/generic/sysd-link.h: New file. * sysdeps/unix/sysv/linux/sysd-link.h: New file. * elf/Makefile (distribute): Add sysd-link.h. * elf/dl-load.c: Use definitions from sysd-link.h instead of stat types and functions directly. * elf/dl-misc.c: Likewise. * elf/dl-profile.c: Likewise. * elf/loadfail.c (main): Close all successfully loaded objects.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/sysd-link.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/generic/sysd-link.h b/sysdeps/generic/sysd-link.h
new file mode 100644
index 0000000000..2faa1a4f51
--- /dev/null
+++ b/sysdeps/generic/sysd-link.h
@@ -0,0 +1,5 @@
+/* In general we don't have stat64 available. */
+#define elf_stat stat
+#define elf_fxstat __fxstat
+#define elf_xstat __xstat
+#define elf_ino_t ino_t