aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/patches/2.17/503-avr32-fix-got-offset-init.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2007-06-08 10:44:01 +0000
committerImre Kaloz <kaloz@openwrt.org>2007-06-08 10:44:01 +0000
commit08c72656130891389229ca29e455e08bc735ce1f (patch)
treef32a71704a40c818fa3ea64efa0aefefc4196a8b /toolchain/binutils/patches/2.17/503-avr32-fix-got-offset-init.patch
parent6fb68cb589d76499f5da5902dd83c87722a228f5 (diff)
downloadupstream-08c72656130891389229ca29e455e08bc735ce1f.tar.gz
upstream-08c72656130891389229ca29e455e08bc735ce1f.tar.bz2
upstream-08c72656130891389229ca29e455e08bc735ce1f.zip
add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
SVN-Revision: 7533
Diffstat (limited to 'toolchain/binutils/patches/2.17/503-avr32-fix-got-offset-init.patch')
-rw-r--r--toolchain/binutils/patches/2.17/503-avr32-fix-got-offset-init.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.17/503-avr32-fix-got-offset-init.patch b/toolchain/binutils/patches/2.17/503-avr32-fix-got-offset-init.patch
new file mode 100644
index 0000000000..d39492cdc5
--- /dev/null
+++ b/toolchain/binutils/patches/2.17/503-avr32-fix-got-offset-init.patch
@@ -0,0 +1,11 @@
+--- 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;
+ }