[PATCH v2 08/13] aarch64: fix RTLD_START for BTI
Andreas Schwab
schwab@linux-m68k.org
Tue May 12 10:29:53 GMT 2020
On Mai 12 2020, Szabolcs Nagy wrote:
> diff --git a/sysdeps/aarch64/dl-machine.h b/sysdeps/aarch64/dl-machine.h
> index db3335e5ad..70b9ed3925 100644
> --- a/sysdeps/aarch64/dl-machine.h
> +++ b/sysdeps/aarch64/dl-machine.h
> @@ -125,6 +125,8 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile)
> .globl _dl_start_user \n\
> .type _dl_start_user, %function \n\
> _start: \n\
> + // bti c \n\
> + hint 34 \n\
BTI_C?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Libc-alpha
mailing list