Felix Fietkau
06a3d35eda
gcc: fix visibility of symbols libgcc.a
...
Symbols need to be hidden, even for the static variant
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39749
11 years ago
Felix Fietkau
b050f87d13
gcc: prevent the use of LDRD/STRD on ARMv5TE
...
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
11 years ago
Imre Kaloz
5e906232b0
upgrade Linaro GCC 4.8 to 2014.01
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39501
11 years ago
Imre Kaloz
b1f4f27fc4
upgrade Linaro GCC 4.8 to 4.8-2013.11
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38922
11 years ago
Felix Fietkau
5b1e1eff73
gcc 4.8-linaro: backport an upstream fix to fix asm goto miscompilation
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38435
11 years ago
Imre Kaloz
6d13c47f57
upgrade Linaro gcc 4.8 to 4.8-2013.08
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 37945
11 years ago
Florian Fainelli
cb6e729be7
toolchain: define MUSL dynamic linker for SPARC
...
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
11 years ago
Felix Fietkau
258b2cf7aa
toolchain/gcc: remove 4.6.3, it is unused and unmaintained
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37924
11 years ago
Felix Fietkau
5f2e61addf
gcc: merge a bugfix for a MIPS specific internal compiler error
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37621
11 years ago
Felix Fietkau
e00aaea5df
gcc: add a bugfix for an internal compiler error on mips64
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37601
11 years ago
Felix Fietkau
98df29f9d7
gcc: add a patch to get rid of useless java class sections
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37095
12 years ago
Felix Fietkau
2befaa2f0d
gcc: fix arm libgcc issues with 4.8.0 and 4.8-linaro
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36864
12 years ago
Felix Fietkau
7d3fca89c0
gcc: remove version 4.7
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36694
12 years ago
Felix Fietkau
ba29b8f04f
gcc: port missing patches from 4.6 to 4.8
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36693
12 years ago
Felix Fietkau
6b4f3344df
toolchain/gcc: add support for 4.8-linaro
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36545
12 years ago
Felix Fietkau
f8d8aadb42
toolchain/gcc: forward port missing patches to gcc 4.8.0
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36544
12 years ago
Jo-Philipp Wich
a98cdd9892
toolchain: add missing patch to gcc v4.8.0
...
SVN-Revision: 36511
12 years ago
Jonas Gorski
73b7c776e9
toolchain: gcc: backport fixes for gcc bug 54295
...
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
12 years ago
Florian Fainelli
9dc38e48f7
toolchain/gcc: .init and .fini need to pick one ISA
...
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
12 years ago
Florian Fainelli
a54e305a8b
toolchain/gcc: add support for GCC 4.8.0
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36155
12 years ago
Imre Kaloz
2a390f5706
drop 4.5 support
...
SVN-Revision: 36149
12 years ago
Imre Kaloz
9231162c7e
llvm is marked broken for two and a half year now, nuke it
...
SVN-Revision: 36145
12 years ago
Florian Fainelli
2935823a42
toolchain/gcc: refresh patches
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35808
12 years ago
Luka Perkov
098bd91f5e
gcc: don't build documentation
...
This closes #13039 .
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 35807
12 years ago
Luka Perkov
a85019072f
gcc: remove support for 4.6.2
...
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>
SVN-Revision: 35805
12 years ago
Florian Fainelli
fe766227a2
toolchain/gcc: fix the mips64 linker path to be more musl conforming
...
musl libc does not use /lib32 or /lib64 directories, just /lib
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35406
12 years ago
Florian Fainelli
5ae9a4f830
gcc: fix build for MIPS64 targets introduced by musl patch
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35046
12 years ago
Florian Fainelli
4801705d83
remove support for ubicom32
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34432
12 years ago
Florian Fainelli
bf9af32738
gcc/4.5-linaro: backport musl patch
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34425
12 years ago
Florian Fainelli
6b63716262
add preliminary support for musl
...
Musl is an alternative C-library, see http://www.musl-libc.org for more infos.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34314
12 years ago
Florian Fainelli
bca3953ee5
gcc: remove support for 4.7.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>
SVN-Revision: 34296
12 years ago
Florian Fainelli
5013a897c5
gcc: add GCC 4.7.2
...
SVN-Revision: 33763
12 years ago
Florian Fainelli
ba446684e0
gcc: add GCC 4.6.3
...
SVN-Revision: 33762
12 years ago
Florian Fainelli
42c4a16172
gcc: update 4.7-linaro to 4.7-2012.10
...
SVN-Revision: 33759
12 years ago
Florian Fainelli
5d223006f9
gcc: update gcc-4.6-linaro to 4.6-2012.10
...
SVN-Revision: 33758
12 years ago
Florian Fainelli
a72cadbbb4
gcc: backport struct siginfo -> siginfo_t renaming
...
Otherwise newer eglibc toolchain will simply fail to build.
SVN-Revision: 33736
12 years ago
Florian Fainelli
95f1b6d415
gcc: add upstream fixes for GCC bug 54494
...
See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54494 for more infos.
SVN-Revision: 33329
12 years ago
Florian Fainelli
11f1712b49
gcc: add upstream fixes for GCC bug 54369
...
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54369 for more infos.
SVN-Revision: 33328
12 years ago
Imre Kaloz
880de62f91
switch to 2.6.38
...
SVN-Revision: 31546
13 years ago
Jo-Philipp Wich
e0c97d69c6
gcc: fix getenv() patches for 4.4.7 and 4.5-linaro
...
SVN-Revision: 31489
13 years ago
Mirko Vogt
47ea827dce
remove screwed up patch for gcc 4.7-linaro which got committed by accident
...
SVN-Revision: 31393
13 years ago
Mirko Vogt
84307e4035
add support for GCC 4.7-linaro (based on GCC 4.7.1)
...
SVN-Revision: 31392
13 years ago
Jo-Philipp Wich
f79bfe6072
gcc: add patch to make the getenv() spec function nonfatal if requested environment variable is unset
...
SVN-Revision: 31390
13 years ago
Jo-Philipp Wich
b7e2959450
toolchain/gcc: gcc-4.7.0 upstream patch fixing uClibc problems
...
SVN-Revision: 31255
13 years ago
Imre Kaloz
ca6859aa29
upgrade to gcc 4.4.7
...
SVN-Revision: 31230
13 years ago
Mirko Vogt
626e171764
add support for gcc 4.7.0 - thanks to acoul!
...
SVN-Revision: 31216
13 years ago
Gabor Juhos
45d5b24190
toolchain/gcc-4.6.2: fix v4bx patch
...
SVN-Revision: 30970
13 years ago
Gabor Juhos
9c077ed0ae
toolchain/gcc-4.6-linaro: fix v4bx patch
...
SVN-Revision: 30969
13 years ago
Felix Fietkau
d8c570a153
gcc: do not emit references to _savegpr_* and _restgpr_* on powerpc, as they are tricky to deal with wrt. libgcc. they cannot be linked dynamically
...
SVN-Revision: 30814
13 years ago
Felix Fietkau
a86e168c54
gcc: use .eh_frame sections for exception handling stack unwind - saves about 400 bytes on every executable or shared library
...
SVN-Revision: 30614
13 years ago