diff options
author | Austin Morton <austinpmorton@gmail.com> | 2012-09-16 14:12:22 -0400 |
---|---|---|
committer | Austin Morton <austinpmorton@gmail.com> | 2012-09-16 14:12:22 -0400 |
commit | cf8093447f728ee8b6f3375b7131800ebb688bfa (patch) | |
tree | 26ef2961bf1f3f3a99e52836716f276aad094f4e /patches | |
parent | 649c04594ade8fddca88c084fc0aa4a4f9cdad33 (diff) | |
download | crosstool-ng-cf8093447f728ee8b6f3375b7131800ebb688bfa.tar.gz crosstool-ng-cf8093447f728ee8b6f3375b7131800ebb688bfa.tar.bz2 crosstool-ng-cf8093447f728ee8b6f3375b7131800ebb688bfa.zip |
libc/newlib: add newlib 1.20.0 support
Signed-off-by: Austin Morton <austinpmorton@gmail.com>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/newlib/1.20.0/100-fix-unaligned-access-memcpy-m68k.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/patches/newlib/1.20.0/100-fix-unaligned-access-memcpy-m68k.patch b/patches/newlib/1.20.0/100-fix-unaligned-access-memcpy-m68k.patch new file mode 100644 index 00000000..1d0b49be --- /dev/null +++ b/patches/newlib/1.20.0/100-fix-unaligned-access-memcpy-m68k.patch @@ -0,0 +1,27 @@ +The m68k mcpu processor does not like unaligned access + +Disable at least mcpu32, m68010 and m68020. These processors certainly +do not like unaligned accesses. + +Signed-off-by: Remy Bohmer <linux@bohmer.net> +[yann.morin.1998@anciens.enib.fr: update for 1.19.0 from 1.18.0] +Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> +[austinpmorton@gmail.com: update for 1.20.0 from 1.19.0] +Signed-off-by: Austin Morton <austinpmorton@gmail.com> +--- + newlib/libc/machine/m68k/memcpy.S | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S +=================================================================== +--- newlib-1.20.0.orig/newlib/libc/machine/m68k/memcpy.S ++++ newlib-1.20.0/newlib/libc/machine/m68k/memcpy.S +@@ -15,7 +15,7 @@ + + #include "m68kasm.h" + +-#if defined (__mcoldfire__) || defined (__mc68010__) || defined (__mc68020__) || defined (__mc68030__) || defined (__mc68040__) || defined (__mc68060__) ++#if defined (__mcoldfire__) || defined (__mc68030__) || defined (__mc68040__) || defined (__mc68060__) + # define MISALIGNED_OK 1 + #else + # define MISALIGNED_OK 0 |