This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.14-285-g32b4c83


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  32b4c8393f6db8b0bbf9c87a09461111a423a433 (commit)
      from  8e58439c92250cde8aae7c2313d08578070b95bb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=32b4c8393f6db8b0bbf9c87a09461111a423a433

commit 32b4c8393f6db8b0bbf9c87a09461111a423a433
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Sun Sep 11 11:25:51 2011 -0400

    Provide static initializer for _dl_pagesize in statically linked code

diff --git a/ChangeLog b/ChangeLog
index 03b02d3..2736b97 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-09-11  Ulrich Drepper  <drepper@gmail.com>
+
+	* elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
+
 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
 
 	* malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of __set_errno.
diff --git a/elf/dl-support.c b/elf/dl-support.c
index 1b128c3..4226d12 100644
--- a/elf/dl-support.c
+++ b/elf/dl-support.c
@@ -1,5 +1,5 @@
 /* Support for dynamic linking code in static libc.
-   Copyright (C) 1996-2008,2009,2010 Free Software Foundation, Inc.
+   Copyright (C) 1996-2008,2009,2010,2011 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
@@ -24,6 +24,7 @@
 #include <libintl.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <sys/param.h>
 #include <ldsodefs.h>
 #include <dl-machine.h>
 #include <bits/libc-lock.h>
@@ -105,7 +106,7 @@ hp_timing_t _dl_cpuclock_offset;
 
 void (*_dl_init_static_tls) (struct link_map *) = &_dl_nothread_init_static_tls;
 
-size_t _dl_pagesize;
+size_t _dl_pagesize = EXEC_PAGESIZE;
 
 unsigned int _dl_osversion;
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    4 ++++
 elf/dl-support.c |    5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]