Commit 4144e4e3 by Segher Boessenkool Committed by Segher Boessenkool

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
parent fdb1880f
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
modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
(test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
......
......@@ -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)
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment