[PATCH v2 09/13] aarch64: fix syscalls for BTI
Szabolcs Nagy
szabolcs.nagy@arm.com
Tue May 12 10:14:45 GMT 2020
Syscall asm code needs an ELF property marking for BTI
when glibc is built with BTI support so we add AArch64
variants of syscall-template.S.
---
.../sysv/linux/aarch64/syscall-template.S | 20 +++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 sysdeps/unix/sysv/linux/aarch64/syscall-template.S
diff --git a/sysdeps/unix/sysv/linux/aarch64/syscall-template.S b/sysdeps/unix/sysv/linux/aarch64/syscall-template.S
new file mode 100644
index 0000000000..50db585289
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/aarch64/syscall-template.S
@@ -0,0 +1,20 @@
+/* Assembly code template for system call stubs.
+ Copyright (C) 2020 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#include <sysdeps/unix/syscall-template.S>
+END_FILE
--
2.17.1
More information about the Libc-alpha
mailing list