On Tue, Nov 18, 2008 at 08:56:20AM -0800, Michael Eager wrote:
The attached patch adds default board configuration for
--target=powerpc-xilinx-eabi.
--
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
2008-11-18 Michael Eager <eager@eagercon.com>
* config/rs6000/xilinx.h: New, options for
--target=powerpc-xilinx-eabi
* config.gcc: Include xilinx.h
Rather than defining the defines in CPP_OS_DEFAULT_SPEC, it would be better to
define these in TARGET_OS_CPP_BUILTINS or TARGET_OS_SYSV_CPP_BUILTINS. This
way, if the user uses the -std=<xxx> call, it will only define __FOO__, and if
the user doesn't use -std=<xxx>, it will define FOO and __FOO__. Hopefully
Xilinx can change their header files to use either FOO or __FOO__ being
defined.