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.17-561-gae9552c


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  ae9552cf7b7f43591a1dfd54baf48d31fbbe9fac (commit)
      from  93fd48c5f633dac3a81a01147688c5d7a429cb58 (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ae9552cf7b7f43591a1dfd54baf48d31fbbe9fac

commit ae9552cf7b7f43591a1dfd54baf48d31fbbe9fac
Author: Maciej W. Rozycki <macro@codesourcery.com>
Date:   Thu Apr 25 16:09:19 2013 +0100

    Declare __ehdr_start with hidden visibility.
    
    This avoids a linker bug triggering for MIPS SVR4 binaries:
    
    http://sourceware.org/bugzilla/show_bug.cgi?id=15365
    
    and regardless serves as a documentation of intent.

diff --git a/ChangeLog b/ChangeLog
index da92463..930af2a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
 
+	* csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
+	__ehdr_start with hidden visibility.
+
 	* soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
 
 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
diff --git a/csu/libc-start.c b/csu/libc-start.c
index fa9085c..e5da3ef 100644
--- a/csu/libc-start.c
+++ b/csu/libc-start.c
@@ -161,7 +161,8 @@ LIBC_START_MAIN (int (*main) (int, char **, char ** MAIN_AUXVEC_DECL),
          So we can set up _dl_phdr and _dl_phnum even without any
          information from auxv.  */
 
-      extern const ElfW(Ehdr) __ehdr_start __attribute__ ((weak));
+      extern const ElfW(Ehdr) __ehdr_start
+	__attribute__ ((weak, visibility ("hidden")));
       if (&__ehdr_start != NULL)
         {
           assert (__ehdr_start.e_phentsize == sizeof *GL(dl_phdr));

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

Summary of changes:
 ChangeLog        |    3 +++
 csu/libc-start.c |    3 ++-
 2 files changed, 5 insertions(+), 1 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]