[patch] new patch to fix tfmode for i386-darwin

Eric Christopher echristo@apple.com
Sat May 26 00:39:00 GMT 2007


On May 25, 2007, at 5:08 PM, Joseph S. Myers wrote:

> On Fri, 25 May 2007, Eric Christopher wrote:
>
>> That's not going to happen since glibc is elf only and the point  
>> of the patch
>> is to enable the support on a host that isn't elf only.
>>
>> I could duplicate the support into a different directory if that  
>> would be more
>> acceptable (I don't but I'll bow to opinion there). I'm also open  
>> to other
>> suggestions, but not all object file formats that we support in gcc
>> support aliasing.
>
> You could define strong_alias in such a way that it creates a wrapper
> function.  (Since you should only be building TFmode functions, all  
> the
> functions for which you need strong_alias should take two TFmode
> arguments.)

Sure, I was trying to handle all cases of strong_alias, but I do only  
need to
handle the TFmode ones. Good thing all of those functions return int...

How's this then?

-eric

2007-05-25  Eric Christopher  <echristo@apple.com>

	* config.gcc: Add i386/t-fprules-softfp64 and soft-fp/t-softfp
	to x86-darwin configurations.
	* config/i386/t-darwin: Add softfp support.
	* config/i386/t-darwin64: Ditto.
	* config/i386/sfp-machine.h: If mach then don't use
	aliasing, emit a stub to call.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tfmode.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070526/225e3c0f/attachment.txt>


More information about the Gcc-patches mailing list