This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Use i386 sys/elf.h and sys/vm86.h for i386 and x86-64
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 1 Jun 2012 13:07:36 -0700 (PDT)
- Subject: Re: PATCH: Use i386 sys/elf.h and sys/vm86.h for i386 and x86-64
- References: <20120601034716.GA24541@intel.com>
> * 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.
Drop the blank line. You also should be moving x86_64/sys/io.h to x86/
and removing i386/sys/io.h.