diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-07-09 19:38:22 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-07-09 19:38:22 +0200 |
commit | a0a0744e60753fbe0f2411c544d61baaa1c3ee70 (patch) | |
tree | c4eb98984a7d5eddb9d30c71ba92880dd05e61a2 /toolchain/binutils/patches | |
parent | 3967ea73d8a1f4766809225a26fac00a88dd0b49 (diff) |
add small patch to allow compile for crisv10, remove binutils 2.22
Diffstat (limited to 'toolchain/binutils/patches')
-rw-r--r-- | toolchain/binutils/patches/2.26.1/crisv10.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.26.1/crisv10.patch b/toolchain/binutils/patches/2.26.1/crisv10.patch new file mode 100644 index 000000000..c7680138a --- /dev/null +++ b/toolchain/binutils/patches/2.26.1/crisv10.patch @@ -0,0 +1,14 @@ +diff -Nur binutils-2.26.1.orig/bfd/elf32-cris.c binutils-2.26.1/bfd/elf32-cris.c +--- binutils-2.26.1.orig/bfd/elf32-cris.c 2015-11-13 09:27:40.000000000 +0100 ++++ binutils-2.26.1/bfd/elf32-cris.c 2016-07-09 19:19:49.305293884 +0200 +@@ -2728,8 +2728,8 @@ + + /* A GOTPLT reloc, when activated, is supposed to be included into + the PLT refcount. */ +- BFD_ASSERT (h->gotplt_refcount == 0 +- || h->gotplt_refcount <= h->root.plt.refcount); ++ /* BFD_ASSERT (h->gotplt_refcount == 0 ++ || h->gotplt_refcount <= h->root.plt.refcount); */ + + /* If nobody wanted a GOTPLT with this symbol, we're done. */ + if (h->gotplt_refcount <= 0) |