From a334319f6530564d22e775935d9c91663623a1b4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 22 Dec 2004 20:10:10 +0000 Subject: (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. --- elf/unload.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'elf/unload.c') diff --git a/elf/unload.c b/elf/unload.c index 4566f22..4fd82b7 100644 --- a/elf/unload.c +++ b/elf/unload.c @@ -9,13 +9,11 @@ #include #include -#define MAPS ((struct link_map *) _r_debug.r_map) - #define OUT \ - for (map = MAPS; map != NULL; map = map->l_next) \ + for (map = _r_debug.r_map; map != NULL; map = map->l_next) \ if (map->l_type == lt_loaded) \ - printf ("name = \"%s\", direct_opencount = %d\n", \ - map->l_name, (int) map->l_direct_opencount); \ + printf ("name = \"%s\", opencount = %d\n", \ + map->l_name, (int) map->l_opencount); \ fflush (stdout) typedef struct -- cgit v1.1