[Qemu-devel] [PATCH] linux-user: use arm features based on cpu model

2010-03-15 Thread Lars Munch
Use arm features based on cpu model. The hardcoded feature list gave problems in the setjmp/longjmp functions of glibc since it tried to use VFP instructions even though I specified a pxa270 as cpu model. Signed-off-by: Lars Munch l...@segv.dk --- linux-user/elfload.c | 10 ++ 1 files

Re: [Qemu-devel] [PATCH] linux-user: use arm features based on cpu model

2010-03-15 Thread Paul Brook
+static uint32_t get_elf_hwcap(void) +{ +return thread_env-features; +} No. These values are not the same. Paul

Re: [Qemu-devel] [PATCH] linux-user: use arm features based on cpu model

2010-03-15 Thread Lars Munch
On Mon, Mar 15, 2010 at 12:26:27PM +, Paul Brook wrote: +static uint32_t get_elf_hwcap(void) +{ +return thread_env-features; +} No. These values are not the same. Paul Yes, these values are indeed not the same. Below is an updated patch with a function similar to the PPC