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.
This commit is contained in:
Paul E. Murphy 2016-05-03 10:45:51 -05:00
parent 35281b18b8
commit cbc06bc486
2 changed files with 8 additions and 0 deletions

View File

@ -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]

View 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)