This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: __setfpucw in glibc 2.0.7


> 
> hjl@lucon.org (H.J. Lu) writes:
> 
> > __setfpucw is the only function available in glibc 2.0.7
> > to control the FPU at the run-time. There is <fenv.h> in
> > glibc 2.1. But it is not available in glibc 2.0. I believe
> > we should export it in glibc 2.1.2.
> 
> No.  Nobody outside the libc should have used it.  This function is
> not portable.  Therefore people should have used asms which at least
> is portable on machines of the same architecure.
> 

It is in glibc 2.0 and it is used by some programs. It
doesn't make any senses to break existing binaries. At
least, it should be global as the glibc 2.0 symbol
and local as the glibc 2.1 symbol so that ld won't use
it. People have been complaining about the Linux library
upgrade. Why don't we try to avoid the binary incompatibility
as much as we can?

-- 
H.J. Lu (hjl@gnu.org)

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