--- /dev/null
+stelios@Athena:~/proj/oplinux-0.2/org.openembedded.dev/packages/binutils$ cat binutils-2.17/503-avr32-fix-got-offset-init.patch \r
+--- a/bfd/elf32-avr32.c 2007-05-31 17:00:13.000000000 +0200\r
++++ b/bfd/elf32-avr32.c 2007-05-30 14:07:25.000000000 +0200\r
+@@ -395,6 +395,8 @@ avr32_elf_link_hash_table_create(bfd *ab\r
+ /* Prevent the BFD core from creating bogus got_entry pointers */\r
+ ret->root.init_got_refcount.glist = NULL;\r
+ ret->root.init_plt_refcount.glist = NULL;\r
++ ret->root.init_got_offset.glist = NULL;\r
++ ret->root.init_plt_offset.glist = NULL;\r
+ \r
+ return &ret->root.root;\r
+ }
\ No newline at end of file
require binutils.inc
-PR = "r1"
+PR = "r2"
SRC_URI = \
"http://ftp.gnu.org/gnu/binutils/binutils-${PV}.tar.bz2 \
http://avr32linux.org/twiki/pub/Main/DevelopmentTools/500-avr32.patch.gz;patch=1 \
http://avr32linux.org/twiki/pub/Main/DevelopmentTools/501-avr32-sreldyn-fix.patch.gz;patch=1 \
http://avr32linux.org/twiki/pub/Main/DevelopmentTools/502-avr32-bfd-dont-allow-direct-refs-to-bss.patch.gz;patch=1 \
+ file://503-avr32-fix-got-offset-init.patch;patch=1 \
"
# Zecke's OSX fixes