aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches
Commit message (Collapse)AuthorAgeFilesLines
* toolchain/gcc: fix an ICE on ARM (PR58595)Nicolas Thill2015-02-111-0/+117
| | | | | | | | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58595 Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44394 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: don't clobber stamp-bits with a symlink to itselfFelix Fietkau2014-12-123-0/+35
| | | | | | | | | | | | | | | | | Several versions of gcc have an issue in libstdc++v3 where the build may clobber stamp-bits with a link to itself. This doesn't manifest itself on all systems. On several Ubuntu systems, this doesn't appear to be a problem, but it is an issue on Fedora 16 systems. To fix the issue, we'll simply filter out stamp-bits from the symlinks to be generated. Note: gcc 4.4.7 is unaffected by this issue, so no fix is necessary there. Signed-off-by: John Szakmeister <john@szakmeister.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43669 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: fix mips64 musl linker namesFlorian Fainelli2014-10-242-0/+44
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43035 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: update 4.9 to linaro 2014.10Felix Fietkau2014-10-203-24/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: do not assume that the Mac OS X filesystem is case insensitiveFelix Fietkau2014-10-192-0/+28
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42973 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: update, split and rework 4.9 musl patchesFelix Fietkau2014-10-1916-355/+531
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: update, split and rework 4.8 musl patchesFelix Fietkau2014-10-1918-373/+638
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: backport an upstream fix for extern vars with local weak definitionsFelix Fietkau2014-10-191-0/+21
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42962 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: remove version 4.8.0Felix Fietkau2014-10-0515-855/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42777 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix broken implementation of NOEXECSTACK flag for MIPS architectures for ↵Felix Fietkau2014-10-052-0/+235
| | | | | | | | | | | | gcc-linaro-4.8 This patch ensures that libgcc_s.so properly honours the NOEXECSTACK flag for MIPS builds, when gcc-linaro-4.8 or 4.9 is the chosen C compiler. Signed-off-by: Andrew McDonnell <bugs@andrewmcdonnell.net> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42769 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: add 4.9-linaro based on the 2014.09 releaseFelix Fietkau2014-09-3017-0/+911
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42706 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: backport a fix for issues with accessing weak data referencesFelix Fietkau2014-07-101-0/+42
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: define USE_PT_GNU_EH_FRAME for musl as well, reduces binary object sizeFelix Fietkau2014-05-281-1/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40874 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: disable libsanitzier off_t check to fix musl buildFelix Fietkau2014-05-281-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40870 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: revert an upstream patch that is causing a regression on powerpcFelix Fietkau2014-05-061-0/+65
| | | | | | | | https://forum.openwrt.org/viewtopic.php?pid=232494#p232494 Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: update linaro-gcc-4.8 to 2014.04Felix Fietkau2014-05-025-13/+13
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40664 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: fix visibility of symbols libgcc.aFelix Fietkau2014-02-243-27/+23
| | | | | | | | Symbols need to be hidden, even for the static variant Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39749 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: prevent the use of LDRD/STRD on ARMv5TEFelix Fietkau2014-02-193-0/+33
| | | | | | | | | | | | | | | | | These instructions are for 64-bit load/store. On ARMv5TE, the CPU requires addresses to be aligned to 64-bit. When misaligned, behavior is undefined (effectively either loads the same word twice on LDRD, or corrupts surrounding memory on STRD). On ARMv6 and newer, unaligned access is safe. Removing these instructions for ARMv5TE is necessary, because GCC ignores alignment information in pointers and does unsafe optimizations that have shown up as bugs in various places. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39638 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: upgrade Linaro GCC 4.8 to 2014.01Imre Kaloz2014-02-062-3/+3
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39501 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: upgrade Linaro GCC 4.8 to 4.8-2013.11Imre Kaloz2013-11-263-174/+6
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38922 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc 4.8-linaro: backport an upstream fix to fix asm goto miscompilationFelix Fietkau2013-10-171-0/+167
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38435 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: upgrade Linaro gcc 4.8 to 4.8-2013.08Imre Kaloz2013-09-115-14/+14
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37945 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: define MUSL dynamic linker for SPARCFlorian Fainelli2013-09-113-0/+38
| | | | | | | | | SPARC builds are currently broken because we do not define the MUSL dynamic linker name, fix that. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37938 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: remove 4.6.3, it is unused and unmaintainedFelix Fietkau2013-09-1019-1024/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37924 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: merge a bugfix for a MIPS specific internal compiler errorFelix Fietkau2013-07-312-0/+130
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37621 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: add a bugfix for an internal compiler error on mips64Felix Fietkau2013-07-292-0/+32
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37601 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: add a patch to get rid of useless java class sectionsFelix Fietkau2013-06-304-0/+44
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37095 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: fix arm libgcc issues with 4.8.0 and 4.8-linaroFelix Fietkau2013-06-052-0/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: remove version 4.7Felix Fietkau2013-05-2332-1844/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36694 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: port missing patches from 4.6 to 4.8Felix Fietkau2013-05-2312-0/+284
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36693 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: add support for 4.8-linaroFelix Fietkau2013-05-047-0/+678
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: forward port missing patches to gcc 4.8.0Felix Fietkau2013-05-042-0/+47
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: add missing patch to gcc v4.8.0Jo-Philipp Wich2013-05-021-0/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36511 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: gcc: backport fixes for gcc bug 54295Jonas Gorski2013-04-293-0/+210
| | | | | | | | | | | | Fix "Widening multiply-accumulate operation uses wrong value extension" for 4.7, 4.7-linaro and 4.6-linaro, which backported the broken code to 4.6. Vanilla 4.6 is unaffected. Fixes #13420. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36486 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: .init and .fini need to pick one ISAFlorian Fainelli2013-04-051-0/+9
| | | | | | | | | | | | | | | | | The .init and .fini sections are built by concatenating code fragments. Putting mips16 code in the middle of a mips32 code block doesn't work. Make gcc built the magic crt stuff in no-mips16 mode. This is specific to 4.6-linaro but is probably portable to other gcc flavors. Adding this to the t-libgcc-mips16 makefile fragment is a hack not suitable for pushing upstream, but there is no mips/t-linux or mips/t-uclibc and I am not going to touch gcc/configure for two lines. Signed-off-by: Jay Carlson <nop@nop.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36200 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: add support for GCC 4.8.0Florian Fainelli2013-04-024-0/+617
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: drop 4.5 supportImre Kaloz2013-04-0117-1067/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36149 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: llvm is marked broken for two and a half year now, nuke itImre Kaloz2013-04-0124-4489/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36145 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: refresh patchesFlorian Fainelli2013-02-2632-298/+190
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: don't build documentationLuka Perkov2013-02-265-0/+115
| | | | | | | | This closes #13039. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35807 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: remove support for 4.6.2Luka Perkov2013-02-2615-938/+0
| | | | | | | | | There are no good reasons for keeping this version around when 4.6.3 and 4.6-linaro are there. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35805 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc: fix the mips64 linker path to be more musl conformingFlorian Fainelli2013-01-295-15/+15
| | | | | | | | musl libc does not use /lib32 or /lib64 directories, just /lib Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: fix build for MIPS64 targets introduced by musl patchFlorian Fainelli2013-01-075-0/+79
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] remove support for ubicom32Florian Fainelli2012-11-307-65576/+0
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc/4.5-linaro: backport musl patchFlorian Fainelli2012-11-291-0/+242
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34425 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] add preliminary support for muslFlorian Fainelli2012-11-235-0/+1346
| | | | | | | | Musl is an alternative C-library, see http://www.musl-libc.org for more infos. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: remove support for 4.7.0Florian Fainelli2012-11-2118-10346/+0
| | | | | | | | | There are no good reasons for keeping this version around when 4.7.2 and 4.7-linaro are there. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34296 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: add GCC 4.7.2Florian Fainelli2012-10-1414-0/+9876
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33763 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: add GCC 4.6.3Florian Fainelli2012-10-1415-0/+10058
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33762 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: update 4.7-linaro to 4.7-2012.10Florian Fainelli2012-10-134-468/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33759 3c298f89-4303-0410-b956-a3cf2f4a3e73