diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-08-19 07:17:09 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-08-19 07:17:09 +0000 |
commit | 752a2a50d4574791b2861653d4352c6b6e4b97ff (patch) | |
tree | 2cbe7eac254ad4e35b9dec0000d85bb6ea915a7e /elf/filter.c | |
parent | 003715fa0da9048b8e1a30b5284013bcf2990257 (diff) | |
download | glibc-752a2a50d4574791b2861653d4352c6b6e4b97ff.tar.gz glibc-752a2a50d4574791b2861653d4352c6b6e4b97ff.tar.xz glibc-752a2a50d4574791b2861653d4352c6b6e4b97ff.zip |
Update.
2000-08-19 Ulrich Drepper <drepper@redhat.com> * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions. * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of a dynamically loaded object remove old l_initfini list. * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to remove some dynamically allocated memory blocks in the dynamic loading data structures. * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0. * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions. Instead call _dl_check_map_versions only for the dependencies. * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname information of initial objects as not free-able. * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free element. * elf/filter.c: Call mtrace. * elf/restest1.c: Likewise. Close the objects. * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more debug information. * elf/constload1.c: Add comment explaining not freed memory.
Diffstat (limited to 'elf/filter.c')
-rw-r--r-- | elf/filter.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/elf/filter.c b/elf/filter.c index 76bc91adc5..46aa15ba16 100644 --- a/elf/filter.c +++ b/elf/filter.c @@ -1,3 +1,4 @@ +#include <mcheck.h> #include <stdio.h> #include <string.h> @@ -6,7 +7,11 @@ extern const char *foo (void); int main (void) { - const char *s = foo (); + const char *s; + + mtrace (); + + s = foo (); printf ("called `foo' from `%s'\n", s); |