Build crt*vr.S with AltiVec enabled

These files won't build on targets that do not have AltiVec enabled,
breaking the build, unless we tell GAS that Altivec insns are fine.
The alternative is to not build these files in that case, which is much
more complicated.


libgcc/
	* config/rs6000/crtrestvr.s: Use .machine altivec.
	* config/rs6000/crtsavevr.s: Ditto.

From-SVN: r246051
This commit is contained in:
Segher Boessenkool 2017-03-10 20:29:48 +01:00 committed by Segher Boessenkool
parent fdb1880f3d
commit 4144e4e301
3 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/crtrestvr.s: Use .machine altivec.
* config/rs6000/crtsavevr.s: Ditto.
2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
* configure.ac (test for libgcc_cv_powerpc_float128): Temporarily

View File

@ -31,6 +31,7 @@
/* Called with r0 pointing just beyond the end of the vector save area. */
.machine altivec
.section ".text"
CFI_STARTPROC
HIDDEN_FUNC(_restvr_20)

View File

@ -31,6 +31,7 @@
/* Called with r0 pointing just beyond the end of the vector save area. */
.machine altivec
.section ".text"
CFI_STARTPROC
HIDDEN_FUNC(_savevr_20)