1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-13 00:29:42 +02:00
openwrt-xburst/toolchain/binutils/patches/2.17/503-avr32-fix-got-offset-init.patch

14 lines
553 B
Diff
Raw Normal View History

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;
}