]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
powerpc: Add missing insn in swapcontext [BZ #20004]
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>
Tue, 3 May 2016 15:45:51 +0000 (10:45 -0500)
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>
Tue, 3 May 2016 15:45:51 +0000 (10:45 -0500)
A missing instruction was discovered in the compat version of
swapcontext while running the GCC test suite.

ChangeLog
sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S

index a551f7086af48e775154e603c9875e8681e2442f..64d1bc722ef35bdb3594b894b9abc424212c78ad 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
+           Segher Boessenkool  <segher@gcc.gnu.org>
+
+       [BZ #20004]
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
+       (__novec_swapcontext): Add missing load.
+
 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
 
        [BZ #20023]
index a166dcc53fece2e0d131a025cf0fcf4bcafd9861..a05a9ccc89f804a16327f8cf71769ecc67d544d5 100644 (file)
@@ -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)