artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f533925
)
If you disable retpolineplt then _dl_bind_start is called with an
author
guenther
<guenther@openbsd.org>
Thu, 18 May 2023 16:33:39 +0000
(16:33 +0000)
committer
guenther
<guenther@openbsd.org>
Thu, 18 May 2023 16:33:39 +0000
(16:33 +0000)
indirect branch, so include an endbr64 Just In Case.
ok deraadt@
libexec/ld.so/amd64/ldasm.S
patch
|
blob
|
history
diff --git
a/libexec/ld.so/amd64/ldasm.S
b/libexec/ld.so/amd64/ldasm.S
index
6ae3f8d
..
9dca7ef
100644
(file)
--- a/
libexec/ld.so/amd64/ldasm.S
+++ b/
libexec/ld.so/amd64/ldasm.S
@@
-1,4
+1,4
@@
-/* $OpenBSD: ldasm.S,v 1.3
0 2019/05/10 13:29:21
guenther Exp $ */
+/* $OpenBSD: ldasm.S,v 1.3
1 2023/05/18 16:33:39
guenther Exp $ */
/*
* Copyright (c) 2002,2004 Dale Rahn
@@
-70,6
+70,7
@@
END(_dl_start)
_ENTRY(_dl_bind_start)
.cfi_startproc
.cfi_adjust_cfa_offset 16
+ endbr64
pushfq # save registers
.cfi_adjust_cfa_offset 8
/*.cfi_offset %rflags, -16 */