path: root/patches/binutils
AgeCommit message (Collapse)AuthorFilesLines
2017-07-08First stab at gen-versions.shAlexey Neyman99-13077/+0
Signed-off-by: Alexey Neyman <>
2017-03-12Fix library search paths on PowerPCAlexey Neyman5-0/+210
binutils 2.23 and earlier are not affected, they had the correct code. Signed-off-by: Alexey Neyman <>
2017-03-04Add binutils 2.28Alexey Neyman9-0/+612
Signed-off-by: Alexey Neyman <>
2017-02-12Backport mutextattr typo fix to 2.24 and 2.23.2Alexey Neyman2-0/+28
Signed-off-by: Alexey Neyman <>
2017-01-26Add binutils 2.27 patchAlexey Neyman1-0/+30 Reported-by: Floessie Signed-off-by: Alexey Neyman <>
2017-01-11Fix xtensa after binutils upgrade.Alexey Neyman1-0/+33
Patch from: Signed-off-by: Alexey Neyman <>
2017-01-06Bump binutils to 2.27Alastair D'Silva9-0/+612
Signed-off-by: Alastair D'Silva <>
2016-02-17binutils: fix .init/.fini literals moving in xtensa gasMax Filippov4-0/+439
Despite the documentation and the comment in xtensa_move_literals, in the presence of --text-section-literals and --auto-litpools literals are moved from the separate literal sections into .init and .fini, because the check in the xtensa_move_literals is incorrect. This fixes build errors seen with projects that have .init/.fini and use text-section-literals. Signed-off-by: Max Filippov <>
2016-02-05binutils: fix .loc handling in xtensa gasMax Filippov4-0/+290
Binutils change 1058c7532d0b "Use signed data type for R_XTENSA_DIFF* relocation offsets." changed signedness of BFD_RELOC_XTENSA_DIFF* relocations substituted for BFD_RELOC_*. This made it impossible to encode arbitrary 8-, 16- and 32-bit values, which broke e.g. debug info encoding by .loc directive. Revert this part and add test. Signed-off-by: Max Filippov <>
2016-02-05binutils: Update patches for binutils-2.26Bryan Hundven10-0/+626
This updates patches for 2.26. Most notably, the removal of the xtensa patches which seem to be upstream in binutils now. Signed-off-by: Bryan Hundven <>
2016-01-24patches/binutils: wcsncasecmp is provided by OSX >= 10.7Kasumi Hanazuki1-1/+1
OSX SDK has a declaration for `wcsncasecmp` since 10.7, which conflicts with the definition provided by the patch for binutils. Signed-off-by: Kasumi Fukuda <>
2016-01-03patches/binutils: Sync patches with buildrootBryan Hundven33-0/+6722
The buildroot patches have xtensa for the supported versions of binutils we use, and a few others that might help us keep away from host polution. Signed-off-by: Bryan Hundven <>
2016-01-03patches/binutils: Remove old patches for binutilsBryan Hundven65-3365/+0
Since we removed older binutils versions, remove patches as well. Signed-off-by: Bryan Hundven <>
2015-11-26binutils: add patch that fixes mac os x gold buildBryan Hundven1-0/+26 Signed-off-by: Bryan Hundven <>
2015-11-22darwin-host: Three build fixes for binutils 2.25{,.1}Ray Donnelly4-0/+176
1. Need to include <string> not <cstring> in gold's 2. wcsncasecmp isn't always defined in Mac SDK 3. PTHREAD_ONCE_INIT is {0x30B1BCBA, {0}}, so can't be trivially assigned in an intializer list. Signed-off-by: Ray Donnelly <>
2015-11-13Merge pull request #253 from jcmvbkbc/xtensa-for-mainline-20151113Bryan Hundven9-0/+3077
Add support for Xtensa architecture
2015-11-13file modes: Set files to be non-executableBryan Hundven2-0/+0
I was going to start doing some autoconf work, and noticed that was executable. Then I noticed was executable. o.O So, I ran ```find . -type f -executable``` and found a bunch of files that shouldn't be set executable. This commit makes them normal files again. Signed-off-by: Bryan Hundven <>
2015-11-13binutils: add xtensa-specific patches for 2.25.1Max Filippov9-0/+3077
Signed-off-by: Max Filippov <>
2015-11-13MinGW-w64: winpthreads doesn't have pthread_mutexattr_settypeRay Donnelly1-0/+11
It's only used as a hint, so excluding it shouldn't cause any problems. Signed-off-by: Ray Donnelly <>
2015-11-13binutils: Don't link to libfl as it's unnecessaryRay Donnelly1-0/+102
AM_PROG_LEX sets this for some weird reason; it should look for a program only and not a library. Then later it gets linked to ar, ranlib, dlltool, windres, windmc and itbl-test despite nothing in the code #include'ing FlexLexer.h This isn't a big deal but it did cause a build failure on Cygwin as it triggered a bug with their flex package dependencies which I reported at: Arguably I should remove all traces of LIBLEX in each instead? Signed-off-by: Ray Donnelly <>
2015-11-13binutils: Fix typoRay Donnelly1-0/+14
pthread_mutextattr_settype -> pthread_mutexattr_settype .. I'm not sure why this didn't fail everywhere, unless no one has tried to build gold? Signed-off-by: Ray Donnelly <>
2015-10-31gcc: Support only the latest branch releases of gccBryan Hundven3-53819/+0
This change, as per #222, reduces the number of supported releases of gcc to the latest branch releases. I noticed while doing this work that gcc-4.5.4 was never added, so I moved patches for gcc-4.5.3 to 4.5.4 and updated the bfin-unknown-linux-uclibc example. Also, 120-siginfo.patch was fixed upstream in the 4.5.4 release, so this patch is omitted. I also bumped the avr sample to 4.9.3 from 4.9.2. With the addition of gcc-5.x, the gcc release team now releases the major.minor.0 versions, while updates to the branch are available in svn/git. We'll address that when we get to issue #219. This change just removes CC_GCC_5_1 and moves CC_GCC_5_2 to CC_GCC_5, and removes CC_GCC_5_1_or_later and moves CC_GCC_5_2_or_later to CC_GCC_5_or_later. This is the first of two part changes, as mentioned in #222. This change is slated for release in 1.22.0. The next change will be slated for 1.23.0, and will limit gcc versions to what is on under "Release Series and Status", which is currently 4.9.3 and 5.2.0, although I will also support the previous supported version. In this example that would be 4.8.5. Last, but not least, this change also retires AVR32 support. Signed-off-by: Bryan Hundven <>
2015-09-01Adding patches for binutils version 2.25.1 as copy of 2.25.Jasmin Jessich4-0/+617
Support binutils 2.25.1 in configuration. Note: The patches do apply, but I didn't check the resulting tools. Signed-off-by: Jasmin Jessich <>
2015-06-21binutils: patch to support -C for AVR memory usageErico Nunes1-0/+536
Distribution avr toolchains commonly add a patch to binutils' size to enable a custom "-C" option that shows AVR memory usage. This patch is specific to the AVR architecture. In order to make the crosstool-ng AVR toolchain compatible with existing distribution toolchains, this patch is necessary. Signed-off-by: Erico Nunes <>
2015-03-15Do not use strlen to check that a string is emptyRomain1-1/+1
Here, the exact size of a not empty string is useless.
2015-01-02binutils: Add binutils-2.25Bryan Hundven3-0/+81
This also updates the patches from 2.24. Signed-off-by: Bryan Hundven <>
2014-02-22patches/binutils: Update patches from 2.22 to 2.24Bryan Hundven3-0/+76
This updates the patches in 2.22 to 2.24. Some removed as they were applied upstream. Signed-off-by: Bryan Hundven <> Message-Id: <9fb77800ae1d5f14cbf5.1393055637@Bryans-MacBook-Pro.local> Patchwork-Id: 323130
2012-11-06binutils/binutils: do not fwd declare struct stat (2.22).Titus von Boxberg1-0/+42
For canadian cross to host i686-mingw32 fwd declaring struct stat is not possible. Instead #include <sys/stat.h> Signed-off-by: Titus von Boxberg <> Message-Id: <417a15d4277913841ddd.1353100974@tschetwerikow.boxberg.lan> Patchwork-Id: 199733
2012-09-19binutils/binutils: backport upstream fix for binutils 2.22 ld bug 14189Florian Fainelli1-0/+12
See for more information. Signed-off-by: Florian Fainelli <>
2011-12-14binutils/binutils: add the patches used by BuildRoot for 2.22Benoît Thébaudeau"4-0/+148
Signed-off-by: "Benoît Thébaudeau" <>
2011-09-11binutils/binutils: add latest versionYann E. MORIN"4-0/+111
Add patches used by buildroot. Signed-off-by: "Yann E. MORIN" <>
2011-09-11binutils/binutils: fixup version stringsYann E. MORIN"51-0/+0
Recently, all binutils versions have been renamed after a GPL compliance issue was found and fixed in binutils; Although legacy symlinks have been put in place, we should now use the new, real version strings. Signed-off-by: "Yann E. MORIN" <>
2011-09-11binutils/binutils: fixup version stringsYann E. MORIN"29-1236/+0
Recently, all binutils versions have been renamed after a GPL compliance issue was found and fixed in binutils; Old versions are no-longer available since the rename (eg. 2.19 has been superseeded by 2.19.1, and only 2.19.1a was regenerated). Remove now-missing versions. Signed-off-by: "Yann E. MORIN" <>
2010-08-31binutils/binutils: remove faulty patchYann E. MORIN"2-23/+0
The added code should be conditinal to the target system being !MIPS, but is based on the host system being !MIPS. This is plain wrong, and had not been noticed until now as I never used those binutils versions on MIPS. See: Signed-off-by: "Yann E. MORIN" <>
2010-08-17binutils/binutils: forward-port the patchset from 2.20 to 2.20.1Yann E. MORIN"19-0/+807
Among other things, this should fix the issue reported by Thomas at: Signed-off-by: "Yann E. MORIN" <>
2010-02-21binutils/binutils: add patch to default emulation for mips64Zhuang Yuyao2-0/+36
2010-01-07binutils/binultils: import binutils-2.20 patches from OEJoachim Nilsson6-0/+227
This is a set of patches for binutils-2.20 that have been "ported", or rather shamelessly stolen, from the OpenEmbedded project: Tried and tested on Arm (big-endian Xscale, and little-endian i.MX27) with GCC 4.4.2 Signed-off-by: Joachim Nilsson <>
2009-11-11patches/binutils/2.20: make patches appliableFrederic Roussel7-30/+23
Fix filenames in patch files for binutils-2.20. Some patch files were only usable with patch argument '-p0'. Fix the diff context to match 2.20 release. Signed-off-by: Frederic Roussel <>
2009-10-27config/binutils: add latest version 2.20Yann E. MORIN"14-0/+547
Also add patchset vampirised from Gentoo.
2009-10-27config/binutils: remove obsolete experimental versionsYann E. MORIN"20-736/+0
2009-10-28config: rip-out versions marked as OBSOLETEYann E. MORIN"20-2395/+0
2009-05-22Added initial AVR32 support (bare-metal,newlib)Martin Lund"1-0/+52747
2009-03-08Add binutils-2.19.1 patchset, propagated from the 2.19 patchset.Yann E. MORIN"9-0/+504
/trunk/patches/binutils/2.19.1/120-sh-targets.patch | 57 57 0 0 +++ /trunk/patches/binutils/2.19.1/170-use-relro.patch | 19 19 0 0 + /trunk/patches/binutils/2.19.1/160-use-new-ld-dtags.patch | 19 19 0 0 + /trunk/patches/binutils/2.19.1/180-libiberty-pic.patch | 19 19 0 0 + /trunk/patches/binutils/2.19.1/100-ppc64-pie.patch | 25 25 0 0 + /trunk/patches/binutils/2.19.1/110-RPATH_ENVVAR-smack.patch | 22 22 0 0 + /trunk/patches/binutils/2.19.1/140-pt-pax-flags-20081101.patch | 254 254 0 0 +++++++++++++++ /trunk/patches/binutils/2.19.1/150-warn-textrel.patch | 53 53 0 0 +++ /trunk/patches/binutils/2.19.1/130-check_ldrunpath_length.patch | 36 36 0 0 ++ 9 files changed, 504 insertions(+)
2009-03-07Re-diff the binutils- patches.Yann E. MORIN"4-21/+41
Breakage spotted by "Sander Visser" <> /trunk/patches/binutils/ | 19 12 7 0 ++++++--- /trunk/patches/binutils/ | 7 6 1 0 +++ /trunk/patches/binutils/ | 21 13 8 0 ++++++---- /trunk/patches/binutils/ | 15 10 5 0 +++++-- 4 files changed, 41 insertions(+), 21 deletions(-)
2008-11-24Remove a patch for binutils-2.19 that makes the cross MIPS case fail.Yann E. MORIN"3-16/+0
- it is not necessary to use the gnu_hash section by default. - renumber following patches /trunk/patches/binutils/2.19/170-use-relro.patch | 14 14 0 0 ++++++++++++++ /trunk/patches/binutils/2.19/180-libiberty-pic.patch | 14 14 0 0 ++++++++++++++ 2 files changed, 28 insertions(+)
2008-11-23Add binutils-2.19 and associated patchset (vampirised from Gentoo).Yann E. MORIN"10-0/+475
/trunk/patches/binutils/2.19/120-sh-targets.patch | 52 52 0 0 ++++ /trunk/patches/binutils/2.19/180-use-relro.patch | 14 14 0 0 + /trunk/patches/binutils/2.19/160-use-new-ld-dtags.patch | 14 14 0 0 + /trunk/patches/binutils/2.19/100-ppc64-pie.patch | 20 20 0 0 + /trunk/patches/binutils/2.19/190-libiberty-pic.patch | 14 14 0 0 + /trunk/patches/binutils/2.19/170-generate-gnu-hash.patch | 16 16 0 0 + /trunk/patches/binutils/2.19/110-RPATH_ENVVAR-smack.patch | 17 17 0 0 + /trunk/patches/binutils/2.19/140-pt-pax-flags-20081101.patch | 249 249 0 0 +++++++++++++++++ /trunk/patches/binutils/2.19/150-warn-textrel.patch | 48 48 0 0 +++ /trunk/patches/binutils/2.19/130-check_ldrunpath_length.patch | 31 31 0 0 ++ /trunk/config/ | 5 5 0 0 + 11 files changed, 480 insertions(+)
2008-09-22Add binutils- E. MORIN"13-0/+633
Add a patch to binutils to not use '/' as a comment separator on i386 assembly when targeting bare metal (breaks linux kernel build). /trunk/patches/binutils/ | 64 64 0 0 ++++++++++ /trunk/patches/binutils/ | 64 64 0 0 ++++++++++ /trunk/patches/binutils/2.14/110-i386-no-divide-comment.patch | 38 38 0 0 ++++++ /trunk/patches/binutils/2.14/270-i386-no-divide-comment.patch | 38 38 0 0 ++++++ /trunk/patches/binutils/2.16.1/160-i386-no-divide-comment.patch | 40 40 0 0 ++++++ /trunk/patches/binutils/2.17/210-i386-no-divide-comment.patch | 64 64 0 0 ++++++++++ /trunk/patches/binutils/2.18/120-i386-no-divide-comment.patch | 64 64 0 0 ++++++++++ /trunk/patches/binutils/ | 64 64 0 0 ++++++++++ /trunk/patches/binutils/ | 64 64 0 0 ++++++++++ /trunk/patches/binutils/ | 64 64 0 0 ++++++++++ /trunk/config/ | 6 6 0 0 + 11 files changed, 570 insertions(+)
2008-08-25Allow binutils-2.18 to use a shell other than bash when building.Yann E. MORIN"1-0/+20
2008-07-28Fourth step at renaming patches: renumber all patches with a 10-step.Yann E. MORIN"33-0/+0
2008-07-28REname binutils patches to not include 'binutils' nor the version in the ↵Yann E. MORIN"16-0/+0
patch names.