ld: builtin.o: RRS text relocation at 0x712c for "_cos" Sounds like your m68k/asm.h didn't have the .type directive in ENTRY() when you compiled libm. ------------------------------------------------------------------------------