Hi!
While the issue is Hurd-specific, non-Hurd people might nevertheless be
able to help here with their glibc/TLS expertise.
I'm working on a patch to move the Hurd's errno from the Hurd-specific
threadvar (in short, a mechanism somewhat equivalent to TLS, using a
portion of space at the beginni
Hi!
On Wed, 16 May 2012 22:27:19 +0200, I wrote:
> On Thu, 10 May 2012 17:25:59 +0800, I wrote:
> > On Thu, 10 May 2012 03:22:20 +0200, Samuel Thibault
> > wrote:
> > > Thomas Schwinge, le Thu 10 May 2012 09:17:33 +0800, a écrit :
> > > > On Thu, 10 May 2012 00:10:52 +, Samuel Thibault
> >
TLS_INIT_TP is done early enough in rtld.c that it ought to be before
anything tries to use errno. Figure out the call chain.
dl-sysdep.h bites us:
/* The private errno doesn't make sense on the Hurd. errno is always the
thread-local slot shared with libc, and it matters to share the cell
with libc because after startup we use libc functions that set errno
(open, mmap, etc). */
#defin
I think the right thing to do is first get abilist data into the tree for
the Hurd configuration based on the libc builds that you've used to create
a lot of existing binaries. Then check-abi will always tell you if a
change is a problem.
Thanks,
Roland
; movl(%eax), %eax
> > addl$12, %esp
> > .cfi_def_cfa_offset 4
> > ret
> > .cfi_endproc
> > .LFE0:
> > .size e, .-e
> > .ident "GCC: (Debian 4.6.3-1+h
Thomas Schwinge, le Thu 10 May 2012 12:46:42 +0800, a écrit :
> Hi!
>
> On Thu, 10 May 2012 03:22:20 +0200, Samuel Thibault
> wrote:
> > Thomas Schwinge, le Thu 10 May 2012 09:17:33 +0800, a écrit :
> > > Also, I plan to move some bits of the t/tls branch into t/tls-threadvar:
> > > t/tls should
Hi!
On Thu, 10 May 2012 03:22:20 +0200, Samuel Thibault
wrote:
> Thomas Schwinge, le Thu 10 May 2012 09:17:33 +0800, a écrit :
> > Also, I plan to move some bits of the t/tls branch into t/tls-threadvar:
> > t/tls should just add the mechanism for TLS (should be pushed upstream
> > soon), and t/
Hi!
On Thu, 10 May 2012 03:22:20 +0200, Samuel Thibault
wrote:
> Thomas Schwinge, le Thu 10 May 2012 09:17:33 +0800, a écrit :
> > On Thu, 10 May 2012 00:10:52 +, Samuel Thibault
> > wrote:
> > > The branch, tschwinge/Roger_Whittaker has been updated
> >
> > > commit d0dcb9e7be5d08ef0ecb4
subl$12, %esp
> .cfi_def_cfa_offset 16
> call__errno_location
> movl(%eax), %eax
> addl$12, %esp
> .cfi_def_cfa_offset 4
> ret
> .cfi_endproc
> .LFE0:
> .size
call__errno_location
movl(%eax), %eax
addl$12, %esp
.cfi_def_cfa_offset 4
ret
.cfi_endproc
.LFE0:
.size e, .-e
.ident "GCC: (Debian 4.6.3-1+hurd.3) 4.6.3"
.section .not
11 matches
Mail list logo