]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86: Move STATE_SAVE_OFFSET/STATE_SAVE_MASK to sysdep.h
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 6 Aug 2018 13:25:28 +0000 (06:25 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 6 Aug 2018 13:25:43 +0000 (06:25 -0700)
commitfb4c32aef64500c65c7fc95ca06d7e17d467be45
treeeef59c6f48555419272cc88b68fbce8d42d6a001
parente5721f45f6377c27ccb2572001dc98f7a2e6a146
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>.
ChangeLog
sysdeps/x86/cpu-features.h
sysdeps/x86/sysdep.h
sysdeps/x86_64/dl-trampoline.S