Late home today due to a train drivers strike in Southern England. 2 hours to get home from work :-(
This seems to be the cause of the problems.
Error: Unknown pseudo-op: `.section'
Confirmed that m68k-amigaos-as does not support .section
Example:
Code:
paul@debian:cd ~/source/gcc6.2/amigaos-cross-toolchain/submodules/libnix/sources/stubs/stubs
/opt/m68k-amigaos/bin/m68k-amigaos-gcc __dtor_list__.c
/tmp/cctMPpYM.s: Assembler messages:
/tmp/cctMPpYM.s:3: Error: Unknown pseudo-op: `.section'
/opt/m68k-amigaos/bin/m68k-amigaos-gcc -S __dtor_list__.c
cat __dtor_list__.s
#NO_APP
.globl ___DTOR_LIST__
.section .bss
.align 2
___DTOR_LIST__:
.skip 8
I will try to investigate some more tomorrow.
Thanks for the great work Bebbo, we appreciate it :-)