From 47ec083822f34551893f7bbe9754ec1b9eb96606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6tz=20Pfeiffer?= Date: Thu, 7 Jan 2016 15:13:50 +0100 Subject: Bugfix: gcc-4.4.7 couldn't be build with a modern texinfo package. The texinfo documentation of binutils contained some constructs that are errors, at least for a modern version of texinfo (version 6.0 and newer). This meant that gcc-4.4.7 couldn't be build e.g. on fedora-22. A patch file was added to fix the problematic parts of the documentation. Update #2520. --- .../gcc/gcc-core-4.4.7-rtems4.10-20151123.diff | 86 ++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 tools/4.10/gcc/gcc-core-4.4.7-rtems4.10-20151123.diff (limited to 'tools') diff --git a/tools/4.10/gcc/gcc-core-4.4.7-rtems4.10-20151123.diff b/tools/4.10/gcc/gcc-core-4.4.7-rtems4.10-20151123.diff new file mode 100644 index 0000000..a810cfe --- /dev/null +++ b/tools/4.10/gcc/gcc-core-4.4.7-rtems4.10-20151123.diff @@ -0,0 +1,86 @@ +--- gcc-4.4.7-orig/gcc/doc/c-tree.texi 2009-02-20 16:20:38.000000000 +0100 ++++ gcc-4.4.7/gcc/doc/c-tree.texi 2015-11-17 09:43:59.054448894 +0100 +@@ -2338,13 +2338,13 @@ + not matter. The type of the operands and that of the result are + always of @code{BOOLEAN_TYPE} or @code{INTEGER_TYPE}. + +-@itemx POINTER_PLUS_EXPR ++@item POINTER_PLUS_EXPR + This node represents pointer arithmetic. The first operand is always + a pointer/reference type. The second operand is always an unsigned + integer type compatible with sizetype. This is the only binary + arithmetic operand that can operate on pointer types. + +-@itemx PLUS_EXPR ++@item PLUS_EXPR + @itemx MINUS_EXPR + @itemx MULT_EXPR + These nodes represent various binary arithmetic operations. +--- gcc-4.4.7-orig/gcc/doc/cppopts.texi 2008-06-15 11:42:13.000000000 +0200 ++++ gcc-4.4.7/gcc/doc/cppopts.texi 2015-11-17 09:40:09.377639641 +0100 +@@ -758,7 +758,7 @@ + Enable special code to work around file systems which only permit very + short file names, such as MS-DOS@. + +-@itemx --help ++@item --help + @itemx --target-help + @opindex help + @opindex target-help +--- gcc-4.4.7-orig/gcc/doc/invoke.texi 2015-11-16 16:56:48.140502438 +0100 ++++ gcc-4.4.7/gcc/doc/invoke.texi 2015-11-17 09:55:03.217222123 +0100 +@@ -4649,11 +4649,11 @@ + @option{-fdump-rtl-ce3} enable dumping after the three + if conversion passes. + +-@itemx -fdump-rtl-cprop_hardreg ++@item -fdump-rtl-cprop_hardreg + @opindex fdump-rtl-cprop_hardreg + Dump after hard register copy propagation. + +-@itemx -fdump-rtl-csa ++@item -fdump-rtl-csa + @opindex fdump-rtl-csa + Dump after combining stack adjustments. + +@@ -4664,11 +4664,11 @@ + @option{-fdump-rtl-cse1} and @option{-fdump-rtl-cse2} enable dumping after + the two common sub-expression elimination passes. + +-@itemx -fdump-rtl-dce ++@item -fdump-rtl-dce + @opindex fdump-rtl-dce + Dump after the standalone dead code elimination passes. + +-@itemx -fdump-rtl-dbr ++@item -fdump-rtl-dbr + @opindex fdump-rtl-dbr + Dump after delayed branch scheduling. + +@@ -4713,7 +4713,7 @@ + @opindex fdump-rtl-initvals + Dump after the computation of the initial value sets. + +-@itemx -fdump-rtl-into_cfglayout ++@item -fdump-rtl-into_cfglayout + @opindex fdump-rtl-into_cfglayout + Dump after converting to cfglayout mode. + +@@ -4743,7 +4743,7 @@ + @opindex fdump-rtl-rnreg + Dump after register renumbering. + +-@itemx -fdump-rtl-outof_cfglayout ++@item -fdump-rtl-outof_cfglayout + @opindex fdump-rtl-outof_cfglayout + Dump after converting from cfglayout mode. + +@@ -4755,7 +4755,7 @@ + @opindex fdump-rtl-postreload + Dump after post-reload optimizations. + +-@itemx -fdump-rtl-pro_and_epilogue ++@item -fdump-rtl-pro_and_epilogue + @opindex fdump-rtl-pro_and_epilogue + Dump after generating the function pro and epilogues. + -- cgit v1.2.3