aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches
Commit message (Collapse)AuthorAgeFilesLines
* toolchain: add support of ARC architectureFelix Fietkau2015-11-1018-0/+765
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes binutils, gcc, gdb and uClibc-ng. Latest release of ARC gcc (as of today it is "arc-2015.06") is based on upstream gcc 4.8.4. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/gcc Latest release of ARC binutils (as of today it is "arc-2015.06") is based on upstream binutils 2.23. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06 Latest release of ARC GDB (as of today this is "arc-2015.06-gdb") is based on upstream gdb 7.9.1. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06-gdb Note that for binutils and gdb that come from unified git repository (which is the case for upstream binutils/gdb today) we need to disable building of gdb in binutils and binutils in gdb hence in binutils: ------>8------ --disable-sim --disable-gdb ------>8------ and in gdb: ------>8------ --disable-binutils --disable-ld --disable-gas ------>8------ Also in gdb we disable sim because if the following breakage while building with it: ------------>8------------ /usr/bin/env bash ./../common/genmloop.sh -shell /usr/bin/env bash \ -mono -fast -pbb -switch sem5-switch.c \ -cpu a5f -infile ./mloop5.in \ -outfile-suffix 5 unknown option: bash Makefile:699: recipe for target 'stamp-5mloop' failed make[7]: *** [stamp-5mloop] Error 1 ------------>8------------ Cc: Felix Fietkau <nbd@openwrt.org> Cc: John Crispin <blogic@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> SVN-Revision: 47438
* gcc: fix accidentally dropped chunk of the musl gcc 5.2.0 powerpc patch ↵Felix Fietkau2015-09-221-0/+13
| | | | | | | | (fixes #20501) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47024
* gcc: fix path to powerpc musl dynamic linker with 5.2 (#20501)Felix Fietkau2015-09-131-0/+24
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46897
* gcc: update gcc 5.x musl patchesHauke Mehrtens2015-09-1115-200/+612
| | | | | | | | | This replaces the musl patches for gcc with the versions which are in gcc trunk. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46873
* gcc: add missing powerpc patch for 5.2.0Felix Fietkau2015-09-071-0/+65
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46800
* gcc: remove version 4.9-linaroFelix Fietkau2015-09-0633-1283/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46798
* gcc: add ARM codegen fix from PR 65932Felix Fietkau2015-09-031-0/+21
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46774
* toolchain: gcc: add gcc 5.2.0Hauke Mehrtens2015-08-1630-0/+1263
| | | | | | | | This was boot tested on mipsel32, arm32 and x86 only. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46611
* toolchain: fix gcc 4.6 build with gcc5John Crispin2015-07-145-6/+27
| | | | | | | | | | | | | | | | build error: cfns.gperf:101:1: error: 'gnu_inline' attribute present on 'libc_name_p' cfns.gperf:26:14: error: but not here observed on Arch Linux affected versions gcc 4.6, gcc 4.7 reported & fixed in DragonFlyBSD issue #136 https://github.com/DragonFlyBSD/DPorts/issues/136 Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 46355
* gcc: use the -sf suffix for musl ldso on powerpcFelix Fietkau2015-07-122-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46313
* gcc/musl: rework SSP-supportSteven Barth2015-06-222-11/+13
| | | | | | | | | | | Make musl provide libssp_nonshared.a and make GCC link it unconditionally if musl is used. This should be a no-op if SSP is disabled and seems to be the only reliable way of dealing with SSP over all packages due to the mess that is linkerflags handling in packages. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46108
* gcc: musl comes with its own SSP, so use it instead of libsspSteven Barth2015-06-201-0/+11
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46071
* toolchain/gcc: upgrade Linaro GCC 4.9 to 4.9-2015.03Imre Kaloz2015-06-1115-34/+30
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45944
* gcc: add some size optimization patchesFelix Fietkau2015-05-104-0/+80
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45664
* gcc: remove 4.4.7 (only used by avr32)Felix Fietkau2015-03-2414-23261/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44957
* 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> SVN-Revision: 44394
* 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> SVN-Revision: 43669
* toolchain: fix mips64 musl linker namesFlorian Fainelli2014-10-242-0/+44
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 43035
* gcc: update 4.9 to linaro 2014.10Felix Fietkau2014-10-203-24/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43003
* 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> SVN-Revision: 42973
* gcc: update, split and rework 4.9 musl patchesFelix Fietkau2014-10-1916-355/+531
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42970
* gcc: update, split and rework 4.8 musl patchesFelix Fietkau2014-10-1918-373/+638
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42969
* 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> SVN-Revision: 42962
* gcc: remove version 4.8.0Felix Fietkau2014-10-0515-855/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42777
* 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> SVN-Revision: 42769
* gcc: add 4.9-linaro based on the 2014.09 releaseFelix Fietkau2014-09-3017-0/+911
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42706
* gcc: backport a fix for issues with accessing weak data referencesFelix Fietkau2014-07-101-0/+42
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41569
* 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> SVN-Revision: 40874
* gcc: disable libsanitzier off_t check to fix musl buildFelix Fietkau2014-05-281-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40870
* 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> SVN-Revision: 40709
* toolchain/gcc: update linaro-gcc-4.8 to 2014.04Felix Fietkau2014-05-025-13/+13
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40664
* 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> SVN-Revision: 39749
* 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> SVN-Revision: 39638
* upgrade Linaro GCC 4.8 to 2014.01Imre Kaloz2014-02-062-3/+3
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39501
* upgrade Linaro GCC 4.8 to 4.8-2013.11Imre Kaloz2013-11-263-174/+6
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38922
* 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> SVN-Revision: 38435
* upgrade Linaro gcc 4.8 to 4.8-2013.08Imre Kaloz2013-09-115-14/+14
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 37945
* 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> SVN-Revision: 37938
* toolchain/gcc: remove 4.6.3, it is unused and unmaintainedFelix Fietkau2013-09-1019-1024/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37924
* gcc: merge a bugfix for a MIPS specific internal compiler errorFelix Fietkau2013-07-312-0/+130
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37621
* gcc: add a bugfix for an internal compiler error on mips64Felix Fietkau2013-07-292-0/+32
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37601
* 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> SVN-Revision: 37095
* 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> SVN-Revision: 36864
* gcc: remove version 4.7Felix Fietkau2013-05-2332-1844/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36694
* gcc: port missing patches from 4.6 to 4.8Felix Fietkau2013-05-2312-0/+284
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36693
* toolchain/gcc: add support for 4.8-linaroFelix Fietkau2013-05-047-0/+678
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36545
* toolchain/gcc: forward port missing patches to gcc 4.8.0Felix Fietkau2013-05-042-0/+47
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36544
* toolchain: add missing patch to gcc v4.8.0Jo-Philipp Wich2013-05-021-0/+14
| | | | SVN-Revision: 36511
* 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> SVN-Revision: 36486
* 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> SVN-Revision: 36200