[v2,05/20] hurd: Use the RETURN_ADDRESS macro
Checks
Context |
Check |
Description |
redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
linaro-tcwg-bot/tcwg_glibc_build--master-arm |
fail
|
Patch failed to apply
|
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
fail
|
Patch failed to apply
|
Commit Message
This gives us PAC stripping on AArch64.
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
---
PAC is still not implemented on gnumach side, though.
sysdeps/mach/hurd/init-first.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -222,7 +222,7 @@ _hurd_stack_setup (void **argptr)
this may not be a valid pointer in case we're supposed to receive the
arguments from the exec server, so we can not dereference it yet. */
- void *caller = __builtin_extract_return_addr (__builtin_return_address (0));
+ void *caller = RETURN_ADDRESS (0);
/* Init the essential things. */
first_init ();