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.28.9000-392-gdb6df07


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  db6df070cfff9ba78a72346208859b3fdee09561 (commit)
      from  ade8b817fead73b302d08c88cd44ea2ea56793d4 (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=db6df070cfff9ba78a72346208859b3fdee09561

commit db6df070cfff9ba78a72346208859b3fdee09561
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Dec 13 22:36:33 2018 +0000

    Do not clobber sp in _hurd_stack_setup.
    
    GCC mainline now gives errors for an asm that clobbers the stack
    pointer.  According to
    <https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00932.html> GCC
    previously ignored such a clobber; thus, this patch removes it from
    _hurd_stack_setup.
    
    Tested with build-many-glibcs.py for i686-gnu.
    
    	* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
    	clobber sp.

diff --git a/ChangeLog b/ChangeLog
index e457d58..e419448 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-12-13  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
+	clobber sp.
+
 2018-12-13  fanjinke  <fanjinke@hygon.cn>
 
 	* sysdeps/x86/cpu-features.c (init_cpu_features): Check for
diff --git a/sysdeps/mach/hurd/i386/init-first.c b/sysdeps/mach/hurd/i386/init-first.c
index f8ad2ce..e3d5797 100644
--- a/sysdeps/mach/hurd/i386/init-first.c
+++ b/sysdeps/mach/hurd/i386/init-first.c
@@ -361,7 +361,7 @@ _hurd_stack_setup (void)
       *--data = caller;
       asm volatile ("movl %0, %%esp\n" /* Switch to new outermost stack.  */
 		    "movl $0, %%ebp\n" /* Clear outermost frame pointer.  */
-		    "jmp *%1" : : "r" (data), "r" (&doinit1) : "sp");
+		    "jmp *%1" : : "r" (data), "r" (&doinit1));
       /* NOTREACHED */
     }
 

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

Summary of changes:
 ChangeLog                           |    5 +++++
 sysdeps/mach/hurd/i386/init-first.c |    2 +-
 2 files changed, 6 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]