From b5efde2fd3c061e546b0012e7cf6d6f8e74c6960 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 5 Mar 1998 16:42:56 +0000 Subject: Testsuite for owrdexp. --- elf/link.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'elf/link.h') diff --git a/elf/link.h b/elf/link.h index d056e65617..b8bce5839d 100644 --- a/elf/link.h +++ b/elf/link.h @@ -106,6 +106,10 @@ struct r_search_path_elem size_t machdirnamelen; enum r_dir_status machdirstatus; + /* Strings saying where the definition came from. */ + const char *what; + const char *where; + /* This link is only used in the `all_dirs' member of `r_search_path'. */ struct r_search_path_elem *next; }; @@ -238,6 +242,9 @@ extern const char *_dl_profile; /* Map of shared object to be profiled. */ extern struct link_map *_dl_profile_map; +/* If nonzero the appropriate debug information if printed. */ +extern int _dl_debug_libs; + /* OS-dependent function to open the zero-fill device. */ extern int _dl_sysdep_open_zero_fill (void); /* dl-sysdep.c */ @@ -461,6 +468,10 @@ extern void _dl_mcount (ElfW(Addr) frompc, ElfW(Addr) selfpc); /* Show the members of the auxiliary array passed up from the kernel. */ extern void _dl_show_auxv (void); +/* Return all environment variables starting with `LD_', one after the + other. */ +extern char *_dl_next_ld_env_entry (char ***position); + __END_DECLS #endif /* link.h */ -- cgit v1.2.3