This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.27.9000-614-gca027e0
- From: hjl at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 24 Jul 2018 12:14:21 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.27.9000-614-gca027e0
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via ca027e0f62789a0958b69dac4133616a90de6f7c (commit)
from b99f1c957d37e6c5dfce2fee7bff17e5a09ce400 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ca027e0f62789a0958b69dac4133616a90de6f7c
commit ca027e0f62789a0958b69dac4133616a90de6f7c
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue Jul 24 05:11:59 2018 -0700
x86-64: Add endbr64 to tst-quadmod[12].S
Add endbr64 to tst-quadmod1.S and tst-quadmod2.S so that func and foo
can be called indirectly.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
* sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
enabled.
(foo): Likewise.
* sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
(foo): Likewise.
diff --git a/ChangeLog b/ChangeLog
index 03dbce4..2a1a53d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
+ enabled.
+ (foo): Likewise.
+ * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
+ (foo): Likewise.
+
2018-07-20 Joseph Myers <joseph@codesourcery.com>
* scripts/build-many-glibcs.py (Context.checkout): Default
diff --git a/sysdeps/x86_64/tst-quadmod1.S b/sysdeps/x86_64/tst-quadmod1.S
index 26f2f1b..c60f9dc 100644
--- a/sysdeps/x86_64/tst-quadmod1.S
+++ b/sysdeps/x86_64/tst-quadmod1.S
@@ -28,6 +28,9 @@
.type func, @function
func:
.cfi_startproc
+#if defined __CET__ && (__CET__ & 1) != 0
+ endbr64
+#endif
xorl %edi, %edi
jmp exit@PLT
.cfi_endproc
@@ -37,6 +40,9 @@ func:
foo:
.cfi_startproc
.cfi_def_cfa_register 6
+#if defined __CET__ && (__CET__ & 1) != 0
+ endbr64
+#endif
movq .Ljmp(%rip), %rax
subq $BIAS, %rax
jmp *%rax
diff --git a/sysdeps/x86_64/tst-quadmod2.S b/sysdeps/x86_64/tst-quadmod2.S
index e923adf..af03444 100644
--- a/sysdeps/x86_64/tst-quadmod2.S
+++ b/sysdeps/x86_64/tst-quadmod2.S
@@ -27,6 +27,9 @@
.type func, @function
func:
.cfi_startproc
+#if defined __CET__ && (__CET__ & 1) != 0
+ endbr64
+#endif
xorl %edi, %edi
jmp exit@PLT
.cfi_endproc
@@ -36,6 +39,9 @@ func:
foo:
.cfi_startproc
.cfi_def_cfa_register 6
+#if defined __CET__ && (__CET__ & 1) != 0
+ endbr64
+#endif
movq .Ljmp(%rip), %rax
subq $BIAS, %rax
jmp *%rax
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 8 ++++++++
sysdeps/x86_64/tst-quadmod1.S | 6 ++++++
sysdeps/x86_64/tst-quadmod2.S | 6 ++++++
3 files changed, 20 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources