rs6000 options change for rtems.h
Joel Sherrill
joel.sherrill@oarcorp.com
Fri Dec 2 16:49:00 GMT 2011
On 12/02/2011 10:38 AM, Joseph S. Myers wrote:
> On Fri, 2 Dec 2011, Joel Sherrill wrote:
>
>> 2011-12-02 Joel Sherrill<joel.sherrill@oarcorp.com>
>>
>> * config/rs6000/rtems.h: Switch to using global_options_set
>> in SUBSUBTARGET_OVERRIDE_OPTIONS.
> Is it deliberate that you are removing the first part of each "if"
> condition (thus, no longer checking TARGET_HARD_FLOAT before setting
> rs6000_float_gprs, no longer checking rs6000_float_gprs before setting
> rs6000_spe, etc.)?
>
I patterned this after what was in other files.
It is done this way everywhere it is referenced.
Should all of them be changed?
$ grep global_options_set.x_rs6000_float_gprs *
e500-double.h: if (!global_options_set.x_rs6000_float_gprs) \
eabispe.h: if (!global_options_set.x_rs6000_float_gprs) \
linuxspe.h: if (!global_options_set.x_rs6000_float_gprs) \
rs6000.c: if (!global_options_set.x_rs6000_float_gprs)
rtems.h: if (!global_options_set.x_rs6000_float_gprs) \
--
Joel Sherrill, Ph.D. Director of Research& Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the Gcc-patches
mailing list