Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 7 Jul 1998 17:31:11 +0000 (17:31 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 7 Jul 1998 17:31:11 +0000 (17:31 +0000)
1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
* elf/dl-support.c: Define it here...
* elf/rtld.c: ...and here.

ChangeLog
elf/dl-profstub.c
elf/dl-support.c
elf/rtld.c

index 4ab9d7b..9e79745 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>
+
+       * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
+       * elf/dl-support.c: Define it here...
+       * elf/rtld.c: ...and here.
+
 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
 
        * grp/initgroups.c: Handle directives from nsswitch.conf file.
index 9740c6a..10db640 100644 (file)
@@ -24,7 +24,7 @@
 
 /* This is the map for the shared object we profile.  It is defined here
    only because we test for this value being NULL or not.  */
-struct link_map *_dl_profile_map;
+extern struct link_map *_dl_profile_map;
 
 
 void
index 73c90c2..418088a 100644 (file)
@@ -57,6 +57,9 @@ const char *_dl_profile;
 /* Names of shared object for which the RPATHs should be ignored.  */
 const char *_dl_inhibit_rpath;
 
+/* The map for the object we will profile.  */
+struct link_map *_dl_profile_map;
+
 /* This is the address of the last stack address ever used.  */
 void *__libc_stack_end;
 
index bf4a142..df5db23 100644 (file)
@@ -73,6 +73,7 @@ unsigned long _dl_hwcap;
 struct r_search_path *_dl_search_paths;
 const char *_dl_profile;
 const char *_dl_profile_output;
+struct link_map *_dl_profile_map;
 int _dl_debug_libs;
 int _dl_debug_impcalls;
 int _dl_debug_bindings;