This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

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

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?


2007-05-25 Eric Christopher <>

	* 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.

Attachment: tfmode.diff.txt
Description: Text document

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]