about summary refs log tree commit diff
path: root/elf/ldsodefs.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-08-27 20:42:04 +0000
committerUlrich Drepper <drepper@redhat.com>1998-08-27 20:42:04 +0000
commit5f62394167f5df4565e6e07e1e16c56021626e50 (patch)
tree2d21615bf816ac7cc3b9cdf9b90a1e68b43a7680 /elf/ldsodefs.h
parentf787edde1dcd0f35feff9c8fd6384bd564558180 (diff)
downloadglibc-5f62394167f5df4565e6e07e1e16c56021626e50.tar.gz
glibc-5f62394167f5df4565e6e07e1e16c56021626e50.tar.xz
glibc-5f62394167f5df4565e6e07e1e16c56021626e50.zip
Update.
	Call _dl_new_object with extra argument.
	Call _dl_new_object with extra argument.
	but the main one if new argument is nonzero.
	* elf/ldsodefs.h: Adjust for _dl_new_object change.
	(dl_main): Call _dl_new_object with extra argument.
Diffstat (limited to 'elf/ldsodefs.h')
-rw-r--r--elf/ldsodefs.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/elf/ldsodefs.h b/elf/ldsodefs.h
index 847d5cec12..b36fcd8725 100644
--- a/elf/ldsodefs.h
+++ b/elf/ldsodefs.h
@@ -166,7 +166,7 @@ extern void _dl_sysdep_output (int fd, const char *string, ...);
    descriptor for this.  All arguments are `const char *'; args until
    a null pointer are concatenated to form the message to print.  If
    NEW_LINE is nonzero it is assumed that the message starts on a new
-   line.*/
+   line.  */
 extern void _dl_debug_message (int new_line, const char *string, ...);
 
 /* OS-dependent function to write a message on the standard output.
@@ -356,9 +356,11 @@ extern struct link_map **_dl_object_relocation_scope (struct link_map *map)
 
 
 /* Allocate a `struct link_map' for a new object being loaded,
-   and enter it into the _dl_loaded list.  */
+   and enter it into the _dl_loaded list.  If find origin is nonzero
+   determine the origin of the file.  */
 extern struct link_map *_dl_new_object (char *realname, const char *libname,
-					int type) internal_function;
+					int type, int find_origin)
+     internal_function;
 
 /* Relocate the given object (if it hasn't already been).
    SCOPE is passed to _dl_lookup_symbol in symbol lookups.