aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/m68k/m680x0
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-08-18 14:59:51 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-08-25 10:07:24 -0300
commitb85880633f69b737050c22eede858f8c13bb2248 (patch)
treeda9dc9627d5c4ae127a7e5d3ff05df959a198bbc /sysdeps/m68k/m680x0
parent3d9265467e67d4c0fafa28a2179b152ad2423099 (diff)
downloadglibc-b85880633f69b737050c22eede858f8c13bb2248.tar
glibc-b85880633f69b737050c22eede858f8c13bb2248.tar.gz
glibc-b85880633f69b737050c22eede858f8c13bb2248.tar.bz2
glibc-b85880633f69b737050c22eede858f8c13bb2248.zip
m68k: Fix build with -mcpu=68040 or higher (BZ 30740)
GCC currently does not define __mc68020__ for -mcpu=68040 or higher, which memcpy/memmove assumptions. Since this memory copy optimization seems only intended for m68020, disable for other m680X0 variants. Checked on a build for m68k-linux-gnu target mc68020 and mc68040.
Diffstat (limited to 'sysdeps/m68k/m680x0')
-rw-r--r--sysdeps/m68k/m680x0/m68020/wordcopy.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/m68k/m680x0/m68020/wordcopy.S b/sysdeps/m68k/m680x0/m68020/wordcopy.S
deleted file mode 100644
index 4fb1a4518f..0000000000
--- a/sysdeps/m68k/m680x0/m68020/wordcopy.S
+++ /dev/null
@@ -1 +0,0 @@
-/* Empty, not needed. */