[PATCH v3 8/9] aarch64: Consolidate NPTL/non versions of clone
Marcus Shawcroft
marcus.shawcroft@gmail.com
Tue Jun 3 09:06:00 GMT 2014
On 29 May 2014 16:34, Richard Henderson <rth@twiddle.net> wrote:
> 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.
I don't have a strong opinion either way, but I am slightly surprised
that we (glibc) don't appear to have a preference for new ports. I'm
happy to go with your proposal.
/Marcus
More information about the Libc-alpha
mailing list