openwrt/toolchain/gcc/patches/4.8.0
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 GCC 4.8.0 2013-04-02 16:00:35 +00:00
100-uclibc-conf.patch toolchain/gcc: add support for GCC 4.8.0 2013-04-02 16:00:35 +00:00
200-musl.patch toolchain: define MUSL dynamic linker for SPARC 2013-09-11 12:08:27 +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: forward port missing patches to gcc 4.8.0 2013-05-04 13:37:37 +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 gcc: port missing patches from 4.6 to 4.8 2013-05-23 10:21:59 +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 toolchain/gcc: forward port missing patches to gcc 4.8.0 2013-05-04 13:37:37 +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 toolchain/gcc: add support for GCC 4.8.0 2013-04-02 16:00:35 +00:00
920-specs_nonfatal_getenv.patch toolchain: add missing patch to gcc v4.8.0 2013-05-02 11:25:13 +00:00