aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-08-06 06:25:28 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-08-06 06:25:43 -0700
commitfb4c32aef64500c65c7fc95ca06d7e17d467be45 (patch)
treeeef59c6f48555419272cc88b68fbce8d42d6a001 /sysdeps/x86_64
parente5721f45f6377c27ccb2572001dc98f7a2e6a146 (diff)
downloadglibc-fb4c32aef64500c65c7fc95ca06d7e17d467be45.tar
glibc-fb4c32aef64500c65c7fc95ca06d7e17d467be45.tar.gz
glibc-fb4c32aef64500c65c7fc95ca06d7e17d467be45.tar.bz2
glibc-fb4c32aef64500c65c7fc95ca06d7e17d467be45.zip
x86: Move STATE_SAVE_OFFSET/STATE_SAVE_MASK to sysdep.h
Move STATE_SAVE_OFFSET and STATE_SAVE_MASK to sysdep.h to make sysdeps/x86/cpu-features.h a C header file. * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed. (STATE_SAVE_MASK): Likewise. Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>. * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New. (STATE_SAVE_MASK): Likewise. * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h> instead of <cpu-features.h>.
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/dl-trampoline.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86_64/dl-trampoline.S b/sysdeps/x86_64/dl-trampoline.S
index ef1425cbb9..fd918510fe 100644
--- a/sysdeps/x86_64/dl-trampoline.S
+++ b/sysdeps/x86_64/dl-trampoline.S
@@ -18,7 +18,7 @@
#include <config.h>
#include <sysdep.h>
-#include <cpu-features.h>
+#include <cpu-features-offsets.h>
#include <link-defines.h>
#ifndef DL_STACK_ALIGNMENT