>'relocs' field is updated in elflink.c:_bfd_elf_link_read_relocs
function.
>In my case, for few sections 'relocs' field is not updated.
Test case:
//avr-gcc main.c -mrelax -ffunction-sections -mmcu=atmega128
// using binutils-2.22
void func2(int a)
{
}
void func1(void)
{
func2(10);
}
int main(void)
{
func1();
}
Thanks,
Pitchumani.S