[PATCH v3 8/9] aarch64: Consolidate NPTL/non versions of clone
Richard Henderson
rth@twiddle.net
Thu May 29 15:36:00 GMT 2014
On 05/29/2014 01:15 AM, Andreas Schwab wrote:
> Marcus Shawcroft <marcus.shawcroft@gmail.com> writes:
>
>> I notice that some of the targets make thread_start local (x86_64,
>> i386, hppa, tile, mips) while others do not (alpha, m68k, s390).
>
> An assembler label is always local by default.
Indeed, but what Marcus meant was "really" local, i.e. ".L" or "1:"
type symbols, vs "static" symbols that are local in the elf sense but preserved
by the assembler.
My guess is that with the pre-dwarf alpha unwind info one had to use a
different ".ent" directive, which implied that it was impossible to put the
unwind info for thread_start into the same function as clone. And then others
copied how Alpha had set it up.
Personally, I like having "thread_start" at the top of the backtrace. But I
can see how others might prefer "clone", as some indication of how that happened.
r~
More information about the Libc-alpha
mailing list