Patchwork [SPARC] Fix PR target/50979

login
register
mail settings
Submitter Eric Botcazou
Date Nov. 4, 2011, 5:38 p.m.
Message ID <201111041838.53268.ebotcazou@adacore.com>
Download mbox | patch
Permalink /patch/123676/
State New
Headers show

Comments

Eric Botcazou - Nov. 4, 2011, 5:38 p.m.
We need this to please the mainline version of GNU as.

Bootstrapped on SPARC/Linux, applied on mainline, 4.6 and 4.5 branches.


2011-11-04  Eric Botcazou  <ebotcazou@adacore.com>

	PR target/50979
	* config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=v8.

Patch

Index: config/sparc/sparc.h
===================================================================
--- config/sparc/sparc.h	(revision 180818)
+++ config/sparc/sparc.h	(working copy)
@@ -328,6 +328,7 @@  extern enum cmodel sparc_cmodel;
 %{mcpu=sparclite:-Asparclite} \
 %{mcpu=sparclite86x:-Asparclite} \
 %{mcpu=f930:-Asparclite} %{mcpu=f934:-Asparclite} \
+%{mcpu=v8:-Av8} \
 %{mv8plus:-Av8plus} \
 %{mcpu=v9:-Av9} \
 %{mcpu=ultrasparc:%{!mv8plus:-Av9a}} \