powerpc: Fix powerpc64 build failure with binutils 2.22
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Fri, 23 Jan 2015 16:31:49 +0000 (11:31 -0500)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Sat, 24 Jan 2015 13:40:04 +0000 (08:40 -0500)
commitbea58013607c6507108bc73744a0bf63d735f259
tree2dd6cbb498ca7e569407030085920937801f5fe3
parent0e87343e204b44468ffad0ec5dc8c8d6068f1227
powerpc: Fix powerpc64 build failure with binutils 2.22

GLIBC memset optimization for POWER8 uses the '.machine power8'
directive, which is only supported officially on binutils 2.24+.  This
causes a build failure on older binutils.

Since the requirement of .machine power8 is to correctly assembly the
'mtvsrd' instruction and it is already handled by the MTVSRD_V1_R4
macro, there is no really needed of using it.

The patch replaces the power8 with power7 for .machine directive.

It fixes BZ#17869.
ChangeLog
NEWS
sysdeps/powerpc/powerpc64/power8/memset.S