My main() never return/exit, it's declared as:
void main(void) __attribute__ ((OS_main)) __attribute__ ((noreturn));
which produce the smaller code, however I noticed that in the .lss it still does a call to main then a jmp to _exit that fallback to __stop_program which loops on itself.
How can I remove those .finiN sections? Do I have to modify the .x linker file? Can I do it with some __attribute__? I know it's only about 8 bytes but if it's possible, I'd like to know how :?
Any input from the pro?