This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3 8/9] aarch64: Consolidate NPTL/non versions of clone


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]