aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/binutils/binutils-2.17/503-avr32-fix-got-offset-init.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/binutils/binutils-2.17/503-avr32-fix-got-offset-init.patch')
-rw-r--r--recipes/binutils/binutils-2.17/503-avr32-fix-got-offset-init.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/binutils/binutils-2.17/503-avr32-fix-got-offset-init.patch b/recipes/binutils/binutils-2.17/503-avr32-fix-got-offset-init.patch
new file mode 100644
index 0000000000..66add3a47b
--- /dev/null
+++ b/recipes/binutils/binutils-2.17/503-avr32-fix-got-offset-init.patch
@@ -0,0 +1,12 @@
+stelios@Athena:~/proj/oplinux-0.2/org.openembedded.dev/packages/binutils$ cat binutils-2.17/503-avr32-fix-got-offset-init.patch
+--- a/bfd/elf32-avr32.c 2007-05-31 17:00:13.000000000 +0200
++++ b/bfd/elf32-avr32.c 2007-05-30 14:07:25.000000000 +0200
+@@ -395,6 +395,8 @@ avr32_elf_link_hash_table_create(bfd *ab
+ /* 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;
+ } \ No newline at end of file