Since ENTRY() already inserts a BTI instructions so don't add another one.
authorkettenis <kettenis@openbsd.org>
Mon, 24 Apr 2023 22:06:05 +0000 (22:06 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 24 Apr 2023 22:06:05 +0000 (22:06 +0000)
ok patrick@

libexec/ld.so/aarch64/ldasm.S

index e148a37..578313a 100644 (file)
@@ -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