add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
[openwrt-10.03/.git] / toolchain / binutils / patches / 2.17 / 503-avr32-fix-got-offset-init.patch
1 --- a/bfd/elf32-avr32.c 2007-05-31 17:00:13.000000000 +0200
2 +++ b/bfd/elf32-avr32.c 2007-05-30 14:07:25.000000000 +0200
3 @@ -395,6 +395,8 @@ avr32_elf_link_hash_table_create(bfd *ab
4    /* Prevent the BFD core from creating bogus got_entry pointers */
5    ret->root.init_got_refcount.glist = NULL;
6    ret->root.init_plt_refcount.glist = NULL;
7 +  ret->root.init_got_offset.glist = NULL;
8 +  ret->root.init_plt_offset.glist = NULL;
9  
10    return &ret->root.root;
11  }