projects
/
platform
/
upstream
/
libffi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6993bc1
)
aarch64: Add a missing no-op define of SIGN_LR_LINUX_ONLY (#838)
author
Martin Storsjö
<martin@martin.st>
Tue, 4 Jun 2024 11:13:08 +0000
(14:13 +0300)
committer
GitHub
<noreply@github.com>
Tue, 4 Jun 2024 11:13:08 +0000
(07:13 -0400)
This is needed at least if building for Linux, with a toolchain
that doesn't default to having PAC enabled, fixing build errors
since
45d284f2d066cc3a080c5be88e51b4d934349797
.
src/aarch64/internal.h
patch
|
blob
|
history
diff --git
a/src/aarch64/internal.h
b/src/aarch64/internal.h
index c39f9cb229ec9661f16708840a520e9e3ff7b8b4..50fa5c139d9e2c499bd2e84f2864ad77caddfa15 100644
(file)
--- a/
src/aarch64/internal.h
+++ b/
src/aarch64/internal.h
@@
-88,6
+88,7
@@
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#define AUTH_LR_AND_RET retab
#define AUTH_LR_WITH_REG(x) autib lr, x
#define BRANCH_AND_LINK_TO_REG blraaz
+ #define SIGN_LR_LINUX_ONLY
#define BRANCH_TO_REG braaz
#define PAC_CFI_WINDOW_SAVE
/* Linux PAC Support */
@@
-136,6
+137,7
@@
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#define AUTH_LR_AND_RET ret
#define AUTH_LR_WITH_REG(x)
#define BRANCH_AND_LINK_TO_REG blr
+ #define SIGN_LR_LINUX_ONLY
#define BRANCH_TO_REG br
#define PAC_CFI_WINDOW_SAVE
#endif /* HAVE_ARM64E_PTRAUTH */