James Tabor wrote:
halmp: [CC] mpsirql.c
{standard input}: Assembler messages:
{standard input}:2378: Error: bad register name `%sil'
make[1]: *** [mpsirql.o] Error 1
fixed, but I cannot login to SVN to commit it ;-( (Casper, please, reset
my password). Here's the patch:
Index: halx86/include/hal.h
===================================================================
--- halx86/include/hal.h (revision 15547)
+++ halx86/include/hal.h (working copy)
@@ -419,7 +419,7 @@
static inline BYTE Ki386ReadFsByte(ULONG offset)
{
BYTE b;
- __asm__ __volatile__("movb %%fs:(%1),%0":"=r" (b):"r"
(offset));
+ __asm__ __volatile__("movb %%fs:(%1),%0":"=q" (b):"r"
(offset));
return b;
}
and here's the bug (where I also found the workaround):
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153