In the FAQ of Avr-libc at the entry: "How to add a raw binary image to linker output?" is an example of how to add binary. The documentation tells there are two symbols generated:
This will create a file named foo.o, with the contents of foo.bin. The contents will default to section .data, and two symbols will be created named _binary_foo_bin_start_ and _binary_foo_bin_end_. These symbols can be referred to inside a C source to access these data.
I used used this functionality and tried to use the symbols. The linker gave a warning it couldn't find the symbols. When looking at the .o file it seems the symbol names are:
Note the missing underscore at the end. I'm not really an avr-objcopy expert, to say at least, but it seems to me the documentation in the FAQ is not correct.
I'm using WinAVR 20070525 and avr-objcopy version: 'GNU objcopy 2.17 + coff-avr-patch (20050630)'
If it's indeed wrong, is there a place to post a bug report?