From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YM2qi-0000lc-GY for qemu-devel@nongnu.org; Thu, 12 Feb 2015 18:07:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YM2qf-0002Hp-C1 for qemu-devel@nongnu.org; Thu, 12 Feb 2015 18:07:08 -0500 Received: from mail-db3on0072.outbound.protection.outlook.com ([157.55.234.72]:7634 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YM2qf-0002H7-69 for qemu-devel@nongnu.org; Thu, 12 Feb 2015 18:07:05 -0500 Message-ID: <54DD2A18.1030500@ezchip.com> Date: Thu, 12 Feb 2015 17:32:56 -0500 From: Chris Metcalf MIME-Version: 1.0 References: <54DBED38.4060005@sunrus.com.cn> <54DBEFD3.1070609@sunrus.com.cn> <54DBF2D2.3000802@ezchip.com> <54DC1EC7.9000808@sunrus.com.cn> <54DC229A.9070008@sunrus.com.cn> In-Reply-To: <54DC229A.9070008@sunrus.com.cn> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] tile: Can load elf64 tilegx binary successfully for linux-user. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Chen Gang S , riku.voipio@iki.fi, Peter Maydell Cc: "walt@tilera.com" , qemu-devel On 2/11/2015 10:48 PM, Chen Gang S wrote: > On 2/12/15 11:32, Chen Gang S wrote: >>>>>> >>> >> +#define EM_TILE 191 /* Tile */ >>>>>> >>> >>+#define EM_TILE_OLD 0x2597 /* Tile compat */ >>>> >> > >>>> >> >No need for EM_TILE_OLD - it never really got out into the wild. >>>> >> > >>>> >> >Also, 191 is EM_TILEGX in , so you really should use the same name here, not EM_TILE. >>>> >> > > Oh, I can not fine EM_TILEGX in "elf.h" in master branch. I guess, I > need to define it, too. It is in glibc's /usr/include/elf.h since version 2.16. -- Chris Metcalf, EZChip Semiconductor http://www.ezchip.com