Re: [4.7] Avoid global state in score_handle_option

2011-03-09 Thread Liqin Chen
Hi Joseph, Joseph Myers 写于 2011-03-10 08:59:52: > Tested building cc1 and xgcc for cross to score-elf. Will commit to > trunk for 4.7 in the absence of target maintainer objections. Thanks Joseph, please commit. We will merge it in our new update. Cheers --liqin

[4.7] Avoid global state in score_handle_option

2011-03-09 Thread Joseph S. Myers
This patch, for 4.7 and relative to a tree with applied, stops the SCORE handle_option hook from using global state. The -march= option is converted to use enumerated arguments. The existing handling of this option maps arguments to bits i