summaryrefslogtreecommitdiff
path: root/packages/binutils
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-10-07 09:13:26 +0000
committerKoen Kooi <koen@openembedded.org>2007-10-07 09:13:26 +0000
commitd6fd6d24ea9cef7d661bed9424f54a7719bea5dc (patch)
tree53b4312019771dd2586fd4349cde67c12689b5e8 /packages/binutils
parent950f437e524e56366b8e811acb729fb20d7d23f7 (diff)
parentf2253ce9643943256c0cfe4f73c662a11c1792ca (diff)
propagate from branch 'org.openembedded.dev' (head 23aeaf6386edeac3312ef7bf65975595704646cb)
to branch 'org.openembedded.dev.avr32' (head 60ed8ee80ed7d3ce9fd1d319931577988ff07968)
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