summaryrefslogtreecommitdiff
path: root/patches/binutils
AgeCommit message (Collapse)AuthorFilesLines
2015-11-26binutils: add patch that fixes mac os x gold buildBryan Hundven1-0/+26
https://sourceware.org/bugzilla/show_bug.cgi?id=19281 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
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 binary.cc 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 <mingw.android@gmail.com>
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 configure.in was executable. Then I noticed Makefile.in 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 <bryanhundven@gmail.com>
2015-11-13binutils: add xtensa-specific patches for 2.25.1Max Filippov9-0/+3077
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
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 <mingw.android@gmail.com>
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: https://www.cygwin.com/ml/cygwin/2015-10/msg00433.html Arguably I should remove all traces of LIBLEX in each Makefile.am instead? Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
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 <mingw.android@gmail.com>
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 https://gcc.gnu.org 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 <bryanhundven@gmail.com>
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 <jasmin@anw.at>
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 <nunes.erico@gmail.com>
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 <bryanhundven@gmail.com>
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 <bryanhundven@gmail.com> 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 <titus@v9g.de> 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 http://sourceware.org/bugzilla/show_bug.cgi?id=14189 for more information. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
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" <benoit.thebaudeau@advansee.com>
2011-09-11binutils/binutils: add latest versionYann E. MORIN"4-0/+111
Add patches used by buildroot. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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; http://sourceware.org/ml/binutils/2011-08/msg00198.html Although legacy symlinks have been put in place, we should now use the new, real version strings. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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; http://sourceware.org/ml/binutils/2011-08/msg00198.html 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" <yann.morin.1998@anciens.enib.fr>
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: http://sourceware.org/ml/crossgcc/2010-08/msg00192.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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: http://sourceware.org/ml/crossgcc/2010-08/msg00115.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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: http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/binutils/binutils-2.20 Tried and tested on Arm (big-endian Xscale, and little-endian i.MX27) with GCC 4.4.2 Signed-off-by: Joachim Nilsson <jocke@vmlinux.org>
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 <fr.frasc@gmail.com>
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-2.18.50.0.4 patches.Yann E. MORIN"4-21/+41
Breakage spotted by "Sander Visser" <Sander.Visser@evidente.se> /trunk/patches/binutils/2.18.50.0.4/110-ld-makefile-path.patch | 19 12 7 0 ++++++--- /trunk/patches/binutils/2.18.50.0.4/130-i386-no-divide-comment.patch | 7 6 1 0 +++ /trunk/patches/binutils/2.18.50.0.4/100-arm-uclibcgnueabi.patch | 21 13 8 0 ++++++---- /trunk/patches/binutils/2.18.50.0.4/120-check-ldrunpath-length.patch | 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/binutils.in | 5 5 0 0 + 11 files changed, 480 insertions(+)
2008-09-22Add binutils-2.18.50.0.9.Yann 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/2.18.50.0.8/130-i386-no-divide-comment.patch | 64 64 0 0 ++++++++++ /trunk/patches/binutils/2.18.50.0.9/130-i386-no-divide-comment.patch | 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/2.18.50.0.4/130-i386-no-divide-comment.patch | 64 64 0 0 ++++++++++ /trunk/patches/binutils/2.18.50.0.6/130-i386-no-divide-comment.patch | 64 64 0 0 ++++++++++ /trunk/patches/binutils/2.18.50.0.7/130-i386-no-divide-comment.patch | 64 64 0 0 ++++++++++ /trunk/config/binutils.in | 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.
2008-07-14Add binutils-2.18.50.0.8 pathset, copied and rebased from 2.18.50.0.7.Yann E. MORIN"3-0/+69
/trunk/patches/binutils/2.18.50.0.8/200-ld-makefile-path.patch | 24 24 0 0 ++++++++++ /trunk/patches/binutils/2.18.50.0.8/100-arm-uclibcgnueabi.patch | 24 24 0 0 ++++++++++ /trunk/patches/binutils/2.18.50.0.8/300-check-ldrunpath-length.patch | 21 21 0 0 +++++++++ 3 files changed, 69 insertions(+)
2008-06-15Make binutils 2.17 recognise makeinfo 2.11 as being more recent than the ↵Yann E. MORIN"1-0/+16
required 2.4. /trunk/patches/binutils/2.17/120-makeinfo-version.patch | 16 0 16 0 ---------------- 1 file changed, 16 deletions(-)
2008-05-15Add latest binutils snapshot, and propagate patches from previous snapshot.Yann E. MORIN"3-0/+86
/trunk/config/binutils.in | 6 6 0 0 ++++++ 1 file changed, 6 insertions(+)
2008-05-02Remove some EXPERIMENTAL binutils versions, I do not have time to create ↵Yann E. MORIN"6-0/+172
associated patches. /trunk/patches/binutils/2.18.50.0.4/200-ld-makefile-path.patch | 30 30 0 0 ++++++++++ /trunk/patches/binutils/2.18.50.0.4/100-arm-uclibcgnueabi.patch | 30 30 0 0 ++++++++++ /trunk/patches/binutils/2.18.50.0.4/300-check-ldrunpath-length.patch | 26 26 0 0 +++++++++ /trunk/patches/binutils/2.18.50.0.6/200-ld-makefile-path.patch | 30 30 0 0 ++++++++++ /trunk/patches/binutils/2.18.50.0.6/100-arm-uclibcgnueabi.patch | 30 30 0 0 ++++++++++ /trunk/patches/binutils/2.18.50.0.6/300-check-ldrunpath-length.patch | 26 26 0 0 +++++++++ /trunk/config/binutils.in | 24 0 24 0 -------- 7 files changed, 172 insertions(+), 24 deletions(-)
2007-10-30New patch to binutils 2.18, from "Matvejchikov Ilya" ↵Yann E. MORIN"1-0/+32
<matvejchikov@gmail.com> (coming from buildroot). Fixes building with /old/ version of texinfo. Thanks!
2007-09-23Renamed all patches file names so that locales are now irrelevant to sort ↵Yann E. MORIN"33-616/+0
the files. Removed the locale check as it is now irrelevant. Removed the experimental binutils 2.17.50.0.xx: 2.18 is here now.
2007-08-14Do a clean-up pass on the OBSOLETE features (versions):Yann E. MORIN"26-2232/+0
- remove legions of those, - remove associated patches no longer needed, - mark then as (OBSOLETE) in the prompt;
2007-08-12Add experimental binutils-2.17.50.0.18, along with patches from previous ↵Yann E. MORIN"3-0/+69
snapshot.
2007-08-06Add patches for binutils-2.17.50.0.17 (vampirised from buildroot).Yann E. MORIN"3-0/+69
2007-05-01Merge patches sent by Robert P. J. Day <rpjday@mindspring.com>.Yann E. MORIN"4-0/+169
Warning: the buildroot folks purposedly removed the skip-comment patch but didn't really said why. Keeping it for the sake of having it in svn just in case (removing it will be easier thant not having it at all).
2007-05-01Vampirise patches for binutils 2.17 from buildroot.Yann E. MORIN"6-0/+263
2007-04-10Add patches for binutils 2.17.50.0.14.Yann E. MORIN"4-0/+218
Vampirised fron buildroot.
2007-02-24Add the full crosstool-NG sources to the new repository of its own.Yann E. MORIN"54-0/+5712
You might just say: 'Yeah! crosstool-NG's got its own repo!". Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup. That means I'm putting backups in place in the afternoon. That also means we've lost history... :-(