1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Code cleanup in __dl_iterate_phdr.

This commit is contained in:
Ulrich Drepper
2010-05-03 06:34:56 -07:00
parent ab00f4eac8
commit c739ec3d81
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/* Get loaded objects program headers.
Copyright (C) 2001-2004, 2006-2008, 2009 Free Software Foundation, Inc.
Copyright (C) 2001-2004, 2006-2009, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2001.
@ -68,7 +68,6 @@ __dl_iterate_phdr (int (*callback) (struct dl_phdr_info *info,
info.dlpi_phnum = l->l_phnum;
info.dlpi_adds = GL(dl_load_adds);
info.dlpi_subs = GL(dl_load_adds) - nloaded;
info.dlpi_tls_modid = 0;
info.dlpi_tls_data = NULL;
info.dlpi_tls_modid = l->l_tls_modid;
if (info.dlpi_tls_modid != 0)