public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] x86: Remove __ASSEMBLER__ check in init-arch.h
@ 2020-07-11 17:25 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2020-07-11 17:25 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=43530ba1dc4fccd438fefa26f50977ff6bf284c7

commit 43530ba1dc4fccd438fefa26f50977ff6bf284c7
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Jul 11 10:03:05 2020 -0700

    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.

Diff:
---
 sysdeps/x86/init-arch.h | 6 +-----
 1 file changed, 1 insertion(+), 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>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-11 17:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-11 17:25 [glibc] x86: Remove __ASSEMBLER__ check in init-arch.h H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).