This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: powerpc64 ._savef* and ._restf*


On Mon, Feb 18, 2002 at 02:30:25PM +0100, Franz Sirl wrote:
> 
> I don't understand, these are already in glibc at least for powerpc-linux, 
> see sysdeps/powerpc/fpr*.S.

Yes, like I said, it's quite reasonable to put these functions in libc
and require people to link against libc when building shared libs.
However, having them in the linker is better if only because the code
size is trimmed a little.  Also, we've had quite a bit of trouble
getting the glibc code correct;  The PowerPC64 ABI is rather unusual
in that functions normally have two symbols associated with them, one
for a function descriptor, and one for the function code.  These
particular functions _don't_ want the function descriptor, and need to
be hidden because their calling sequence means that you can't call a
shared lib copy from external to the shared lib. 

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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