From 0b2c2ace3601d5d59cf89130b16840e7f132f7a6 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 17 Aug 2013 18:36:45 +0930 Subject: 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 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index ec81a6b817..07aaa256d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-10-04 Alan Modra + + * 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. + 2013-10-04 Alan Modra * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use -- cgit 1.4.1