This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: backtrace() from a pthread on ARM
Matt Fischer <mattfischer84@gmail.com> writes:
> On a lot of the architectures (including m68k), it looks like it does.
> Problem is that since ARM has actively moved away from requiring a
> frame pointer in their ABI, as Daniel mentioned, you can't be sure at
> the time of the clone() call whether you should be modifying r11 at
> all.
Since r11 is not used for argument passing and the child part of the
clone call never returns modifying the register shouldn't be a problem,
is it?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."