[PATCH] sh: fix SYSCALL_INST_STR macros for SH-2[A] arch.

2008-09-24 Thread Carmelo AMOROSO
Hi Paul, please find attached a patch to make SYSCALL_INST_STR macros working on SH2 too. I've built trunk for sh4 and objdumped some object using INLINE_SYSCALL, and it looks fine. Let me know, so I can commit. Carmelo Index: libc/sysdeps/linux/sh/bits/syscalls.h

Re: [PATCH] sh: fix SYSCALL_INST_STR macros for SH-2[A] arch.

2008-09-24 Thread Paul Mundt
On Wed, Sep 24, 2008 at 03:44:34PM +0200, Carmelo AMOROSO wrote: Hi Paul, please find attached a patch to make SYSCALL_INST_STR macros working on SH2 too. I've built trunk for sh4 and objdumped some object using INLINE_SYSCALL, and it looks fine. Let me know, so I can commit. Carmelo

Re: [PATCH] sh: fix SYSCALL_INST_STR macros for SH-2[A] arch.

2008-09-24 Thread Bernhard Reutner-Fischer
On Wed, Sep 24, 2008 at 10:53:59PM +0900, Paul Mundt wrote: uClibc has no equivalent of __stringify()? This should probably be in a generic header somewhere. Agree. We only have STRINGIFY in libpthread internals. ___ uClibc mailing list

Re: [PATCH] sh: fix SYSCALL_INST_STR macros for SH-2[A] arch.

2008-09-24 Thread Carmelo AMOROSO
Bernhard Reutner-Fischer wrote: On Wed, Sep 24, 2008 at 10:53:59PM +0900, Paul Mundt wrote: uClibc has no equivalent of __stringify()? This should probably be in a generic header somewhere. Agree. We only have STRINGIFY in libpthread internals. Moving to libc-symbols.h (alway included)

Re: [PATCH] sh: fix SYSCALL_INST_STR macros for SH-2[A] arch.

2008-09-24 Thread Bernhard Reutner-Fischer
On Wed, Sep 24, 2008 at 05:00:47PM +0200, Carmelo AMOROSO wrote: Bernhard Reutner-Fischer wrote: On Wed, Sep 24, 2008 at 10:53:59PM +0900, Paul Mundt wrote: uClibc has no equivalent of __stringify()? This should probably be in a generic header somewhere. Agree. We only have STRINGIFY in