[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [patch] Fix arm self-modifying code
From: |
Ronald |
Subject: |
[Qemu-devel] Re: [patch] Fix arm self-modifying code |
Date: |
Tue, 03 Aug 2004 00:36:05 +0200 |
User-agent: |
Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) |
Le Mon, 02 Aug 2004 14:21:23 +0200, Lennert Buytenhek a écrit :
> On Mon, Aug 02, 2004 at 01:29:58AM +0100, Paul Brook wrote:
>
>> The patch adds the signal handling necessary to make arm self-modifying
>> code work. You'll notice it looks remarkably similar to the sparc
>> routine :)
>>
>> This should fix the "uncaught target signal 11" crash people have been
>> seeing.
>
> OK.. I made two 'hello world' binaries with these toolchains: -
> armv5te-redhat-linux, gcc 3.3.3, glibc 2.3.2 - arm-unknown-linux-gnu, gcc
> 2.95.3, glibc 2.1.3
>
> They both fail with 'uncaught target signal 11' when run under latest qemu
> plus your patch.
>
Don't know if this can help but when playing with qemu-ppc I've
experienced problem like this.
glibc-2.3.2 was build with --enable-kernel=2.4.0, setting this same
option to 2.2.0 corrected the whole thing.