gcc PR26189 fix also necessary for PA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Steve,

have got a fresh hppa-hpux11.31, and there seems the same
fixinclude-hack necessary for pa/sys/getppdp.h as for
ia64/sys/getppdp.h, already done in http://gcc.gnu.org/PR26189.

It seems to be enough to add pa/sys/getppdp.h to the "files" line.

Should I file another bug, reopen PR26189, or nothing else at all?

Thanks!

/haubi/
PS: Because 11.11 does not declare spu_info in its pa/sys/getppdp.h,
HP-GCC will not work on 11.31 as long as it is built on 11.11, or
fixincludes is not run again on the target when installing the depot.
diff -ru gcc-4.1.1.orig/fixincludes/inclhack.def gcc-4.1.1/fixincludes/inclhack.def
--- gcc-4.1.1.orig/fixincludes/inclhack.def	2006-02-18 16:59:57.000000000 +0100
+++ gcc-4.1.1/fixincludes/inclhack.def	2008-12-09 16:10:30.000000000 +0100
@@ -1687,7 +1687,7 @@
 fix = {
     hackname = hpux_spu_info;
     mach     = "*-hp-hpux*";
-    files    = ia64/sys/getppdp.h;
+    files    = ia64/sys/getppdp.h, pa/sys/getppdp.h;
     select   = "^.*extern.*spu_info.*";
 
     c_fix     = format;
diff -ru gcc-4.1.1.orig/fixincludes/fixincl.x gcc-4.1.1/fixincludes/fixincl.x
--- gcc-4.1.1.orig/fixincludes/fixincl.x	2006-02-18 16:59:57.000000000 +0100
+++ gcc-4.1.1/fixincludes/fixincl.x	2008-12-09 16:10:31.000000000 +0100
@@ -2922,7 +2918,7 @@
  *  File name selection pattern
  */
 tSCC zHpux_Spu_InfoList[] =
-  "|ia64/sys/getppdp.h|";
+  "|ia64/sys/getppdp.h|pa/sys/getppdp.h|";
 /*
  *  Machine/OS name selection pattern
  */

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux