Move target CPP macro handling to C file and add __VIS/__VIS__.
authorDavid S. Miller <davem@davemloft.net>
Mon, 26 Sep 2011 19:04:35 +0000 (19:04 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Mon, 26 Sep 2011 19:04:35 +0000 (12:04 -0700)
commit8d12174db5a92005143deae74b57e553cfa97266
tree6c047b798984899fe89ec8b5c02c76d52d97768a
parent6cb1ef51438f731064431977ca56f7db598409d1
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.

From-SVN: r179210
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]