From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39413 invoked by alias); 12 Sep 2018 09:06:22 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 39384 invoked by uid 89); 12 Sep 2018 09:06:22 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,UNPARSEABLE_RELAY autolearn=no version=3.3.2 spammy= X-HELO: smtp2200-217.mail.aliyun.com X-Alimail-AntiSpam:AC=CONTINUE;BC=0.06567236|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03301;MF=han_mao@c-sky.com;NM=1;PH=DS;RN=4;RT=4;SR=0;TI=SMTPD_---.Cppsyay_1536743175; Date: Wed, 12 Sep 2018 09:06:00 -0000 From: Mao Han To: Florian Weimer Cc: c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, libc-alpha@sourceware.org Subject: Re: [PATCH v4 01/13] C-SKY: ABI related code Message-ID: <20180912090613.GA26405@vmh-VirtualBox> References: <369062ae95df6648125b91354f707911cf8738de.1536720821.git.han_mao@c-sky.com> <20180912070735.GA3771@vmh-VirtualBox> <0f0b5b18-056b-c622-e313-74bf714ecb2a@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0f0b5b18-056b-c622-e313-74bf714ecb2a@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-SW-Source: 2018-09/txt/msg00144.txt.bz2 On Wed, Sep 12, 2018 at 10:23:29AM +0200, Florian Weimer wrote: > On 09/12/2018 09:07 AM, Mao Han wrote: > >It seems used to call some pre-init function for libc, register transactional > >memory clone tables and invoke global constructors on C-SKY. Althrough I > >haven't found any constructors call by _init, I just tend to have _init and > >_fini as most other arch have these. > > The expectation is that for new glibc ports, GCC is tweaked to generate the > array variant of these constructs exclusively, like RISC-V did. Then you > won't need the function variant. > > Thanks, > Florian init_array seems work fine on C-SKY. I'll run the tests again to see whether there is any new problems. Han Mao