From: Paul E. Murphy Date: Tue, 3 May 2016 15:45:51 +0000 (-0500) Subject: powerpc: Add missing insn in swapcontext [BZ #20004] X-Git-Tag: glibc-2.24~291 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cbc06bc486635347ee0da51d04a82eedf51602d5;p=thirdparty%2Fglibc.git powerpc: Add missing insn in swapcontext [BZ #20004] A missing instruction was discovered in the compat version of swapcontext while running the GCC test suite. --- diff --git a/ChangeLog b/ChangeLog index a551f7086af..64d1bc722ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2016-05-03 Paul E. Murphy + Segher Boessenkool + + [BZ #20004] + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: + (__novec_swapcontext): Add missing load. + 2016-05-02 Joseph Myers [BZ #20023] diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S index a166dcc53fe..a05a9ccc89f 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S @@ -163,6 +163,7 @@ ENTRY(__novec_swapcontext) cmpdi r0,0 bne L(nv_do_sigret) + ld r8,.LC__dl_hwcap@toc(r2) # ifdef SHARED /* Load _rtld-global._dl_hwcap. */ ld r8,RTLD_GLOBAL_RO_DL_HWCAP_OFFSET(r8)