]> sourceware.org Git - glibc.git/commitdiff
Use i386 sys/elf.h and sys/vm86.h for i386 and x86-64
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 1 Jun 2012 20:22:46 +0000 (13:22 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 1 Jun 2012 20:22:46 +0000 (13:22 -0700)
ChangeLog
sysdeps/unix/sysv/linux/i386/Makefile
sysdeps/unix/sysv/linux/x86/Makefile
sysdeps/unix/sysv/linux/x86/sys/elf.h [moved from sysdeps/unix/sysv/linux/i386/sys/elf.h with 100% similarity]
sysdeps/unix/sysv/linux/x86/sys/vm86.h [moved from sysdeps/unix/sysv/linux/i386/sys/vm86.h with 100% similarity]
sysdeps/unix/sysv/linux/x86_64/Makefile

index e5f68f3383bbda2dffc3f3e14b5c33ea8e1f291f..470aa8577f4e81b03586e8faffe71372b5619381 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,19 @@
 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
 
        [BZ #14117]
+       * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
+       Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
+       sys/debugreg.h sys/io.h here.
+       * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
+       sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
+       sys/io.h.
+       * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
+       Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
+       * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
+       * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
+       * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
+       * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
+
        * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
        Define only if __x86_64__ is defined.
 
index f4585d788a2bd6c73e399ef2a10ffcf78dd8647c..acc30219e8dc965f61fadfa6fa1bae349b91724e 100644 (file)
@@ -3,7 +3,6 @@ default-abi := 32
 
 ifeq ($(subdir),misc)
 sysdep_routines += ioperm iopl vm86 call_pselect6 call_fallocate
-sysdep_headers += sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h sys/io.h
 endif
 
 ifeq ($(subdir),elf)
index cf4a55cf0cd26fb6fbbaa1bdaa906dab9e044c33..6412a9ef3679cfd5a16c0d9974204bed3dad44a9 100644 (file)
@@ -12,3 +12,7 @@ abi-64-ld-soname := ld-linux-x86-64.so.2
 abi-x32-options := -U__i386__ -D__x86_64__ -D__ILP32__ -U__LP64__
 abi-x32-condition := defined __x86_64__ && defined __ILP32__
 abi-x32-ld-soname := ld-linux-x32.so.2
+
+ifeq ($(subdir),misc)
+sysdep_headers += sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h sys/io.h
+endif
index dd4ab59c5aca9cc1080ab8d97753f4767cae5c28..d6a9d360d1a6f9b13209859743e6c2c4c214a062 100644 (file)
@@ -1,6 +1,5 @@
 ifeq ($(subdir),misc)
 sysdep_routines += ioperm iopl
-sysdep_headers += sys/perm.h sys/reg.h sys/debugreg.h sys/io.h
 endif
 
 ifeq ($(subdir),stdlib)
This page took 0.125808 seconds and 5 git commands to generate.