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
> +static uint32_t get_elf_hwcap(void)
> +{
> +return thread_env->features;
> +}
No. These values are not the same.
Paul
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
---
linux-user/elfload.c | 10 ++
1 files changed, 6 in