diff options
author | Marek Polacek <polacek@redhat.com> | 2012-02-29 15:28:38 +0100 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2012-02-29 15:28:38 +0100 |
commit | 1f393a11f65dcaa1952bdcaf0317a65a5f8aff9d (patch) | |
tree | 67b875bd55f952e59411163c3fb47706b97d2b76 /elf/rtld.c | |
parent | 8847f0377003fbfe9cbe951ce9f8717d74f26247 (diff) | |
download | glibc-1f393a11f65dcaa1952bdcaf0317a65a5f8aff9d.zip glibc-1f393a11f65dcaa1952bdcaf0317a65a5f8aff9d.tar.gz glibc-1f393a11f65dcaa1952bdcaf0317a65a5f8aff9d.tar.bz2 |
Always set l_used for vDSO.
Diffstat (limited to 'elf/rtld.c')
-rw-r--r-- | elf/rtld.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* Run time dynamic linker. - Copyright (C) 1995-2010, 2011 Free Software Foundation, Inc. + Copyright (C) 1995-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -1375,6 +1375,9 @@ of this helper program; chances are you did not intend to run this program.\n\ _dl_setup_hash (l); l->l_relocated = 1; + /* The vDSO is always used. */ + l->l_used = 1; + /* Initialize l_local_scope to contain just this map. This allows the use of dl_lookup_symbol_x to resolve symbols within the vdso. So we create a single entry list pointing to l_real as its only |