diff options
author | Koen Kooi <koen@openembedded.org> | 2007-08-12 09:14:13 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-08-12 09:14:13 +0000 |
commit | 7e541bf1f5abaad0105328e57198a05f8c17f242 (patch) | |
tree | 7a04efcbe680a18ab83e6d07b410298e11263c7f /packages | |
parent | fda68a217e595dc73c7d6da6f949c7e0d62ad210 (diff) |
binutils 2.17: improve avr32 support
Diffstat (limited to 'packages')
-rw-r--r-- | packages/binutils/binutils-2.17/503-avr32-fix-got-offset-init.patch | 12 | ||||
-rw-r--r-- | packages/binutils/binutils_2.17.bb | 3 |
2 files changed, 14 insertions, 1 deletions
diff --git a/packages/binutils/binutils-2.17/503-avr32-fix-got-offset-init.patch b/packages/binutils/binutils-2.17/503-avr32-fix-got-offset-init.patch new file mode 100644 index 0000000000..66add3a47b --- /dev/null +++ b/packages/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 diff --git a/packages/binutils/binutils_2.17.bb b/packages/binutils/binutils_2.17.bb index 8d38f3a459..69e11497c2 100644 --- a/packages/binutils/binutils_2.17.bb +++ b/packages/binutils/binutils_2.17.bb @@ -1,6 +1,6 @@ require binutils.inc -PR = "r1" +PR = "r2" SRC_URI = \ "http://ftp.gnu.org/gnu/binutils/binutils-${PV}.tar.bz2 \ @@ -21,6 +21,7 @@ SRC_URI += "\ 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 |