This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] cancellation support for linux-mips


Hi,
attached is a first version of cancelation support for linux mips. glibc
passes make check with one additional error:

 make[2]: *** [/var/scratch/glibc/linuxthreads/tst-cancel-wrappers.out] Error 1
in /var/scratch/glibc//libc_pic.a(pread.os) pread's cancellation missing
in /var/scratch/glibc//libc_pic.a(pwrite.os) pwrite's cancellation missing
in /var/scratch/glibc//libc_pic.a(pread64.os) pread64's cancellation missing
in /var/scratch/glibc//libc_pic.a(pwrite64.os) pwrite64's cancellation missing

...but I think this is to be expected since I didn't bother to change
these s/u/s/l/mips/p{read,write}{,64}.c files yet. 
I had to remove the setting of the global errno in
sysdeps/unix/mips/sysdep.S for the _LIBC_REENTRANT case in order to
avoid an undefined reference - this doesn't seem to cause any visible
problems for linux-mips but I'm not sure about other mips ports (is this
o.k. to do? Shall I better move a copy of this file to
sysdeps/unix/sysv/linux/mips?). Comments welcome.
 -- Guido

Attachment: sysdep-cancel-mips.diff
Description: Text document


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