Commit Graph

9 Commits

Author SHA1 Message Date
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
2014-02-24 21:09:37 +00:00
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
2014-02-19 19:20:10 +00:00
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
2013-09-11 12:08:27 +00:00
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
2013-06-30 07:54:47 +00:00
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
2013-06-05 23:37:12 +00:00
Felix Fietkau
ba29b8f04f gcc: port missing patches from 4.6 to 4.8
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36693
2013-05-23 10:21:59 +00:00
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
2013-05-04 13:37:37 +00:00
Jo-Philipp Wich
a98cdd9892 toolchain: add missing patch to gcc v4.8.0
SVN-Revision: 36511
2013-05-02 11:25:13 +00:00
Florian Fainelli
a54e305a8b toolchain/gcc: add support for GCC 4.8.0
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36155
2013-04-02 16:00:35 +00:00