On Wed, Sep 24, 2008 at 01:22:51PM +0200, Carmelo AMOROSO wrote:
> Paul Mundt wrote:
> >On Mon, Sep 15, 2008 at 01:55:56PM +0200, Carmelo AMOROSO wrote:
> >>Index: libc/sysdeps/linux/sh/bits/syscalls.h
> >>===================================================================
> >>--- libc/sysdeps/linux/sh/bits/syscalls.h   (revision 23401)
> >>+++ libc/sysdeps/linux/sh/bits/syscalls.h   (working copy)
> >>@@ -140,6 +140,151 @@
> >> __syscall_return(type,__sc0); \
> >> }
> >> 
> >>+#define SYSCALL_INST_STR0  "trapa #0x10\n\t"
> >>+#define SYSCALL_INST_STR1  "trapa #0x11\n\t"
> >>+#define SYSCALL_INST_STR2  "trapa #0x12\n\t"
> >>+#define SYSCALL_INST_STR3  "trapa #0x13\n\t"
> >>+#define SYSCALL_INST_STR4  "trapa #0x14\n\t"
> >>+#define SYSCALL_INST_STR5  "trapa #0x15\n\t"
> >>+#define SYSCALL_INST_STR6  "trapa #0x16\n\t"
> >>+
> >This breaks SH-2/SH-2A, you should be using __SH_SYSCALL_TRAP_BASE here.
> >
> Hi Paul,
> it was taken from a sysdep.h in nptl path, that probably doesn't care of 
> SH-2[A]. I'll fit it immediately.
> 
Indeed, we've not started looking at threading on nommu yet, but it's
likely something that will surface sooner or later. Thanks for fixing it
up, I've checked in a fix for the vfork implementation also, which had
the same problem.
_______________________________________________
uClibc mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to