linux-user: adapt uname machine to emulated CPU
commitc4ab7899f273d602086ea231c8e200b64a0da7ce
authorLoïc Minier <lool@dooz.org>
Tue, 29 Dec 2009 21:06:13 +0000 (29 22:06 +0100)
committerRiku Voipio <riku.voipio@nokia.com>
Fri, 5 Feb 2010 12:50:58 +0000 (5 14:50 +0200)
tree603da9989808113113e7d63fbdc670bdc5a53154
parent117f8eb81dfdf51a0418fbf6d260cbb72bcd4a9d
linux-user: adapt uname machine to emulated CPU

This patch for linux-user adapts the output of the emulated uname()
syscall to match the configured CPU.  Tested with x86, x86-64 and arm
emulation.

Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Loïc Minier <lool@dooz.org>
Makefile.target
linux-user/cpu-uname.c [new file with mode: 0644]
linux-user/cpu-uname.h [new file with mode: 0644]
linux-user/syscall.c