This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch hjl/cet/property updated. glibc-2.25-641-gbf59d6e
- From: hjl at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 29 Jun 2017 15:41:44 -0000
- Subject: GNU C Library master sources branch hjl/cet/property updated. glibc-2.25-641-gbf59d6e
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, hjl/cet/property has been updated
via bf59d6e2cb3dfce06d57e8bca4a66a74e9bcadeb (commit)
from ac1d93f9b506212be671d0a5b949d0ddb74da848 (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=bf59d6e2cb3dfce06d57e8bca4a66a74e9bcadeb
commit bf59d6e2cb3dfce06d57e8bca4a66a74e9bcadeb
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Jun 29 08:41:31 2017 -0700
Fix x86: Add <sys/cet.h> to support Intel CET
diff --git a/sysdeps/unix/sysv/linux/x86/link_map.h b/sysdeps/unix/sysv/linux/x86/link_map.h
index 00d17da..86e098e 100644
--- a/sysdeps/unix/sysv/linux/x86/link_map.h
+++ b/sysdeps/unix/sysv/linux/x86/link_map.h
@@ -16,13 +16,11 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#ifdef ENABLE_CET
/* If this object is enabled with CET. */
-enum
+enum
{
lc_none = 0, /* Not enabled with CET. */
lc_ibt = 1 << 0, /* Enabled with IBT. */
lc_shstk = 1 << 1, /* Enabled with STSHK. */
lc_ibt_and_shstk = lc_ibt | lc_shstk /* Enabled with both. */
} l_cet:2;
-#endif
diff --git a/sysdeps/x86/libc-start.c b/sysdeps/x86/libc-start.c
index c9a3133..bcd6002 100644
--- a/sysdeps/x86/libc-start.c
+++ b/sysdeps/x86/libc-start.c
@@ -26,7 +26,6 @@ extern struct cpu_features _dl_x86_cpu_features;
# define ARCH_INIT_CPU_FEATURES() \
init_cpu_features (&_dl_x86_cpu_features)
# endif
-
#endif
#include <csu/libc-start.c>
-----------------------------------------------------------------------
Summary of changes:
sysdeps/unix/sysv/linux/x86/link_map.h | 4 +---
sysdeps/x86/libc-start.c | 1 -
2 files changed, 1 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU C Library master sources