Check __x86_64__ in x86_64/bits/a.out.h

This commit is contained in:
H.J. Lu 2012-05-16 10:35:34 -07:00
parent 84a6878674
commit 34683bb01b
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
<bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.

View File

@ -2,9 +2,7 @@
# error "Never use <bits/a.out.h> directly; include <a.out.h> instead."
#endif
#include <bits/wordsize.h>
#if __WORDSIZE == 64
#ifdef __x86_64__
/* Signal to users of this header that this architecture really doesn't
support a.out binary format. */