Test 2.6.8.1 compil on AMiga
Hello,
I download and try to compile, but the result is not so good :
================================================================
AS arch/m68k/kernel/head.o
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
#7,-2134913024+0--2147483648' ignored
arch/m68k/kernel/head.S:2868: Error: bad expression
arch/m68k/kernel/head.S:2868: Error: parse error -- statement `movew
%a0@,-2132807680+50--2147483648' ignored
make[1]: *** [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
as :
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 :
as --version
GNU assembler 2.15
Is it a bug in the "as" in its 2.15 version ?
Regards.
--
Storm66 <storm66@club-internet.fr>
N/A
Reply to: