summaryrefslogtreecommitdiff
path: root/packages/binutils
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-09-19 11:32:35 +0000
committerKoen Kooi <koen@openembedded.org>2007-09-19 11:32:35 +0000
commitb2b667e89381c5bee23b9a6e96ccd7f04a15fd1b (patch)
tree320f60bb9ab4410501ef6bff7a9acc2d7f51e04e /packages/binutils
parent7006d4aac3bf1eef960d032965ae18f88c4acdfc (diff)
parent85693efa33378405956ca83c7b24d45f5138d223 (diff)
propagate from branch 'org.openembedded.dev' (head 0ba4bbe5ebdf7f3598dd1890a61d14cd356eab54)
to branch 'org.openembedded.dev.avr32' (head d4fef411c5337e77b35acf5e2a06ffb56d059326)
Diffstat (limited to 'packages/binutils')
-rw-r--r--packages/binutils/binutils-2.17/503-avr32-fix-got-offset-init.patch12
-rw-r--r--packages/binutils/binutils_2.17.bb3
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