OSDN Git Service

Move target CPP macro handling to C file and add __VIS/__VIS__.
authordavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Sep 2011 19:04:35 +0000 (19:04 +0000)
committerdavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Sep 2011 19:04:35 +0000 (19:04 +0000)
commit9e64c9a422d0e4a50de219a78f5b58fdb8087ec1
tree6c047b798984899fe89ec8b5c02c76d52d97768a
parentd900d05c4e0ab8737c8de51bd42e590fc3520d22
Move target CPP macro handling to C file and add __VIS/__VIS__.

* config/sparc/sparc-c.c: New file implementing sparc_target_macros,
which will now define __VIS and __VIS__ when -mvis is enabled.
* config/sparc/t-sparc: Likewise.
* config.gcc: Add sparc-c.o to c_target_objs and cxx_target_objs,
and add t-sparc to tmake_file for all sparc targets.
* config/sparc/sparc-protos.h (sparc_target_macros): Declare.
* config/sparc/sparc.h (TARGE_CPU_CPP_BUILTINS): Call it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179210 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config.gcc
gcc/config/sparc/sparc-c.c [new file with mode: 0644]
gcc/config/sparc/sparc-protos.h
gcc/config/sparc/sparc.h
gcc/config/sparc/t-sparc [new file with mode: 0644]