Make __builtin_return_address(0) work with -fstack-protector. Old diff
authorkettenis <kettenis@openbsd.org>
Sun, 1 Aug 2010 17:55:26 +0000 (17:55 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 1 Aug 2010 17:55:26 +0000 (17:55 +0000)
commitd258b3aeda48cf548721779b7a42088a8f8e3e3d
tree9453fe249877743f3f9f0901ed837974fed39790
parent61ed3bcaf3242a6534f32af4e021a71370a49270
Make __builtin_return_address(0) work with -fstack-protector.  Old diff
from Jakub Jelinek that never made it into upstream GCC.  Fixes ld.so.
Found by drahn@ and me; ok miod@
gnu/gcc/gcc/config/rs6000/rs6000.c