This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bypass fix for asm/posix_types.h for latest asm-x86 header


The fix for a broken old version of <asm/posix_types.h> has again run
into a new version of this header that does not need fixing - this
time that from the unified asm-x86 in Linux kernel 2.6.24 and later.
This patch adds a bypass on posix_types_64 (this latest header version
includes either posix_types_32.h or posix_types_64.h depending on
__i386__).  Bootstrapped with no regressions on i686-pc-linux-gnu.  OK
to commit?

2008-05-14  Joseph Myers  <joseph@codesourcery.com>

	* inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
	posix_types_64.
	* fixincl.x: Regenerate.

Index: inclhack.def
===================================================================
--- inclhack.def	(revision 135273)
+++ inclhack.def	(working copy)
@@ -182,6 +182,7 @@
     mach     = 'i[34567]86-*-linux*';
     bypass   = '} while';
     bypass   = 'x86_64';
+    bypass   = 'posix_types_64';
 
     /*
      * Define _POSIX_TYPES_H_WRAPPER at the end of the wrapper, not

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]