mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
hurd: Use the RETURN_ADDRESS macro
This gives us PAC stripping on AArch64. Signed-off-by: Sergey Bugaev <bugaevc@gmail.com> Message-ID: <20240323173301.151066-6-bugaevc@gmail.com>
This commit is contained in:
parent
6afeac1289
commit
b467cfcaee
1 changed files with 1 additions and 1 deletions
|
@ -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 ();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue