From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from azure-sdnproxy.icoremail.net (azure-sdnproxy.icoremail.net [207.46.229.174]) by sourceware.org (Postfix) with ESMTP id CC4333858C2B for ; Mon, 20 Mar 2023 02:25:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CC4333858C2B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=eswincomputing.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=eswincomputing.com Received: from host039-ubuntu-1804.lxd (unknown [10.12.130.38]) by app1 (Coremail) with SMTP id EwgMCgAXg5YcxBdkql4HAA--.37765S4; Mon, 20 Mar 2023 10:25:32 +0800 (CST) From: Songhe Zhu To: newlib@sourceware.org, jon.turney@dronecode.org.uk Cc: Songhe Zhu Subject: [PATCH] Cygwin: doc: Fix type mismatch in porting.texi Date: Mon, 20 Mar 2023 10:25:31 +0800 Message-Id: <20230320022531.76310-1-zhusonghe@eswincomputing.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID:EwgMCgAXg5YcxBdkql4HAA--.37765S4 X-Coremail-Antispam: 1UD129KBjvJXoWxXFWfZFWDArykWr43XrWkWFg_yoWrGr1rpF WI9w17Ww1rKFykZw4ru3WS9ryj9r4DKw47JrsrJ342vw15XF18tF42ya43X3yUWan3Crnx JFW8WFWkZw1rWaUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUva14x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0 rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK02 1l84ACjcxK6xIIjxv20xvE14v26w1j6s0DM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26F4U JVW0owA2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7xvwVC2z280aVCY1x0267AKxVW0oV Cq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0 I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r 4UM4x0Y48IcxkI7VAKI48JM4x0x7Aq67IIx4CEVc8vx2IErcIFxwCY1x0262kKe7AKxVWU AVWUtwCY02Avz4vE-syl42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2 IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v2 6r1Y6r17MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2 IY6xkF7I0E14v26r1j6r4UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv 67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r4j6r4UJbIYCTnIWIevJa73UjIFyT uYvjfUehL0UUUUU X-CM-SenderInfo: 52kx20pqjkvqphvzx0xfrp13pwlqwhhfrp/ X-Spam-Status: No, score=-13.3 required=5.0 tests=BAYES_00,GIT_PATCH_0,KAM_DMARC_STATUS,KAM_SHORT,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Issue:newlib/libgloss/doc/porting.texi:570: warning: @ref node name should not contain `.' newlib/libgloss/doc/porting.texi:747: warning: @ref node name should not contain `.' newlib/libgloss/doc/porting.texi:938: warning: @ref node name should not contain `.' reproduce: git clone https://github.com/riscv-collab/riscv-gnu-toolchain.git cd riscv-gnu-toolchain ./configure --prefix=`pwd`/install --with-arch=rv64gc --with-abi=lp64d --enable-multilib make -j $(nproc) The above issue will happen when executing the build command. This patch eliminates these warnings. @ref{That},'That' does not contain node,so rename those sections names which don't contain '.' refer:https://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html#g_t_0040file --- libgloss/doc/porting.texi | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/libgloss/doc/porting.texi b/libgloss/doc/porting.texi index 15f214d02..5257e7f91 100644 --- a/libgloss/doc/porting.texi +++ b/libgloss/doc/porting.texi @@ -567,7 +567,7 @@ and then the ROM takes over. Pick a safe vector with no side effects. Some ROMs have a builtin trap handler just for this case. @end enumerate portable between all the m68k based boards we have here. -@ref{crt0.S,,Example Crt0.S}. +@ref{CRT0S,,Example Crt0.S}. @smallexample @@ -744,7 +744,7 @@ check a few critical addresses like @code{start}, @code{bss_end}, and Here's a breakdown of a linker script for a m68k based target board. See the file @code{libgloss/m68k/idp.ld}, or go to the appendixes in -the end of the manual. @ref{idp.ld,,Example Linker Script}. +the end of the manual. @ref{IDPLD,,Example Linker Script}. @smallexample STARTUP(crt0.o) @@ -935,7 +935,7 @@ sbrk(). @code{malloc()}, @code{calloc()}, and @code{realloc()} all call @code{sbrk()} at there lowest level. @code{caddr_t} is defined elsewhere as @code{char *}. @code{RAMSIZE} is presently a compile time option. All this does is move a pointer to heap memory and check for the upper -limit. @ref{glue.c,,Example libc support code}. @code{sbrk()} returns a +limit. @ref{GLUEC,,Example libc support code}. @code{sbrk()} returns a pointer to the previous value before more memory was allocated. @smallexample @@ -1403,19 +1403,19 @@ as an ascii file, or using @code{xmodem}. @node Binutils, Code Listings, GDB, Top -@node Code Listings, idp.ld, Binutils, Top +@node Code Listings, IDPLD, Binutils, Top @appendix Code Listings @menu -* idp.ld:: A m68k linker script. -* crt0.S:: Crt0.S for an m68k. -* glue.c:: C based support for for Stdio functions. +* IDPLD:: A m68k linker script. +* CRT0S:: Crt0.S for an m68k. +* GLUEC:: C based support for for Stdio functions. * mvme.S:: Rom monitor based I/O support in assembler. * io.c:: C based for memory mapped I/O. * leds.c:: C based LED routines. @end menu -@node idp.ld, crt0.S, Code Listings, Code Listings +@node IDPLD, CRT0S, Code Listings, Code Listings @section Linker script for the IDP board This is the linker script script that is used on the Motorola IDP board. @@ -1490,7 +1490,7 @@ SECTIONS @} @end example -@node crt0.S, glue.c, idp.ld, Code Listings +@node CRT0S, GLUEC, IDPLD, Code Listings @section crt0.S - The startup file @example @@ -1605,7 +1605,7 @@ SYM (exit): trap #0 @end example -@node glue.c, mvme.S, crt0.S, Code Listings +@node GLUEC, mvme.S, CRT0S, Code Listings @section C based "glue" code. @example @@ -1838,7 +1838,7 @@ unsigned int num; @} @end example -@node mvme.S, io.c, glue.c, Code Listings +@node mvme.S, io.c, GLUEC, Code Listings @section I/O assembler code sample @example -- 2.17.1