]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Adjust prototypes for _dl_lookup_symbol and _dl_lookup_versioned_symbol.
authorUlrich Drepper <drepper@redhat.com>
Sat, 13 Apr 2002 16:03:45 +0000 (16:03 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 13 Apr 2002 16:03:45 +0000 (16:03 +0000)
sysdeps/generic/ldsodefs.h

index 8c2f16016098fb707f28760336a8270e9d6233b9..d2d64cba26f0b55975259b11553507d287479688 100644 (file)
@@ -363,7 +363,7 @@ extern lookup_t _dl_lookup_symbol (const char *undef,
                                   struct link_map *undef_map,
                                   const ElfW(Sym) **sym,
                                   struct r_scope_elem *symbol_scope[],
-                                  int type_class, int explicit)
+                                  int type_class, int flags)
      internal_function;
 
 /* Lookup versioned symbol.  */
@@ -372,9 +372,18 @@ extern lookup_t _dl_lookup_versioned_symbol (const char *undef,
                                             const ElfW(Sym) **sym,
                                             struct r_scope_elem *symbol_scope[],
                                             const struct r_found_version *version,
-                                            int type_class, int explicit)
+                                            int type_class, int flags)
      internal_function;
 
+enum
+  {
+    /* If necessary add dependency between user and provider object.  */
+    DL_LOOKUP_ADD_DEPENDENCY = 1,
+    /* Return most recent version instead of default version for
+       unversioned lookup.  */
+    DL_LOOKUP_RETURN_NEWEST = 2
+  };
+
 /* For handling RTLD_NEXT we must be able to skip shared objects.  */
 extern lookup_t _dl_lookup_symbol_skip (const char *undef,
                                        struct link_map *undef_map,