diff --git a/ChangeLog b/ChangeLog index e457d581e9..e419448fe6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-12-13 Joseph Myers + + * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not + clobber sp. + 2018-12-13 fanjinke * 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 f8ad2ceb8e..e3d5797266 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 */ }