[PATCH][RFC] -EB / -EL don't properly affect gcc predefined symbols
Andrew Pinski
pinskia@gmail.com
Thu Oct 12 14:29:00 GMT 2006
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?
> Works fine with me, but haven't done any regression test.
As I mentioned in the bug report, the problem is that CC1_SPEC
is the wrong one.
Adding EB/EL to CPP_SPEC will only fix the C/C++/Objective-C front-ends
and no others.
The attached patch is the more correct way to solve this.
Thanks,
Andrew Pinski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixmips.diff.txt
Type: text/x-patch
Size: 534 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20061012/f7fe0c8e/attachment.bin>
More information about the Gcc
mailing list