about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/powerpc
diff options
context:
space:
mode:
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-05-03 10:45:51 -0500
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-05-03 10:45:51 -0500
commitcbc06bc486635347ee0da51d04a82eedf51602d5 (patch)
treeb4e6fdbaa309e919e94a5fc0d52d8320638fb4c8 /sysdeps/unix/sysv/linux/powerpc
parent35281b18b8f9907213410ebbebc23c71b2ec357a (diff)
downloadglibc-cbc06bc486635347ee0da51d04a82eedf51602d5.tar.gz
glibc-cbc06bc486635347ee0da51d04a82eedf51602d5.tar.xz
glibc-cbc06bc486635347ee0da51d04a82eedf51602d5.zip
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
index a166dcc53f..a05a9ccc89 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)