aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-07-10 20:00:44 +0000
committerUlrich Drepper <drepper@redhat.com>2004-07-10 20:00:44 +0000
commitee600e3f76afbdc92c3258c362b6c061ada58b21 (patch)
treef7df5444bdc68cc8117eff7f45cdc8e124dfc334 /elf
parentd199bfb22296dbb3f0a17bfdde719a14da406ff1 (diff)
downloadglibc-ee600e3f76afbdc92c3258c362b6c061ada58b21.zip
glibc-ee600e3f76afbdc92c3258c362b6c061ada58b21.tar.gz
glibc-ee600e3f76afbdc92c3258c362b6c061ada58b21.tar.bz2
Update.
2004-07-10 Ulrich Drepper <drepper@redhat.com> * elf/ldconfig.c: Define PROCINFO_CLASS as static before including ldsodefs.h. * sysdeps/generic/ldsodefs.h: Only define PROCINFO_CLASS if it is not already defined. * sysdeps/i386/dl-procinfo.c: Define PROCINFO_CALLS only if not already defined. * elf/rtld.c (print_statistics): Mark with noinline attribute. * sysdeps/i386/dl-machine.h (elf_machine_rel): Mark with always_inline attribute. (elf_machine_rel_relative): Likewise. * include/string.h: Add libc_hidden_proto for __strtok_r and __strsep_g. * sysdeps/generic/strsep.c: Add libc_hidden_def. * sysdeps/generic/strtok_r.c: Likewise. * sysdeps/i386/strtok_r.S: Add alias for internal symbol. * sysdeps/i386/i686/strtok_r.S: Likewise. * sysdeps/x86_64/strtok_r.S: Likewise. 2004-07-09 Alexandre Oliva <aoliva@redhat.com> * inet/getnetgrent_r.c (internal_setnetgrent): Make it hidden instead of internal-linkage, such that we can alias to it. (internal_endnetgrent, internal_getnetgrent_r): Likewise.
Diffstat (limited to 'elf')
-rw-r--r--elf/ldconfig.c1
-rw-r--r--elf/rtld.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/elf/ldconfig.c b/elf/ldconfig.c
index d85bbc8..448857e 100644
--- a/elf/ldconfig.c
+++ b/elf/ldconfig.c
@@ -17,6 +17,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#define PROCINFO_CLASS static
#include <alloca.h>
#include <argp.h>
#include <dirent.h>
diff --git a/elf/rtld.c b/elf/rtld.c
index 3def030..a65e9c4 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -2229,6 +2229,7 @@ process_envvars (enum mode *modep)
/* Print the various times we collected. */
static void
+__attribute ((noinline))
print_statistics (hp_timing_t *rtld_total_timep)
{
#ifndef HP_TIMING_NONAVAIL