about summary refs log tree commit diff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-07-11 10:03:05 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-07-11 10:03:05 -0700
commit43530ba1dc4fccd438fefa26f50977ff6bf284c7 (patch)
treed1cd3e19f176fe703b3704de8f2a06a96958a9b5
parent9016b6f3893789ddfbd978aa572b46b3d3ce762f (diff)
downloadglibc-43530ba1dc4fccd438fefa26f50977ff6bf284c7.tar.gz
glibc-43530ba1dc4fccd438fefa26f50977ff6bf284c7.tar.xz
glibc-43530ba1dc4fccd438fefa26f50977ff6bf284c7.zip
x86: Remove __ASSEMBLER__ check in init-arch.h
Since

commit 430388d5dc0e1861b869096f4f5d946d7d74232a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Aug 3 08:04:49 2018 -0700

    x86: Don't include <init-arch.h> in assembly codes

removed all usages of <init-arch.h> from assembly codes, we can remove
__ASSEMBLER__ check in init-arch.h.
-rw-r--r--sysdeps/x86/init-arch.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/x86/init-arch.h b/sysdeps/x86/init-arch.h
index d6f59cf962..a174229941 100644
--- a/sysdeps/x86/init-arch.h
+++ b/sysdeps/x86/init-arch.h
@@ -15,11 +15,7 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
-#ifdef  __ASSEMBLER__
-# include <cpu-features.h>
-#else
-# include <ldsodefs.h>
-#endif
+#include <ldsodefs.h>
 #include <ifunc-init.h>
 #include <isa.h>