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.26-111-g5047057


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  5047057ffa1c737cc432eec3113ae6fcd327adf4 (commit)
      from  20c7b195d0f67eeb55bad1b1879250f277ac7eb6 (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=5047057ffa1c737cc432eec3113ae6fcd327adf4

commit 5047057ffa1c737cc432eec3113ae6fcd327adf4
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Aug 16 17:01:27 2017 +0000

    Allow abort PLT references in libc.so for SH.
    
    Given my patch
    <https://gcc.gnu.org/ml/gcc-patches/2017-08/msg00965.html> for the
    ICEs building a glibc string function test for SH, the testsuite can
    build completely for SH with GCC 7 and mainline.  However, there is a
    test failure that does not appear for GCC 6: check-localplt fails
    because of an abort PLT reference in libc.so.
    
    Given the lack of a trap insn pattern for SH, it seems unavoidable
    that the compiler might sometimes generate abort calls, and such abort
    calls (generated from __builtin_trap when there is no trap insn
    pattern) will be unaffected by the normal mapping to __GI_abort for
    calls within glibc.  Thus, this patch allows (but does not require) an
    abort PLT reference in libc.so for SH.
    
    Tested for sh4-linux-gnu with build-many-glibcs.py (GCC 7, with my
    patch applied).
    
    	* sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
    	libc.so.

diff --git a/ChangeLog b/ChangeLog
index 2b7ef31..af07c42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-16  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
+	libc.so.
+
 2017-08-16  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* NEWS: Mention x86-64 FMA optimization.
diff --git a/sysdeps/unix/sysv/linux/sh/localplt.data b/sysdeps/unix/sysv/linux/sh/localplt.data
index 2753547..babb19d 100644
--- a/sysdeps/unix/sysv/linux/sh/localplt.data
+++ b/sysdeps/unix/sysv/linux/sh/localplt.data
@@ -10,6 +10,8 @@ libc.so: _Unwind_Find_FDE
 libc.so: _exit
 libc.so: __errno_location
 libm.so: matherr
+# Generated by the compiler because there is no trap insn pattern.
+libc.so: abort ?
 # The main malloc is interposed into the dynamic linker, for
 # allocations after the initial link (when dlopen is used).
 ld.so: malloc

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

Summary of changes:
 ChangeLog                                |    5 +++++
 sysdeps/unix/sysv/linux/sh/localplt.data |    2 ++
 2 files changed, 7 insertions(+), 0 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]