[PATCH][MIPS] Do not save variables in hi or lo across system calls

2009-09-25 Thread Daniel Jacobowitz
The kernel does not save these registers across system calls. GCC 4.4 has gotten more agressive about using them for temporary variables, so this shows up as intermittent crashes if you use a recent compiler. Signed-off-by: Daniel Jacobowitz d...@codesourcery.com diff --git a/libc/sysdeps/linux

Re: svn commit: trunk/uClibc: include

2009-01-13 Thread Daniel Jacobowitz
, are the choice which is more efficient on each architecture. -- Daniel Jacobowitz CodeSourcery ___ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc

Re: GCC's exception unwind info and uClibc

2008-12-31 Thread Daniel Jacobowitz
of ELF at runtime that causes a problem. -- Daniel Jacobowitz CodeSourcery ___ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc

Re: svn commit: trunk/uClibc/libc/inet

2008-06-06 Thread Daniel Jacobowitz
of this file. In hindsight, maybe it wants this?! FILE * __open_etc_hosts attribute_hidden (void) { ... No, I believe it's this: attribute_hidden FILE * __open_etc_hosts (void) { ... -- Daniel Jacobowitz CodeSourcery ___ uClibc mailing list uClibc

Re: RFC: multilib support for uClibc

2008-01-22 Thread Daniel Jacobowitz
we have any local uClibc patches for that purpose. All we do is adjust PREFIX when installing. We don't have any lib/$(MULTILIB) directories; it was much simpler to put each into its own sysroot and it works nicely at runtime too. -- Daniel Jacobowitz CodeSourcery

Re: RFC: multilib support for uClibc

2008-01-22 Thread Daniel Jacobowitz
On Wed, Jan 23, 2008 at 12:07:05AM +0100, Bernd Schmidt wrote: Daniel Jacobowitz wrote: We don't have any lib/$(MULTILIB) directories; it was much simpler to put each into its own sysroot and it works nicely at runtime too. Okay.. what kind of multilibs do you have, and what's your

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

2008-01-08 Thread Daniel Jacobowitz
. If you have underscores, dlsym had better know about it, or cross-platform code will break. Consider dlsym (libc_handle, printf); every caller should not need to know about _printf. -- Daniel Jacobowitz CodeSourcery ___ uClibc mailing list uClibc@uclibc.org

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

2008-01-08 Thread Daniel Jacobowitz
On Tue, Jan 08, 2008 at 04:17:02PM +, Will Newton wrote: On Jan 8, 2008 4:06 PM, Daniel Jacobowitz [EMAIL PROTECTED] wrote: On Tue, Jan 08, 2008 at 03:58:00PM +, Will Newton wrote: Agreed, my question is whether or not adding the underscore is the correct thing to do even if your

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

2008-01-08 Thread Daniel Jacobowitz
there probably wont be a way to get ourselves out. unless another Blackfin comes along that is not opcode compatible ... and we feel like shouldering the development burden. That's what I meant by habit :-) -- Daniel Jacobowitz CodeSourcery ___ uClibc

Re: Alignment fixups for gethostbyname_r

2008-01-07 Thread Daniel Jacobowitz
On Sun, Jan 06, 2008 at 01:35:53AM -0500, Mike Frysinger wrote: On Wednesday 19 December 2007, Daniel Jacobowitz wrote: --- libc/inet/resolv.c  (revision 189757) +++ libc/inet/resolv.c  (local) @@ -1534,6 +1534,15 @@ int attribute_hidden __read_etc_hosts_r( char *cp, **alias

Re: mipsel memcpy gcc3.4.6

2008-01-07 Thread Daniel Jacobowitz
of a single pp-token; : is a token all by itself. -- Daniel Jacobowitz CodeSourcery ___ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Re: Alignment fixups for gethostbyname_r

2008-01-07 Thread Daniel Jacobowitz
On Mon, Jan 07, 2008 at 11:39:39AM -0500, Mike Frysinger wrote: i misunderstood the purpose of the second assignment. i'll put together a test case and commit a fix ... Thank you! - buflen -= i, not plus i pointed this typo out already ... Sorry, stray list filters. -- Daniel

Re: mipsel memcpy gcc3.4.6

2008-01-07 Thread Daniel Jacobowitz
forgot that it depends what language you're compiling. It's accepted for assembly, but not for C. There's special cases for # (stringify) too. I don't know why. -- Daniel Jacobowitz CodeSourcery ___ uClibc mailing list uClibc@uclibc.org http

Re: Alignment fixups for gethostbyname_r

2007-12-21 Thread Daniel Jacobowitz
, but that's all I'm set up to test unless someone has a lot of handy test scripts I don't know about... -- Daniel Jacobowitz CodeSourcery ___ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Alignment fixups for gethostbyname_r

2007-12-19 Thread Daniel Jacobowitz
the beginning of the buffer to a pointer alignment before we store pointers in it. Is this patch OK? -- Daniel Jacobowitz CodeSourcery --- libc/inet/resolv.c (revision 189757) +++ libc/inet/resolv.c (local) @@ -1534,6 +1534,15 @@ int attribute_hidden __read_etc_hosts_r( char *cp

Re: What is XMALLOC and how it compares with malloc?

2007-05-03 Thread Daniel Jacobowitz
its own. Can we please stop speculating without evidence, now? -- Daniel Jacobowitz CodeSourcery ___ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/listinfo/uclibc