aboutsummaryrefslogtreecommitdiff
path: root/patches/binutils/2.25.1
Commit message (Collapse)AuthorAgeFilesLines
* binutils: fix .init/.fini literals moving in xtensa gasMax Filippov2016-02-181-0/+149
| | | | | | | | | | | | 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 <jcmvbkbc@gmail.com>
* binutils: fix .loc handling in xtensa gasMax Filippov2016-02-061-0/+98
| | | | | | | | | | 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 <jcmvbkbc@gmail.com>
* patches/binutils: wcsncasecmp is provided by OSX >= 10.7Kasumi Hanazuki2016-01-241-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 <kasumi@rollingapple.net>
* patches/binutils: Sync patches with buildrootBryan Hundven2016-01-032-0/+313
| | | | | | | | 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 <bryanhundven@gmail.com>
* binutils: add patch that fixes mac os x gold buildBryan Hundven2015-11-261-0/+26
| | | | | | https://sourceware.org/bugzilla/show_bug.cgi?id=19281 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* darwin-host: Three build fixes for binutils 2.25{,.1}Ray Donnelly2015-11-222-0/+88
| | | | | | | | | 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>
* Merge pull request #253 from jcmvbkbc/xtensa-for-mainline-20151113Bryan Hundven2015-11-139-0/+3077
|\ | | | | Add support for Xtensa architecture
| * binutils: add xtensa-specific patches for 2.25.1Max Filippov2015-11-139-0/+3077
| | | | | | | | Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
* | file modes: Set files to be non-executableBryan Hundven2015-11-122-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>
* MinGW-w64: winpthreads doesn't have pthread_mutexattr_settypeRay Donnelly2015-11-131-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>
* binutils: Don't link to libfl as it's unnecessaryRay Donnelly2015-11-131-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>
* binutils: Fix typoRay Donnelly2015-11-131-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>
* gcc: Support only the latest branch releases of gccBryan Hundven2015-10-311-536/+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>
* Adding patches for binutils version 2.25.1 as copy of 2.25.Jasmin Jessich2015-09-014-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>