commit | 33e1402435cb9f3021439a15935ea2dc69ec1844 | [log] [tgz] |
---|---|---|
author | Christophe Leroy <[email protected]> | Tue Aug 24 07:56:35 2021 +0000 |
committer | Michael Ellerman <[email protected]> | Wed Aug 25 13:35:47 2021 +1000 |
tree | aa036b96b414c8702dc8ea8d835d5bdbbfec561f | |
parent | f5007dbf4da729baa850b33a64dc3cc53757bdf8 [diff] |
powerpc: Avoid link stack corruption in misc asm functions bl;mflr is used at several places to get code position. Use bcl 20,31,+4 instead of bl in order to preserve link stack. See commit c974809a26a1 ("powerpc/vdso: Avoid link stack corruption in __get_datapage()") for details. Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/c6eabb4fb6c156f75d56dcbcc6f243e5ac0fba42.1629791763.git.christophe.leroy@csgroup.eu