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: SH: ____longjmp_chk for GNU/Linux with sigaltstack support


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

Attachment: pgp00000.pgp
Description: PGP signature


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