
On Thu, Sep 29, 2005 at 12:26:33PM -0400, Chuck Meade wrote:
Your patch removes ENDIANNESS from MIPSFLAGS. MIPSFLAGS affects more than just the linker. Your patch removes the -EB flag being sent to all tools that have MIPSFLAGS, including the compiler. Your patch also changes the use of MIPSFLAGS itself, so this may be hard for you to see.
Mmm... I see what you mean. Option «-EB» is used also by the compiler... I thought it was a linker option only.
Look at the file after you have applied your patch, and you will see that there is now absolutely no way that PLATFORM_CPPFLAGS would *ever* have "-EB" appended to it. That is what you have removed.
Ok, I'll fix better the code in my next patch since I'm working on removing «-mips_allow_branch_to_undefined» option from gas.
Thanks,
Rodolfo