I'm working on a project with the ATtiny861, using version 4.17 of AVR studio (build 666), with AVRGCC. When my program reaches over 4K in the flash size, I get a "relocation truncated to fit: R_AVR_13_PCREL against "˜no symbol'" message.
From what I can tell, AVR studio thinks the Atiny861 is a 4K part, it is an 8K part. If you go to Project -> Configuration Options and the click Memory Settings, you'll see the flash size is 0x1000 (4K). I assume AVR studio is getting this number from some file, but I have not been able to find the file. Maybe this is an AVRGCC issue. Any ideas about how to change the flash size to 0x2000?