aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/4.6-linaro
Commit message (Collapse)AuthorAgeFilesLines
* gcc: fix visibility of symbols libgcc.aFelix Fietkau2014-02-241-5/+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-191-0/+11
| | | | | | | | | | | | | | | | | 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: define MUSL dynamic linker for SPARCFlorian Fainelli2013-09-111-0/+12
| | | | | | | | | 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
* gcc: merge a bugfix for a MIPS specific internal compiler errorFelix Fietkau2013-07-311-0/+65
| | | | | | 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-291-0/+16
| | | | | | 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-301-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37095 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: gcc: backport fixes for gcc bug 54295Jonas Gorski2013-04-291-0/+70
| | | | | | | | | | | | 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: refresh patchesFlorian Fainelli2013-02-268-45/+25
| | | | | | 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-261-0/+23
| | | | | | | | 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: fix the mips64 linker path to be more musl conformingFlorian Fainelli2013-01-291-3/+3
| | | | | | | | 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-071-0/+17
| | | | | | 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-301-9368/+0
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] add preliminary support for muslFlorian Fainelli2012-11-231-0/+231
| | | | | | | | 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: update gcc-4.6-linaro to 4.6-2012.10Florian Fainelli2012-10-132-202/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33758 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: backport struct siginfo -> siginfo_t renamingFlorian Fainelli2012-10-121-0/+157
| | | | | | Otherwise newer eglibc toolchain will simply fail to build. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33736 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: add upstream fixes for GCC bug 54369Florian Fainelli2012-09-071-0/+45
| | | | | | See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54369 for more infos. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33328 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [coldfire]: switch to 2.6.38Imre Kaloz2012-05-011-7/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31546 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] gcc: add patch to make the getenv() spec function nonfatal if ↵Jo-Philipp Wich2012-04-211-0/+14
| | | | | | requested environment variable is unset git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31390 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/gcc-4.6-linaro: fix v4bx patchGabor Juhos2012-03-181-7/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: do not emit references to _savegpr_* and _restgpr_* on powerpc, as they ↵Felix Fietkau2012-03-051-0/+20
| | | | | | are tricky to deal with wrt. libgcc. they cannot be linked dynamically git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30814 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: use .eh_frame sections for exception handling stack unwind - saves ↵Felix Fietkau2012-02-171-0/+29
| | | | | | about 400 bytes on every executable or shared library git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30614 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc 4.6: port over the missing patch 850-use_shared_libgcc.patch to prevent ↵Felix Fietkau2012-02-121-0/+68
| | | | | | libgcc crap from leaking into every single binary git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30486 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain/gcc]: upgrade to latest linaro releasesImre Kaloz2012-01-144-23/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29748 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: add 4.6-linaro version 4.6-2011.08Hauke Mehrtens2011-08-1812-0/+9843
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28042 3c298f89-4303-0410-b956-a3cf2f4a3e73