From e00439cdfd72ed1c96007d7830180c1eb1c5f2b6 Mon Sep 17 00:00:00 2001 From: kettenis Date: Mon, 24 Apr 2023 22:06:05 +0000 Subject: [PATCH] Since ENTRY() already inserts a BTI instructions so don't add another one. ok patrick@ --- libexec/ld.so/aarch64/ldasm.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libexec/ld.so/aarch64/ldasm.S b/libexec/ld.so/aarch64/ldasm.S index e148a372632..578313ae6a6 100644 --- a/libexec/ld.so/aarch64/ldasm.S +++ b/libexec/ld.so/aarch64/ldasm.S @@ -1,4 +1,4 @@ -/* $OpenBSD: ldasm.S,v 1.9 2023/03/31 18:45:05 kettenis Exp $ */ +/* $OpenBSD: ldasm.S,v 1.10 2023/04/24 22:06:05 kettenis Exp $ */ /* * Copyright (c) 2016 Dale Rahn @@ -76,7 +76,6 @@ ENTRY(_dl_bind_start) * return address and pointer to pltgot entry for this * relocation are on the stack */ - bti c mov x17, sp // save parameter/result registers -- 2.20.1