]> git.ipfire.org Git - thirdparty/glibc.git/commit - sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
PowerPC makecontext
authorAlan Modra <amodra@gmail.com>
Sat, 17 Aug 2013 09:06:45 +0000 (18:36 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 4 Oct 2013 01:08:59 +0000 (10:38 +0930)
commit0b2c2ace3601d5d59cf89130b16840e7f132f7a6
tree0a96e682a1ff8f61773d41e00ba55485ee7d4c86
parent02f04a6c7fea2b474b026bbce721d8c658d71fda
PowerPC makecontext
http://sourceware.org/ml/libc-alpha/2013-08/msg00092.html

Use conditional form of branch and link to avoid destroying the cpu
link stack used to predict blr return addresses.

* sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
conditional form of branch and link when obtaining pc.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
ChangeLog
sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S