testandset on powerpc
Andreas Jaeger
aj@suse.de
Tue Jul 18 06:02:00 GMT 2000
On PPC I get now when building nscd:
/usr/src/packages/BUILD/glibc-2.2/cc/linuxthreads/libpthread.so: undefined reference to `testandset'
collect2: ld returned 1 exit status
$ nm linuxthreads/libpthread.so |grep testandset
U testandset
Is this a problem of too old tools/gcc? Or should the appended patch
(at least partially) be reverted?
1998-08-22 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/pt-machine.h: Remove testandset, it's not used
and wastes space; correct types.
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de
More information about the Libc-hacker
mailing list