From fc7f617d300f075fe28567391b10b4c5d64be46f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 15 Aug 2000 08:06:15 +0000 Subject: 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. --- include/link.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/link.h b/include/link.h index 375d5d1781..8e69f57e05 100644 --- a/include/link.h +++ b/include/link.h @@ -34,6 +34,9 @@ #include /* Defines __ELF_NATIVE_CLASS. */ +/* Get some system specific definitions. */ +#include + /* Rendezvous structure used by the run-time dynamic linker to communicate details of shared object loading to the debugger. If the executable's dynamic section has a DT_DEBUG element, the run-time linker sets that @@ -202,7 +205,7 @@ struct link_map /* This information is kept to check for sure whether a shared object is the same as one already loaded. */ dev_t l_dev; - ino_t l_ino; + elf_ino_t l_ino; /* Collected information about own RUNPATH directories. */ struct r_search_path_elem **l_runpath_dirs; -- cgit v1.2.3