SH: ____longjmp_chk for GNU/Linux with sigaltstack support
Thomas Schwinge
thomas@codesourcery.com
Wed Jun 13 10:41:00 GMT 2012
Hi!
On Wed, 13 Jun 2012 12:28:04 +0200, I wrote:
> * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
> sysdeps/sh/____longjmp_chk.S.
I forgot to say: this code if not optimal because of the four registers
that are spilled onto the stack around the sigaltstack system call, but I
implemented it this way in order to avoid restructuring all the different
cases in sysdeps/sh/sh{3,4}/__longjmp.S -- ____longjmp_chk surely is not
used in a time-critical execution path, and it's only a few additional
CPU instructions/memory cycles anyway.
Grüße,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120613/8f17cb1a/attachment.sig>
More information about the Libc-alpha
mailing list