diff options
author | Chris Packham <judge.packham@gmail.com> | 2023-05-28 15:29:03 +1200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2023-06-04 10:04:33 +1200 |
commit | 227d99d7f3115f3a078595a580d2b307dcd23e93 (patch) | |
tree | 71aa5ec27ff438f002e881ad4cc2440a1d0aa8a5 /packages/newlib/4.3.0.20230120/0000-fix-unaligned-access-memcpy-m68k.patch | |
parent | 0160064f00b158a0a672a04f25fbb0968ac59cdf (diff) | |
download | crosstool-ng-227d99d7f3115f3a078595a580d2b307dcd23e93.tar.gz crosstool-ng-227d99d7f3115f3a078595a580d2b307dcd23e93.tar.bz2 crosstool-ng-227d99d7f3115f3a078595a580d2b307dcd23e93.zip |
newlib: add 4.3.0.20230120
Add the 4.3.0.20230120 and update the required patches. As of this
release the newlib-global-atexit is mandatory so set this to default y.
Included is an upstream patch to support older GCC versions.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/newlib/4.3.0.20230120/0000-fix-unaligned-access-memcpy-m68k.patch')
-rw-r--r-- | packages/newlib/4.3.0.20230120/0000-fix-unaligned-access-memcpy-m68k.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/newlib/4.3.0.20230120/0000-fix-unaligned-access-memcpy-m68k.patch b/packages/newlib/4.3.0.20230120/0000-fix-unaligned-access-memcpy-m68k.patch new file mode 100644 index 00000000..b6709d5a --- /dev/null +++ b/packages/newlib/4.3.0.20230120/0000-fix-unaligned-access-memcpy-m68k.patch @@ -0,0 +1,25 @@ +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(-) + +--- a/newlib/libc/machine/m68k/memcpy.S ++++ b/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 |