r180021 - in /trunk/gcc: ChangeLog config/sparc...

davem@gcc.gnu.org davem@gcc.gnu.org
Sat Oct 15 03:47:00 GMT 2011


Author: davem
Date: Sat Oct 15 03:46:59 2011
New Revision: 180021

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180021
Log:
Fix mv8plus, allow targetting Linux or Solaris from other sparc host.

	* config/sparc/sol2.h: Protect -m{cpu,tune}=native handling
	with a more complete cpp test.
	* config/sparc/linux64.h: Likewise.
	* config/sparc/linux.h: Likewise.
	* config/sparc/sparc.opt (sparc_debug): New target variable.
	(mdebug): New target option.
	* config/sparc/sparc.h (MASK_DEBUG_OPTIONS, MASK_DEBUG_ALL,
	TARGET_DEBUG_OPTIONS): New defines.
	* config/sparc/sparc.c (debug_target_flag_bits,
	debug_target_flags): New functions.
	(sparc_option_override): Add name strings back to cpu_table[].
	Parse -mdebug string.  When TARGET_DEBUG_OPTIONS is true, print
	out the target flags before and after override processing as well
	as the selected cpu.  If MASK_V8PLUS, make sure that the selected
	cpu is at least v9.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sparc/linux.h
    trunk/gcc/config/sparc/linux64.h
    trunk/gcc/config/sparc/sol2.h
    trunk/gcc/config/sparc/sparc.c
    trunk/gcc/config/sparc/sparc.h
    trunk/gcc/config/sparc/sparc.opt



More information about the Gcc-cvs mailing list