]> git.ipfire.org Git - thirdparty/glibc.git/commit
Use x86-64 cacheinfo.c and sysconf.c for x86
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 19 Aug 2015 11:27:04 +0000 (04:27 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 19 Aug 2015 11:27:04 +0000 (04:27 -0700)
commit3552daa7ac08c8dd2fc59393fc57e0b4e7aec94e
tree191d35a0ae864bc34a3919c9d0d518cb6ecb1192
parent477fa2c8433218ab84625e61932228781125ba54
Use x86-64 cacheinfo.c and sysconf.c for x86

Since _dl_x86_cpu_features is always available, we can use x86-64
cacheinfo.c and sysconf.c for both i386 and x86-64.

* sysdeps/i386/i686/Makefile
[$(subdir) == string] (sysdep_routines): Moved to ...
* sysdeps/i386/Makefile: Here.
* sysdeps/i386/i686/cacheinfo.c: Moved to ...
* sysdeps/i386/cacheinfo.c: Here.
* sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
* sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
* sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
ChangeLog
sysdeps/i386/Makefile
sysdeps/i386/cacheinfo.c [moved from sysdeps/i386/i686/cacheinfo.c with 100% similarity]
sysdeps/i386/i686/Makefile
sysdeps/unix/sysv/linux/i386/i686/sysconf.c [deleted file]
sysdeps/unix/sysv/linux/i386/sysconf.c [deleted file]
sysdeps/unix/sysv/linux/x86/sysconf.c [moved from sysdeps/unix/sysv/linux/x86_64/sysconf.c with 100% similarity]