doc: invoke: pru/riscv: Fix option list formatting

Message ID 20221115230845.210285-1-christoph.muellner@vrull.eu
State Committed
Commit f58e6d42fc555ee471594ac57bccaa8a3fb833aa
Headers
Series doc: invoke: pru/riscv: Fix option list formatting |

Commit Message

Christoph Müllner Nov. 15, 2022, 11:08 p.m. UTC
  From: Christoph Müllner <christoph.muellner@vrull.eu>

This patch fixes a wrong placed closing bracket in the RISC-V option
list and an unneeded @gol in the PRU option list in invoke.texi.

gcc/ChangeLog:

	* doc/invoke.texi: Fix PRU/RISC-V option list formatting.

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
---
 gcc/doc/invoke.texi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Comments

Jeff Law Nov. 16, 2022, 3:31 a.m. UTC | #1
On 11/15/22 16:08, Christoph Muellner wrote:
> From: Christoph Müllner <christoph.muellner@vrull.eu>
>
> This patch fixes a wrong placed closing bracket in the RISC-V option
> list and an unneeded @gol in the PRU option list in invoke.texi.
>
> gcc/ChangeLog:
>
> 	* doc/invoke.texi: Fix PRU/RISC-V option list formatting.

OK.


Jeff
  
Philipp Tomsich Nov. 16, 2022, 9:33 a.m. UTC | #2
Applied to master. Thanks!
Philipp.

On Wed, 16 Nov 2022 at 04:31, Jeff Law <jeffreyalaw@gmail.com> wrote:
>
>
> On 11/15/22 16:08, Christoph Muellner wrote:
> > From: Christoph Müllner <christoph.muellner@vrull.eu>
> >
> > This patch fixes a wrong placed closing bracket in the RISC-V option
> > list and an unneeded @gol in the PRU option list in invoke.texi.
> >
> > gcc/ChangeLog:
> >
> >       * doc/invoke.texi: Fix PRU/RISC-V option list formatting.
>
> OK.
>
>
> Jeff
>
>
  

Patch

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 057439a004c..cbfe1102bd2 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -1197,7 +1197,7 @@  See RS/6000 and PowerPC Options.
 
 @emph{PRU Options}
 @gccoptlist{-mmcu=@var{mcu}  -minrt  -mno-relax  -mloop @gol
--mabi=@var{variant} @gol}
+-mabi=@var{variant}}
 
 @emph{RISC-V Options}
 @gccoptlist{-mbranch-cost=@var{N-instruction} @gol
@@ -1220,8 +1220,8 @@  See RS/6000 and PowerPC Options.
 -malign-data=@var{type} @gol
 -mbig-endian  -mlittle-endian @gol
 -mstack-protector-guard=@var{guard}  -mstack-protector-guard-reg=@var{reg} @gol
--mstack-protector-guard-offset=@var{offset}}
--mcsr-check -mno-csr-check @gol
+-mstack-protector-guard-offset=@var{offset} @gol
+-mcsr-check -mno-csr-check}
 
 @emph{RL78 Options}
 @gccoptlist{-msim  -mmul=none  -mmul=g13  -mmul=g14  -mallregs @gol