[PATCH] re-enable -mabi=no-altivec, use -mabi=altivec as default for powerpc-linux

Mark Mitchell mark@codesourcery.com
Tue Feb 19 00:06:00 GMT 2008


Janis Johnson wrote:
> On Fri, 2008-02-15 at 10:53 -0500, David Edelsohn wrote:
>> Janis,
>>
>> 	The new patch looks okay.
> 
> RMs, can this go into 4.3?  It's an important fix in commonly-used
> functionality for powerpc-linux.

Is this a backwards-compatible change?  In other words, will legacy 
32-bit Power object files, built without AltiVec support, work when 
linked with object files built with this new compiler in its default mode?

There are four modes: {-maltivec,-mo-altivec} x { -mabi=altivec, 
-mabi=no-altivec}.  Which of the four used to be compatible which others 
before the patch?  Which are after the patch?  I'm sorry to be dense 
about htis, but I'm having a hard time keeping it sorted.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list