Re: [Buildroot] Buildroot Compile Errors for SH4

2007-04-10 Thread Paul Mundt
On Tue, Apr 10, 2007 at 09:58:02PM +0200, Bernhard Fischer wrote: On Tue, Apr 10, 2007 at 03:43:32PM -0400, Bill Traynor wrote: On 4/10/07, Bill Traynor [EMAIL PROTECTED] wrote: CC libc/sysdeps/linux/sh/syscall.os libc/sysdeps/linux/sh/syscall.c:11: error: conflicting types for 'syscall'

Re: [Buildroot] Buildroot Compile Errors for SH4

2007-04-11 Thread Paul Mundt
On Tue, Apr 10, 2007 at 11:43:07PM +0200, Carmelo Amoroso wrote: Paul Mundt wrote: This is the syscall() definition in the __USE_MISC case, and it's certainly not limited to SH. There are hardly any users that implement syscall() using varargs, so this will break other places as well. Hi

Re: [PATCH]: ARM SHMLBA

2007-11-20 Thread Paul Mundt
On Tue, Nov 20, 2007 at 08:30:04AM +0100, Carmelo AMOROSO wrote: Khem Raj wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi ARM SHMLBA = (4 * PAGE_SIZE). Currently in uclibc arm used shm.h from common directory where SHMLBA = __getpagesize() This patch fixes the issue.

Re: [PATCH]: ARM SHMLBA

2007-12-01 Thread Paul Mundt
Hi Carmelo, On Sat, Dec 01, 2007 at 08:52:45AM +0100, Carmelo Amoroso wrote: Paul Mundt wrote: On Tue, Nov 20, 2007 at 08:30:04AM +0100, Carmelo AMOROSO wrote: Same issue as SH4 (solved in the past). Solved is relative. What's there now works, but it's a pretty idiotic hack

Re: [PATCH] Always inline system calls

2007-12-03 Thread Paul Mundt
On Mon, Dec 03, 2007 at 10:33:39PM +0100, Carmelo Amoroso wrote: Carmelo Amoroso wrote: while doing some test for SH4 to measure size increase for 'always inline' changes, doscovered suddenly that gcc-4.1.1 (cross sh4) fails with the following error: ../ldso/ldso/dl-elf.c: In function

Re: Prepending underscores to symbol names in dlsym() (commit 20613)

2008-01-08 Thread Paul Mundt
On Tue, Jan 08, 2008 at 09:54:22AM +, Will Newton wrote: On Jan 7, 2008 4:30 PM, Carmelo AMOROSO [EMAIL PROTECTED] wrote: Will Newton wrote: Hi Bernd, (I hope I got the right email address here) I noticed commit 20613 prepends an underscore to the symbol name passed to

Re: svn commit: trunk/uClibc/ldso/ldso/sh

2008-01-15 Thread Paul Mundt
On Sat, Jan 12, 2008 at 07:06:02PM +0100, Carmelo Amoroso wrote: Mike Frysinger wrote: On Saturday 12 January 2008, [EMAIL PROTECTED] wrote: Author: carmelo Date: 2008-01-12 00:20:18 -0800 (Sat, 12 Jan 2008) New Revision: 20848 Log: Make sh4 build works again adding a temporary

Re: [PATCH] sh4 supports new {s,g]rlimit syscall

2008-07-08 Thread Paul Mundt
On Tue, Jul 08, 2008 at 10:26:11AM +0200, Carmelo AMOROSO wrote: Hi Paul, are you ok with changing default behaviour on sh4 regarding RLIMIT wrapper. The change in the attached patch was required to fix LTP/setrlimit02 test case. Looks fine to me.

Re: [PATCH] sh: Fix args for __uClibc_main() in crt1.S

2008-08-07 Thread Paul Mundt
-by: Carmelo Amoroso [EMAIL PROTECTED] Looks good to me, yes. Thanks for debugging this down! Acked-by: Paul Mundt [EMAIL PROTECTED] On Thu, Aug 07, 2008 at 06:00:22PM +0900, Takashi Yoshii wrote: Hi, please find attached another patch to completely fix the sh4 startup sequence (in addition

Re: [PATCH] sh: Fix args for __uClibc_main() in crt1.S

2008-08-11 Thread Paul Mundt
On Fri, Aug 08, 2008 at 10:04:27AM +0900, Takashi Yoshii wrote: This still requires the kernel zeroing the r4 value before handing control over as per your FLAT_PLAT_INIT() patch, correct? Yes. I think kernel should set(clear) r4 for static object(ELF and FLT). For shared one(currently ELF),

Re: [PATCH] sh: fix __HAVE_SHARED__ condition in crti.S.

2008-08-27 Thread Paul Mundt
On Tue, Aug 26, 2008 at 03:53:18PM +0200, Carmelo AMOROSO wrote: Takashi Yoshii wrote: For SH, init/fini function prologue is defined in libc/sysdeps/linux/sh/crti.S as follows. | (frame entry) |#ifndef __HAVE_SHARED__ | (GOT pointer initialization) |#endif I think this should be

Re: [PATCH] sh: fix __HAVE_SHARED__ condition in crti.S.

2008-08-28 Thread Paul Mundt
On Thu, Aug 28, 2008 at 07:58:15AM +0200, Carmelo AMOROSO wrote: Paul Mundt wrote: On Tue, Aug 26, 2008 at 03:53:18PM +0200, Carmelo AMOROSO wrote: Takashi Yoshii wrote: For SH, init/fini function prologue is defined in libc/sysdeps/linux/sh/crti.S as follows. | (frame entry) |#ifndef

Re: [PATCH] sh: fix __HAVE_SHARED__ condition in crti.S.

2008-09-03 Thread Paul Mundt
On Tue, Sep 02, 2008 at 02:09:20PM +0200, Carmelo AMOROSO wrote: I did not success to create a test that could fail. application ctor/dtor defined by gcc attribute ((__contructor__)) on ((__destructor__)) are correctly invoked. Indeed, if I put the ctor/dtor in a separate object file and I

Re: wrong sources

2008-09-20 Thread Paul Mundt
[ Adding uclibc to CC, in the future please use this instead of blindly CCing everyone ] On Tue, Sep 16, 2008 at 07:52:40PM +0200, Dmytro Gorbunov wrote: Dear sir, Please be informed that following code for project uClibc in file http://freshmeat.net/ redir/ uclibc/ 20616/ url_bz2/

Re: wrong sources

2008-09-20 Thread Paul Mundt
On Sat, Sep 20, 2008 at 11:39:29PM -0400, Frysinger, Michael wrote: Index: libc/stdio/open_memstream.c === --- libc/stdio/open_memstream.c (revision 23438) +++ libc/stdio/open_memstream.c (working copy) @@ -107,7

Re: uclibc and smp

2008-09-24 Thread Paul Mundt
On Mon, Sep 22, 2008 at 12:34:53PM -0500, Rob Landley wrote: On Friday 05 September 2008 16:45:55 Joe Taylor wrote: I'm trying to obtain a rough measure of uclibc's maturity on SMP systems. I see some SMP hooks in the source code, but I cannot seem to find much information on uclibc-based

Re: [PATCH] posix_favise{64} error handling fixes [was Re: fadvise gclibc vs uclibc]

2008-09-24 Thread Paul Mundt
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

Re: [PATCH] posix_favise{64} error handling fixes [was Re: fadvise gclibc vs uclibc]

2008-09-24 Thread Paul Mundt
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

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