Test 220.127.116.11 compil on AMiga
I download and try to compile, but the result is not so good :
arch/m68k/kernel/head.S: Assembler messages:
arch/m68k/kernel/head.S:2865: Error: bad expression
arch/m68k/kernel/head.S:2866: Error: bad expression
arch/m68k/kernel/head.S:2866: Error: parse error -- statement `bclr
arch/m68k/kernel/head.S:2868: Error: bad expression
arch/m68k/kernel/head.S:2868: Error: parse error -- statement `movew
make: *** [arch/m68k/kernel/head.o] Error 1
make: *** [arch/m68k/kernel] Error 2
This is in the "serial init" code and the code does not look so
offensive and seems not to have been modified since a long
time but I am not a fan of assembly language ....
here are the offending lines :
2866 bclr #SERIAL_DTR,SERIAL_CNTRL-ZTWOBASE
2867 get_bi_record BI_AMIGA_SERPER
2868 movew %a0@,CUSTOMBASE+C_SERPER-ZTWOBASE
ZTWOBASE seems only be used here and is defined in asm-offsets.s
asm-offsets.s:->ZTWOBASE #-2147483648 zTwoBase
Perhaps the "-" sign (double in the assembler error) is misplaced ?
Or is it a problem with "as" as I use recent packages for binutils :
GNU assembler 2.15
Is it a bug in the "as" in its 2.15 version ?