This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3 8/9] aarch64: Consolidate NPTL/non versions of clone
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, Richard Henderson <rth at redhat dot com>
- Date: Thu, 29 May 2014 06:16:12 +0100
- Subject: Re: [PATCH v3 8/9] aarch64: Consolidate NPTL/non versions of clone
- Authentication-results: sourceware.org; auth=none
- References: <1401046909-25821-1-git-send-email-rth at twiddle dot net> <1401046909-25821-9-git-send-email-rth at twiddle dot net>
On 25 May 2014 20:41, Richard Henderson <rth@twiddle.net> wrote:
> From: Richard Henderson <rth@redhat.com>
>
> At the same time, rely on non-clobbered registers across syscall
> so that we eliminate the stack frame that we previously ignored
> in the unwind info.
> ---
> sysdeps/unix/sysv/linux/aarch64/clone.S | 56 ++++++++++++----------------
> sysdeps/unix/sysv/linux/aarch64/nptl/clone.S | 21 -----------
> 2 files changed, 24 insertions(+), 53 deletions(-)
> delete mode 100644 sysdeps/unix/sysv/linux/aarch64/nptl/clone.S
>
> diff --git a/sysdeps/unix/sysv/linux/aarch64/clone.S b/sysdeps/unix/sysv/linux/aarch64/clone.S
> + beq thread_start
I notice that some of the targets make thread_start local (x86_64,
i386, hppa, tile, mips) while others do not (alpha, m68k, s390).
Which seems odd, any idea why?
/Marcus