From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id E4772397140D for ; Fri, 5 Feb 2021 09:36:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E4772397140D Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-239-tRg_NGf-PLG88YVuLt1rbw-1; Fri, 05 Feb 2021 04:36:51 -0500 X-MC-Unique: tRg_NGf-PLG88YVuLt1rbw-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2E59C10066F5 for ; Fri, 5 Feb 2021 09:36:50 +0000 (UTC) Received: from calimero.vinschen.de (ovpn-113-45.ams2.redhat.com [10.36.113.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F414F62A03 for ; Fri, 5 Feb 2021 09:36:49 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id 987A1A80708; Fri, 5 Feb 2021 10:36:48 +0100 (CET) Date: Fri, 5 Feb 2021 10:36:48 +0100 From: Corinna Vinschen To: newlib@sourceware.org Subject: Re: [PATCH 1/1] RISC-V: Use __bss_start for the starting point of .bss. Message-ID: <20210205093648.GN4251@calimero.vinschen.de> Reply-To: newlib@sourceware.org Mail-Followup-To: newlib@sourceware.org References: <20210204073400.14458-1-eddiekuo@andestech.com> MIME-Version: 1.0 In-Reply-To: <20210204073400.14458-1-eddiekuo@andestech.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spam-Status: No, score=-13.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2021 09:36:54 -0000 On Feb 4 15:34, Yeting Kuo wrote: > From: Yeting Kuo > > It's more flexible for the positions of .bss and .data. > --- > libgloss/riscv/crt0.S | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libgloss/riscv/crt0.S b/libgloss/riscv/crt0.S > index 160c07853..7a4e4e32c 100644 > --- a/libgloss/riscv/crt0.S > +++ b/libgloss/riscv/crt0.S > @@ -27,7 +27,7 @@ _start: > .option pop > > # Clear the bss segment > - la a0, _edata > + la a0, __bss_start > la a2, _end > sub a2, a2, a0 > li a1, 0 > -- > 2.17.0 Pushed. Thanks, Corinna