This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, roland/csu-init_array, updated. glibc-2.14-100-ga216230
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 10 Jul 2011 01:49:33 -0000
- Subject: GNU C Library master sources branch, roland/csu-init_array, updated. glibc-2.14-100-ga216230
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, roland/csu-init_array has been updated
via a216230923e5c06f0e170bfc78a69d2692e4f787 (commit)
from 91464843506b8f246a925f6cbc4eee3c78c8d141 (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=a216230923e5c06f0e170bfc78a69d2692e4f787
commit a216230923e5c06f0e170bfc78a69d2692e4f787
Author: Roland McGrath <roland@hack.frob.com>
Date: Sat Jul 9 18:48:56 2011 -0700
sysdeps/init_array: Use .preinit_array rather than .init_array for gmon.
diff --git a/ChangeLog b/ChangeLog
index f4ea4da..f8d5252 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2011-07-09 Roland McGrath <roland@hack.frob.com>
+ * csu/gmon-start.c: Use .preinit_array rather than .init_array.
+
* csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
__gmon_start__ as global, but as static with an .init_array pointer.
* sysdeps/init_array/gmon-start.c: New file. Use that.
diff --git a/sysdeps/init_array/gmon-start.c b/sysdeps/init_array/gmon-start.c
index 591b90e..7fe14ea 100644
--- a/sysdeps/init_array/gmon-start.c
+++ b/sysdeps/init_array/gmon-start.c
@@ -1,4 +1,4 @@
-/* gmon startup hook using .init_array.
+/* gmon startup hook using .preinit_array.
Copyright (C) 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -35,8 +35,8 @@
02111-1307 USA. */
/* Instead of defining __gmon_start__ globally in gcrt1.o, we make it
- static and just put a pointer to it into the .init_array section. */
+ static and just put a pointer to it into the .preinit_array section. */
-#defined GMON_START_ARRAY_SECTION ".init_array"
+#defined GMON_START_ARRAY_SECTION ".preinit_array"
#include <csu/gmon-start.c>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 2 ++
sysdeps/init_array/gmon-start.c | 6 +++---
2 files changed, 5 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU C Library master sources