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