Adding SH support to glibc-2.1.3
kaz Kojima
kkojima@rr.iij4u.or.jp
Thu Jun 1 04:31:00 GMT 2000
Hi Andreas,
Thank you for your valuable comments on our libc patch for SH.
I'd like to fix our patch according to your suggestions ASAP.
I want to clarify one point:
>> diff -u -r -N glibc-2.1.3-original/sysdeps/unix/sysv/linux/sh/getgroups.c glibc-2.1.3/sysdeps/unix/sysv/linux/sh/getgroups.c
>> --- glibc-2.1.3-original/sysdeps/unix/sysv/linux/sh/getgroups.c Thu Jan 1 09:00:00 1970
>> +++ glibc-2.1.3/sysdeps/unix/sysv/linux/sh/getgroups.c Sun Mar 12 04:09:09 2000
>> @@ -0,0 +1,2 @@
>> +/* We also have to rewrite the kernel gid_t to the user land type. */
>> +#include <sysdeps/unix/sysv/linux/i386/getgroups.c>
>
>Is this really needed? What kernel version are you supporting? If
>you start with glibc 2.2 and Linux 2.4 this might not be necessary.
Of course our official target is Linux kernel 2.3 (and now 2.4) but we
have some 2.2-based implementations too. I'd like to support them also.
> Looking forward to the integration of your patch into 2.2!
Now we can make glibc-2.2 successfully in SH box though many things
should be corrected.
Thanks again for your advice.
Regards,
kaz
More information about the Libc-hacker
mailing list