Re: [PATCH][RFC] -EB / -EL don't properly affect gcc predefined symbols

2006-10-12 Thread Hiroki Kaminaga
-g1} \ %{G*} %{EB:-meb} %{EL:-mel} %{EB:%{EL:%emay not use both -EB and -EL}} \ %{save-temps: } \ -%(subtarget_cc1_spec)" +%(subtarget_cc1_spec) %{profile:-p}" -#endif Other architecture seems to set %{profile:-p} to CC1_SPEC. Best Regards, (Hiroki Kaminaga) t --

Re: [PATCH][RFC] -EB / -EL don't properly affect gcc predefined symbols

2006-10-12 Thread Hiroki Kaminaga
From: Andrew Pinski <[EMAIL PROTECTED]> > On Thu, 2006-10-12 at 17:06 +0900, Hiroki Kaminaga wrote: > > Hi, > > > > Regarding the PR: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29413 > > > > Is below patch adequate to fix the problem? > >

Re: [PATCH][RFC] -EB / -EL don't properly affect gcc predefined symbols

2006-10-12 Thread Hiroki Kaminaga
From: Andrew Pinski <[EMAIL PROTECTED]> > As I mentioned in the bug report, the problem is that CC1_SPEC > is the wrong one. (snip) > The attached patch is the more correct way to solve this. Thanks alot! (Hiroki Kaminaga) t --

[PATCH][RFC] -EB / -EL don't properly affect gcc predefined symbols

2006-10-12 Thread Hiroki Kaminaga
Hi, Regarding the PR: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29413 Is below patch adequate to fix the problem? Works fine with me, but haven't done any regression test. Thanks in Advance (Hiroki Kaminaga) t -- Index: gcc/gcc/config/mips/m