Re: [SH] PR 49880 - Fix some more -mdiv option issues

2013-03-25 Thread Oleg Endo
On Wed, 2013-03-13 at 12:05 +0900, Kaz Kojima wrote: Oleg Endo oleg.e...@t-online.de wrote: The attached patch should make the -mdiv= option work as it is described in the documentation (which I updated recently as part of PR 56529). Tested with 'make all' and make -k check-gcc

[SH] PR 49880 - Fix some more -mdiv option issues

2013-03-12 Thread Oleg Endo
Hi, Initially I just wanted to simplify two lines as mentioned in the PR. However, when I started writing the test cases a small can of worms popped up. '-m4 -mdiv=call-div1' would not link on bare metal configs because of missing functions in libgcc, '-m2a -mdiv=call-fp' would ICE and/or not

Re: [SH] PR 49880 - Fix some more -mdiv option issues

2013-03-12 Thread Kaz Kojima
Oleg Endo oleg.e...@t-online.de wrote: The attached patch should make the -mdiv= option work as it is described in the documentation (which I updated recently as part of PR 56529). Tested with 'make all' and make -k check-gcc RUNTESTFLAGS=sh.exp=pr49880* --target_board=sh-sim