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.

_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to