I can't reproduce this (either with current trunk or with qemu 0.14.0 release version). Also, if we were directing UNDEF exceptions to the SVC entry point I think it would cause fairly obvious breakage of Linux guests.
I'm going to attach the test program I used to confirm that we are correctly directing the exception to the 0x4 vector:
./arm-softmmu/qemu-system-arm -kernel ~/linaro/qemu-misc-tests/undef-exc.axf -semihosting
Starting test
In undef vector
I'll also attach the binary, since it's only 2K and the source needs armcc to build.
If you can provide a simple test program and qemu command line which demonstrates the behaviour you think is incorrect I can investigate further.
I can't reproduce this (either with current trunk or with qemu 0.14.0 release version). Also, if we were directing UNDEF exceptions to the SVC entry point I think it would cause fairly obvious breakage of Linux guests.
I'm going to attach the test program I used to confirm that we are correctly directing the exception to the 0x4 vector:
./arm-softmmu/ qemu-system- arm -kernel ~/linaro/ qemu-misc- tests/undef- exc.axf -semihosting
Starting test
In undef vector
I'll also attach the binary, since it's only 2K and the source needs armcc to build.
If you can provide a simple test program and qemu command line which demonstrates the behaviour you think is incorrect I can investigate further.