diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-08-15 08:06:15 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-08-15 08:06:15 +0000 |
commit | fc7f617d300f075fe28567391b10b4c5d64be46f (patch) | |
tree | b0a8765937d52ccdb09a796e4e0c322dae9b804b /sysdeps | |
parent | 07a3d63e524f13dd09e14adb0ac2623f6600401d (diff) | |
download | glibc-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')
-rw-r--r-- | sysdeps/generic/sysd-link.h | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sysd-link.h | 5 |
2 files changed, 10 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 diff --git a/sysdeps/unix/sysv/linux/sysd-link.h b/sysdeps/unix/sysv/linux/sysd-link.h new file mode 100644 index 0000000000..c722d55d1d --- /dev/null +++ b/sysdeps/unix/sysv/linux/sysd-link.h @@ -0,0 +1,5 @@ +/* On Linux we have stat64 available. */ +#define elf_stat stat64 +#define elf_fxstat __fxstat64 +#define elf_xstat __xstat64 +#define elf_ino_t ino64_t |