} On Tue, Oct 10, 2000 at 10:43:17PM -0600, Cort Dougan wrote:
} > if A
} > B
} > else
} > C
} >
} > in the order A, C, B when A is false and correctly (A, B) when A is true.
} >
} > This is with GCC version egcs-2.90.29 980515 (egcs-1.0.3 release) and
} > binutils 2.8.1 (with BFD 2.8.1).
} >
} > The asm in this routine looks good and I can keep the code from failing by
} > removing the request_irq() and replacing it with something else that
} > doesn't call into the kernel. I can't reproduce this in user-code or in
} > kernel code.
} >
} > Does anyone have any suggestions? Perhaps a suggestion for modutils
} > version?
}
} Please send the resulting asm code - I hear someone whispering
} "Branch delay slot".
.c and gzip'd .s attached.
Compiled with: mips-linux-gcc -v -G 0 -mno-abicalls -fno-pic -ffixed-8__
-D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -O2 -c
-fomit-frame-pointer -pipe -mcpu=r8000 -mips2 -mlong-calls
-I/sys/linux/include -I/sys/rtlinux/include -I/sys/rtlinux/include/compat
-I/sys/rtlinux/include/posix -Wall -Wstrict-prototypes -g -D__RTL__
-D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -O2 -c -o bug.o main/bug.c
bug.c
Description: Text document
bug.s.gz
Description: Binary data
|