OSDN Git Service

Paul Mundt <lethal@linux-sh.org> writes:
authorEric Andersen <andersen@codepoet.org>
Fri, 5 Dec 2003 20:39:51 +0000 (20:39 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 5 Dec 2003 20:39:51 +0000 (20:39 -0000)
commit337011435791b543f52786b085c3c5c298490acd
tree0602b88984ccfabc14260878ff2ec10c949bb549
parent91a32cb9815ca525726168750566d9acdb099a73
Paul Mundt <lethal@linux-sh.org> writes:

This patch adds the libpthread backend bits for sh64. As noted previously,
we can't inline things like the testandset() in pt-machine.h as we need to
use a completely different ISA / CFLAGS in order for this to work.

As a result, this patch is somewhat of a RFC as well to see what people think
of the libpthread/linuxthreads/sysdeps Makefile approach, etc. The approach
I've taken currently has been to provide a sysdeps/Makefile with a note that
TARGET_ARCHs that want build rules can simply add themselves into the list of
matching architectures to add to the subdir rule for. This probably isn't
the cleanest solution, but it's quite transparent and works quite well.
extra/Configs/Config.sh
libc/sysdeps/linux/sh64/bits/mman.h [new file with mode: 0644]
libpthread/linuxthreads/Makefile
libpthread/linuxthreads/sysdeps/Makefile [new file with mode: 0644]
libpthread/linuxthreads/sysdeps/sh64/Makefile [new file with mode: 0644]
libpthread/linuxthreads/sysdeps/sh64/pt-machine.c [new file with mode: 0644]
libpthread/linuxthreads/sysdeps/sh64/pt-machine.h [new file with mode: 0644]