summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-02-26configure: Check to see if gcc can static linkBryan Hundven1-0/+13
This is a semi-nasty-hack to see if gcc can static link. Obviously on Mac OS X this is not possible, so we set CT_CONFIGURE_has_static_link=y if it can. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-26Merge pull request #353 from bhundven/glibc_cleanupBryan Hundven2-197/+35
Glibc cleanup
2016-02-25Merge pull request #354 from westermo/upgrade-gdbBryan Hundven5-0/+120
gdb: Add support for v7.11, port patches from v7.10.1 that apply
2016-02-25gdb: Help gnulib determine uClibc gettimeofday() is OKJoachim Nilsson1-0/+20
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-02-24gdb: Add support for v7.11, port patches from v7.10.1 that applyJoachim Nilsson4-0/+100
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-02-24glibc: Mirror extra_config flags from do_libc_backend_onceBryan Hundven1-0/+1
In do_libc_backend_once: ``` # Also, if those two are missing, iconv build breaks extra_config+=( --disable-debug --disable-sanity-checks ) ``` But in do_libc_locales we only add ```--disable-debug```. This change adds ```--disable-sanity-checks``` to do_libc_locales to mirror this, as I've seen iconv break this way. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-24glibc: remove do_libc_locales_extract; it's emptyBryan Hundven1-10/+0
No point in calling an empty function. Must be left over from the glibc/eglibc split up... then re-merge. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-24glibc: Remove support for downloading and extracting add-onsBryan Hundven1-67/+0
Since external add-ons were removed in 2.17, and we only support >= 2.18, this support is no longer needed. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-24glibc: reformat glibc build scriptBryan Hundven1-66/+64
Move crosstool-ng hook functions to be in the normal locations. This commit has no functional changes. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-24glibc: Clean out old glibc versionsBryan Hundven1-86/+2
We now only support glibc >=2.18 This now enables us to clean up glibc support! Also, add a comment about glibc 2.20 as the point which glibc no longer supports not building with pthread. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-24Merge pull request #350 from dajamminyogesh/masterBryan Hundven1-20/+20
kernel: Update kernel versions
2016-02-24kernel: Updated kernel revisionsYogesh Sharma1-20/+20
Kernel revisions updated to match kernel.org. Update includes removal of 4.2.x kernel (since it was EOL), addition of 4.4.x kernel, and marking of 4.3.x as EOL. Signed-off-by: Yogesh Sharma <YogeshASharma@gmail.com>
2016-02-23Merge pull request #348 from bhundven/update_glibcBryan Hundven2-0/+19
Update glibc
2016-02-23glibc: port glibc patch from 2.22 to 2.23Bryan Hundven1-0/+13
Only one patch ported forward from 2.22: * 100-Cygwin-doesnt-have-stat64.patch Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-23glibc: Add glibc-2.23Bryan Hundven1-0/+6
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-19Merge pull request #345 from bhundven/use_ln_for_softlinkBryan Hundven1-1/+1
functions: use 'ln -sf' for softlinks
2016-02-19functions: use 'ln -sf' for softlinksBryan Hundven1-1/+1
I should have just used ln -sf when I rewrote the custom locations change. BSD based systems don't have 'cp -s', so switch to using 'ln -sf'. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-18Merge pull request #342 from jcmvbkbc/xtensa-binutils-init-fini-literals-fixBryan Hundven4-0/+439
binutils: fix .init/.fini literals moving in xtensa gas
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 <jcmvbkbc@gmail.com>
2016-02-15Update README.mdBryan Hundven1-0/+2
Newlines
2016-02-15Update README.mdBryan Hundven1-0/+2
Add irc and mailing list info
2016-02-09Merge pull request #337 from bhundven/softlink_custom_directoryBryan Hundven1-1/+1
functions: Softlink custom directory
2016-02-09functions: Softlink custom directoryBryan Hundven1-1/+1
Hardlinking the custom source directory does not work across separate mount points. Chnage this to a softlink instead. This closes #336 Reported-by: Jasmin Jessich <jasmin@anw.at> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-08Merge pull request #322 from modbw/libelfBryan Hundven2-9/+0
Remove GCC dependency to libelf
2016-02-06Merge pull request #335 from jcmvbkbc/xtensa-binutils-loc-fixBryan Hundven4-0/+290
binutils: fix .loc handling in xtensa gas
2016-02-06Merge pull request #333 from bhundven/update_uclibc-ngBryan Hundven1-5/+5
uClibc-ng: Update to 1.0.12
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 <jcmvbkbc@gmail.com>
2016-02-05uClibc-ng: Update to 1.0.12Bryan Hundven1-5/+5
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-05Merge pull request #332 from bhundven/update_gdbBryan Hundven5-0/+139
Update gdb
2016-02-05gdb: Update patches for gdb-7.10.1Bryan Hundven4-0/+133
Notable here is the removal of 10-setns-handling.patch, which is now upstream. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-05gdb: Add version 7.10.1Bryan Hundven1-0/+6
It's been out for a while, just haven't gotten around to it. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-05Merge pull request #331 from bhundven/update_binutilsBryan Hundven12-1/+639
binutils: Add binutils-2.26
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 <bryanhundven@gmail.com>
2016-02-05binutils: Add binutils-2.26Bryan Hundven2-1/+13
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-04Merge pull request #330 from bhundven/cpath_testorabortBryan Hundven1-0/+4
env: Bail out if CPATH and friends are set
2016-02-04env: Bail out if CPATH and friends are setBryan Hundven1-0/+4
If CPATH, C_INCLUDE_PATH, CPLUS_INCLUDE_PATH, or OBJC_INCLUDE_PATH are set, bail out. These environment variables are known to break crosstool-ng's build. This closes #327 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-01-30Merge pull request #328 from Christopher83/masterBryan Hundven1-2/+2
config/gcc: Update to Linaro GCC 5.2-2015.11-2
2016-01-30config/gcc: Update to Linaro GCC 5.2-2015.11-2Cristoforo Cataldo1-2/+2
Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
2016-01-24Merge pull request #326 from hanazuki/binutils-patch-for-newer-osxRay Donnelly1-1/+1
patches/binutils: wcsncasecmp is provided by OSX >= 10.7
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 <kasumi@rollingapple.net>
2016-01-18Remove GCC dependency to libelfMatthias Weisser2-9/+0
As crosstools-ng only support GCC >= 4.8 we do not need libelf for gcc. GCC dropped this dependency with 4.6. Signed-off-by: Matthias Weisser <m.weisser.m@gmail.com>
2016-01-13Merge pull request #319 from bhundven/elf2flt_updateBryan Hundven3-2/+3
Elf2flt update
2016-01-13linux: allow `arm*` to build headers for no-mmuBryan Hundven1-0/+1
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-01-13elf2flt: Use openadk version of elf2fltBryan Hundven2-2/+2
elf2flt is now hosted on github here: https://github.com/uclinux-dev/elf2flt But, until arm support is upstream, we'll switch to Waldemar Brodkorb version of elf2flt. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-01-12Merge pull request #318 from bhundven/update_uClibc-ngBryan Hundven1-5/+5
uClibc-ng: Update to 1.0.11
2016-01-12uClibc-ng: Update to 1.0.11Bryan Hundven1-5/+5
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-01-07Merge pull request #316 from bhundven/fix_buildBryan Hundven1-1/+1
gcc: fix previous commit
2016-01-07gcc: fix previous commitBryan Hundven1-1/+1
In a5057713a0394d189adc8b9abb0eb65592ecfc49 ...I forgot to add a line continuation at the break in the 'if' statement. Reported-by: asavah <asavah@avh.od.ua> Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-01-06Merge pull request #314 from bhundven/fix_enable_cxx_flags_baremetalBryan Hundven1-0/+6
gcc: Fix CC_GCC_ENABLE_CXX_FLAGS for mode=baremetal
2016-01-06gcc: Fix CC_GCC_ENABLE_CXX_FLAGS for mode=baremetalBryan Hundven1-0/+6
When creating a baremetal toolchain, CC_GCC_ENABLE_CXX_FLAGS has no effect. This closes #298 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>