This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH] Fix sysdeps/powerpc/nofpu 2nd try
- From: Roland McGrath <roland at redhat dot com>
- To: Steven Munroe <munroesj at us dot ibm dot com>
- Cc: libc-ports at sources dot redhat dot com,Dwayne McConnell <decimal at us dot ibm dot com>
- Date: Thu, 3 Nov 2005 13:48:13 -0800 (PST)
- Subject: Re: [PATCH] Fix sysdeps/powerpc/nofpu 2nd try
Wouldn't it be better to avoid duplicating all that assembly code? Can you
change the main sysdeps/.../powerpc/powerpc32 files to use some #if around
the FPU parts? If the compiler predefines something, just use that.
If not, it can test something you define in the nofpu/*.S files with:
#define NO_FPU 1
#include <sysdeps/.../powerpc32/foobar.S>
Thanks,
Roland