PATCH: Use i386 sys/elf.h and sys/vm86.h for i386 and x86-64

Roland McGrath roland@hack.frob.com
Fri Jun 1 20:07:00 GMT 2012


> 	* 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.



More information about the Libc-alpha mailing list