Adding SH support to glibc-2.2 (2)

Roland McGrath roland@frob.com
Mon Jun 12 16:22:00 GMT 2000


> Yes, please do it except for dl-machine.h. To share dl-machine.h,
> something like #ifdef is needed to determine the existence of FPU.
> It's not so good. We think about the kernel math emulation in SH3,
> but it's only a plan.

There is no need to duplicate the contents of the file, however.
dl-machine.h is an internal header used only while building glibc.
So you can make sysdeps/sh/sh4/dl-machine.h contain:

#define HAVE_FPU
#include <sysdeps/sh/dl-machine.h>

or suchlike.


More information about the Libc-hacker mailing list