Re: [4.7] Avoid global state in m32r_handle_option

2011-03-04 Thread Nick Clifton
Hi Joseph, Tested building cc1 and xgcc for cross to m32r-elf. Will commit to trunk for 4.7 in the absence of target maintainer objections. No objections - please commit. Cheers Nick

[4.7] Avoid global state in m32r_handle_option

2011-03-03 Thread Joseph S. Myers
This patch, for 4.7 and relative to a tree with applied, stops the M32R handle_option hook from using global state. Some options are converted to using .opt features; in particular, -mmodel= and -msdata= are converted to use Enum. (Because