|
From: | Chris Metcalf |
Subject: | Re: [Qemu-devel] [PATCH] tile: Can load elf64 tilegx binary successfully for linux-user. |
Date: | Thu, 12 Feb 2015 17:32:56 -0500 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
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 <elf.h>, 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
[Prev in Thread] | Current Thread | [Next in Thread] |