update binutils autoconf scripts, too
[openwrt-10.03/.git] / toolchain / binutils / patches / 2.17 / 503-avr32-fix-got-offset-init.patch
1 Index: binutils-2.17/bfd/elf32-avr32.c
2 ===================================================================
3 --- binutils-2.17.orig/bfd/elf32-avr32.c        2007-06-28 09:19:38.682355840 +0200
4 +++ binutils-2.17/bfd/elf32-avr32.c     2007-06-28 09:19:38.869327416 +0200
5 @@ -395,6 +395,8 @@
6    /* Prevent the BFD core from creating bogus got_entry pointers */
7    ret->root.init_got_refcount.glist = NULL;
8    ret->root.init_plt_refcount.glist = NULL;
9 +  ret->root.init_got_offset.glist = NULL;
10 +  ret->root.init_plt_offset.glist = NULL;
11  
12    return &ret->root.root;
13  }