Date: Thu, 4 Feb 2010 05:49:59 +0000 (UTC) From: Neel Natu <neel@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/mips/sys ptrace.S Message-ID: <201002040550.o145oI2j091046@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
neel 2010-02-04 05:49:59 UTC
FreeBSD src repository
Modified files:
lib/libc/mips/sys ptrace.S
Log:
SVN rev 203475 on 2010-02-04 05:49:59Z by neel
Reinstate the ptrace patch to restore the 'gp' register after calling
a function. I made a mistake in assuming that the .cprestore directive
will cause the assembler to automatically restore 'gp' after the 'jalr'.
The .cprestore directive does its magic only after 'jal' and 'bal'
instructions - not the 'jalr'.
Pointed out by: c.jayachandran@gmail.com
Revision Changes Path
1.6 +3 -0 src/lib/libc/mips/sys/ptrace.S
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002040550.o145oI2j091046>
