This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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 v2] ARM: Add SystemTap probes to longjmp and setjmp.


Will Newton <will.newton@linaro.org> writes:

> In order to have the correct registers live I need to free up a temp
> register which involves loading lr and sp earlier than the
> call-preserved register set. I could do this by offsetting into the
> jmpbuf but it seems more natural just to move lr and sp to the front
> of the jmp_buf and load registers in ascending order. As far as I am
> aware the layout of jmp_buf is completely opaque so I don't see why
> this would cause any problems?

According to ports/sysdeps/arm/bits/setjmp.h the layout of jmp_buf is
part of the ABI.

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."


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