On Tue, Apr 10, 2007 at 05:05:36AM +0800, Mayank Kumar wrote: > That information was really very helpful. I have been able to localize the bug. The issue is in the assembler. When I create a object file using the assembler(as test.s -o test.o), the contents of .rdata which contains the jump table is all wrong.
At this point you're probably better off asking for help from the binutils list, where you can find the experts on the assembler and linker.