I got the impression from libgcc.S that copy_data wouldn't exist if
it wasn't needed, but I finally found in avr_file_start:
/* FIXME: output these only if there is anything in the .data / .bss
sections - some code size could be saved by not linking in the
initialization code from libgcc if one or both sections are empty. */
fputs ("\t.global __do_copy_data\n", asm_out_file);
fputs ("\t.global __do_clear_bss\n", asm_out_file);
I don't know gcc internals, so is this just not visible from
avr_file_start, or just not yet done? If someone gives me a hint I'll
look into it.