openwrtv3/toolchain/gcc/patches/4.8-linaro
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
..
010-documentation.patch toolchain/gcc: add support for 4.8-linaro 2013-05-04 13:37:41 +00:00
100-uclibc-conf.patch toolchain/gcc: add support for 4.8-linaro 2013-05-04 13:37:41 +00:00
200-musl.patch upgrade Linaro GCC 4.8 to 4.8-2013.11 2013-11-26 18:42:32 +00:00
800-arm_v5te_no_ldrd_strd.patch gcc: prevent the use of LDRD/STRD on ARMv5TE 2014-02-19 19:20:10 +00:00
810-arm-softfloat-libgcc.patch gcc: fix arm libgcc issues with 4.8.0 and 4.8-linaro 2013-06-05 23:37:12 +00:00
820-libgcc_pic.patch toolchain/gcc: add support for 4.8-linaro 2013-05-04 13:37:41 +00:00
830-arm_unbreak_armv4t.patch gcc: port missing patches from 4.6 to 4.8 2013-05-23 10:21:59 +00:00
840-armv4_pass_fix-v4bx_to_ld.patch gcc: port missing patches from 4.6 to 4.8 2013-05-23 10:21:59 +00:00
850-use_shared_libgcc.patch upgrade Linaro gcc 4.8 to 4.8-2013.08 2013-09-11 13:19:43 +00:00
860-uclibc_use_eh_frame.patch gcc: port missing patches from 4.6 to 4.8 2013-05-23 10:21:59 +00:00
870-ppc_no_crtsavres.patch upgrade Linaro GCC 4.8 to 4.8-2013.11 2013-11-26 18:42:32 +00:00
880-no_java_section.patch gcc: add a patch to get rid of useless java class sections 2013-06-30 07:54:47 +00:00
900-bad-mips16-crt.patch gcc: port missing patches from 4.6 to 4.8 2013-05-23 10:21:59 +00:00
910-mbsd_multi.patch upgrade Linaro GCC 4.8 to 2014.01 2014-02-06 10:28:45 +00:00
920-specs_nonfatal_getenv.patch upgrade Linaro GCC 4.8 to 2014.01 2014-02-06 10:28:45 +00:00