openwrt/toolchain/gcc/patches/4.6-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 gcc: don't build documentation 2013-02-26 16:16:33 +00:00
020-gcc_bug_54295.patch toolchain: gcc: backport fixes for gcc bug 54295 2013-04-29 15:40:21 +00:00
030-gcc_bug_48403.patch gcc: add a bugfix for an internal compiler error on mips64 2013-07-29 10:11:07 +00:00
040-gcc_bug_49696.patch gcc: merge a bugfix for a MIPS specific internal compiler error 2013-07-31 08:54:56 +00:00
100-uclibc-conf.patch
200-musl.patch toolchain: define MUSL dynamic linker for SPARC 2013-09-11 12:08:27 +00:00
301-missing-execinfo_h.patch
302-c99-snprintf.patch
305-libmudflap-susv3-legacy.patch
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
820-libgcc_pic.patch
830-arm_unbreak_armv4t.patch toolchain/gcc: refresh patches 2013-02-26 16:39:54 +00:00
840-armv4_pass_fix-v4bx_to_ld.patch toolchain/gcc: refresh patches 2013-02-26 16:39:54 +00:00
850-use_shared_libgcc.patch toolchain/gcc: refresh patches 2013-02-26 16:39:54 +00:00
860-uclibc_use_eh_frame.patch toolchain/gcc: refresh patches 2013-02-26 16:39:54 +00:00
870-ppc_no_crtsavres.patch toolchain/gcc: refresh patches 2013-02-26 16:39:54 +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 toolchain/gcc: .init and .fini need to pick one ISA 2013-04-05 12:36:06 +00:00
910-mbsd_multi.patch toolchain/gcc: refresh patches 2013-02-26 16:39:54 +00:00
920-specs_nonfatal_getenv.patch gcc: add patch to make the getenv() spec function nonfatal if requested environment variable is unset 2012-04-21 03:02:39 +00:00
999-coldfire.patch toolchain/gcc: refresh patches 2013-02-26 16:39:54 +00:00