From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61519 invoked by alias); 18 Sep 2018 07:18:14 -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 61378 invoked by uid 89); 18 Sep 2018 07:18:13 -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.0834581|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03303;MF=han_mao@c-sky.com;NM=1;PH=DS;RN=4;RT=4;SR=0;TI=SMTPD_---.CsK-YQt_1537255086; Date: Tue, 18 Sep 2018 07:18:00 -0000 From: Mao Han To: Joseph Myers Cc: c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, libc-alpha@sourceware.org Subject: Re: [PATCH v4 00/13] port C-SKY to glibc Message-ID: <20180918071729.GA4041@vmh-VirtualBox> References: <20180913081354.GA4004@vmh-VirtualBox> <20180918062209.GD3355@vmh-VirtualBox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180918062209.GD3355@vmh-VirtualBox> User-Agent: Mutt/1.5.24 (2015-08-30) X-SW-Source: 2018-09/txt/msg00275.txt.bz2 On Tue, Sep 18, 2018 at 02:22:11PM +0800, Mao Han wrote: > > It's not required, but it's a good idea to make binutils check for ABI > > incompatibilities at static link time, using GNU object attributes, which > > GCC should generate based on the ABI selected when compiling. See how > > powerpc and mips handle this, for example. That helps protect against > > user mistakes (linking .o files for different ABIs together) by making the > > linker complain about such mixing. > > OK. I'll try to add some check here. > Seems I just missunderstand to add some check in glibc configure. We have ABI check using eflag in elf header, which can recognize different ISA but not float ABI. We may support ABI check using GNU object attributes in the later version. Thanks, Han Mao