#17664 - bogston - Fri Mar 12, 2004 2:24 am
This is from linux.gbadev.org:
binutils-2.11.2.tar.bz2
assembler, linker, objcopy, other goodies...
(versions newer than this create overlap errors with crt0.o?)
(some of them complain about --mcpu=arm7tdmi with certain versions of gcc! I am experimenting)
GCC 3.3.2 introduced to sections: .init and .fini. The source of these sections is gcc.3.3.2/gcc/config/arm/crti.asm and crtn.asm. Neither section is defined in Jeff Frohwein's lnkscript. If I define these sections in lnkscript, GCC 3.3.2 compiles and links linux.gbadev.org/test.tar.gz without errors although the binary does not appear to execute properly in VisualBoyAdvanced. (I don't see the dot.)
Now, I have no idea how to properly define these sections in lnkscript. I have made several attempts. Does anyone have any ideas how to modify lnkscript or if lnkscript is even the source of the overlapping section errors?
binutils-2.11.2.tar.bz2
assembler, linker, objcopy, other goodies...
(versions newer than this create overlap errors with crt0.o?)
(some of them complain about --mcpu=arm7tdmi with certain versions of gcc! I am experimenting)
GCC 3.3.2 introduced to sections: .init and .fini. The source of these sections is gcc.3.3.2/gcc/config/arm/crti.asm and crtn.asm. Neither section is defined in Jeff Frohwein's lnkscript. If I define these sections in lnkscript, GCC 3.3.2 compiles and links linux.gbadev.org/test.tar.gz without errors although the binary does not appear to execute properly in VisualBoyAdvanced. (I don't see the dot.)
Now, I have no idea how to properly define these sections in lnkscript. I have made several attempts. Does anyone have any ideas how to modify lnkscript or if lnkscript is even the source of the overlapping section errors?