From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 35860 invoked by alias); 11 Jul 2019 03:13:20 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 35846 invoked by uid 89); 11 Jul 2019 03:13:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.3 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-9.4 required=5.0 tests=AWL,BAYES_00,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 spammy=our X-Spam-Status: No, score=-9.4 required=5.0 tests=AWL,BAYES_00,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on sourceware.org X-Spam-Level: X-HELO: smtp2200-217.mail.aliyun.com Received: from smtp2200-217.mail.aliyun.com (HELO smtp2200-217.mail.aliyun.com) (121.197.200.217) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 11 Jul 2019 03:13:18 +0000 X-Alimail-AntiSpam:AC=CONTINUE;BC=0.09983191|-1;CH=green;DM=CONTINUE|CONTINUE|true|0.427618-0.0166916-0.55569;FP=0|0|0|0|0|-1|-1|-1;HT=e01a16384;MF=han_mao@c-sky.com;NM=1;PH=DS;RN=2;RT=2;SR=0;TI=SMTPD_---.EvpwsDa_1562814795; Received: from localhost(mailfrom:han_mao@c-sky.com fp:SMTPD_---.EvpwsDa_1562814795) by smtp.aliyun-inc.com(10.147.40.200); Thu, 11 Jul 2019 11:13:15 +0800 Date: Thu, 11 Jul 2019 03:13:00 -0000 From: Mao Han To: Mark Wielaard Cc: elfutils-devel@sourceware.org Subject: Re: [[RESEND & PING]PATCH V3 0/1] Add C-SKY support Message-ID: <20190711031142.GA824@vmh-VirtualBox> References: <1539116e9ac2bfb0871481291ea0081287544e0f.camel@klomp.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1539116e9ac2bfb0871481291ea0081287544e0f.camel@klomp.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2019-q3/txt/msg00042.txt.bz2 On Wed, Jul 10, 2019 at 11:33:23PM +0200, Mark Wielaard wrote: > Hi Mao Han, > > On Mon, 2019-06-03 at 16:16 +0800, Mao Han wrote: > > test binary: > > https://github.com/c-sky/test-result/blob/master/elfutils/divzero > > https://github.com/c-sky/test-result/blob/master/elfutils/core > > I was looking at these, but they seem to have a wrong e_machine value > of EM_RCE, not EM_CSKY? Is that deliberate? > I used an no upstream toolchain to verify coredump backtrace, which use the EM_CSKY_OLD equals to 39. We have changed the EM number to 252 in our newly released toolchain with compatibility to EM_CSKY_OLD. See binutils/include/elf/common.h: /* C-SKY historically used 39, the same value as MCORE, from which the architecture was derived. */ #define EM_CSKY_OLD EM_MCORE Thanks, Mao Han