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: Adding SH support to glibc-2.2 (2)


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

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