Skip to content

Commit

Permalink
add gcc-core-4.5.4-fix-errors-in-doc-generation-on-texinfo5.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangfu committed Nov 9, 2013
1 parent 8222d63 commit 228e5ab
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compile-lm32-rtems/Makefile
Expand Up @@ -90,7 +90,8 @@ gcc-$(GCC_CORE_VERSION)/newlib: .unzip.ok

.patch.ok: .unzip.ok $(RTEMS_PATCHES_DIR)/.ok
cd gcc-$(GCC_CORE_VERSION) && \
patch -p1 < ../$(RTEMS_PATCHES_DIR)/$(GCC_CORE_PATCH)
patch -p1 < ../$(RTEMS_PATCHES_DIR)/$(GCC_CORE_PATCH) && \
patch -p1 < ../$(MM1_PATCHES_DIR)/gcc-core-4.5.4-fix-errors-in-doc-generation-on-texinfo5.patch
cd newlib-$(NEWLIB_VERSION) && \
patch -p1 < ../$(RTEMS_PATCHES_DIR)/$(NEWLIB_PATCH)
cd gdb-$(GDB_VERSION) && \
Expand Down
@@ -0,0 +1,101 @@
diff -rup gcc-4.5.4/gcc/doc/cppopts.texi gcc-4.5.4/gcc/doc/cppopts.texi
--- gcc-4.5.4/gcc/doc/cppopts.texi 2010-04-02 21:54:46.000000000 +0200
+++ gcc-4.5.4/gcc/doc/cppopts.texi 2013-11-08 19:41:47.284525238 +0100
@@ -760,7 +760,7 @@ Replacement: [ ] @{ @}
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
diff -rup gcc-4.5.4/gcc/doc/generic.texi gcc-4.5.4/gcc/doc/generic.texi
--- gcc-4.5.4/gcc/doc/generic.texi 2010-07-06 22:23:53.000000000 +0200
+++ gcc-4.5.4/gcc/doc/generic.texi 2013-11-08 20:13:34.796493169 +0100
@@ -1407,13 +1407,13 @@ generate these expressions anyhow, if it
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.
diff -rup gcc-4.5.4/gcc/doc/invoke.texi gcc-4.5.4/gcc/doc/invoke.texi
--- gcc-4.5.4/gcc/doc/invoke.texi 2011-03-23 23:03:29.000000000 +0100
+++ gcc-4.5.4/gcc/doc/invoke.texi 2013-11-08 19:56:45.760510133 +0100
@@ -4875,11 +4875,11 @@ Dump after duplicating the computed goto
@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.

@@ -4890,11 +4890,11 @@ Dump after combining stack adjustments.
@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.

@@ -4939,7 +4939,7 @@ Dump after the initialization of the reg
@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.

@@ -4969,7 +4969,7 @@ Dump after removing redundant mode switc
@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.

@@ -4981,7 +4981,7 @@ Dump after the peephole pass.
@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.

diff -rup gcc-4.5.4/gcc/doc/sourcebuild.texi gcc-4.5.4/gcc/doc/sourcebuild.texi
--- gcc-4.5.4/gcc/doc/sourcebuild.texi 2011-04-12 18:37:04.000000000 +0200
+++ gcc-4.5.4/gcc/doc/sourcebuild.texi 2013-11-08 20:07:27.228499348 +0100
@@ -676,7 +676,7 @@ standard rule in @file{gcc/Makefile.in}
@code{lang_checks}.

@table @code
-@itemx all.cross
+@item all.cross
@itemx start.encap
@itemx rest.encap
FIXME: exactly what goes in each of these targets?

0 comments on commit 228e5ab

Please sign in to comment.