1 diff -Nur glibc-2.38.orig/sysdeps/m68k/m680x0/bits/flt-eval-method.h glibc-2.38/sysdeps/m68k/m680x0/bits/flt-eval-method.h
2 --- glibc-2.38.orig/sysdeps/m68k/m680x0/bits/flt-eval-method.h 2023-07-31 19:54:16.000000000 +0200
3 +++ glibc-2.38/sysdeps/m68k/m680x0/bits/flt-eval-method.h 1970-01-01 01:00:00.000000000 +0100
5 -/* Define __GLIBC_FLT_EVAL_METHOD. M68K version.
6 - Copyright (C) 2016-2023 Free Software Foundation, Inc.
7 - This file is part of the GNU C Library.
9 - The GNU C Library is free software; you can redistribute it and/or
10 - modify it under the terms of the GNU Lesser General Public
11 - License as published by the Free Software Foundation; either
12 - version 2.1 of the License, or (at your option) any later version.
14 - The GNU C Library is distributed in the hope that it will be useful,
15 - but WITHOUT ANY WARRANTY; without even the implied warranty of
16 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 - Lesser General Public License for more details.
19 - You should have received a copy of the GNU Lesser General Public
20 - License along with the GNU C Library; if not, see
21 - <https://www.gnu.org/licenses/>. */
24 -# error "Never use <bits/flt-eval-method.h> directly; include <math.h> instead."
27 -/* The m68k FPUs evaluate all values in the 96-bit floating-point
28 - format which is also available for the user as 'long double'. */
29 -#define __GLIBC_FLT_EVAL_METHOD 2
30 diff -Nur glibc-2.38.orig/sysdeps/m68k/m680x0/m68020/wordcopy.S glibc-2.38/sysdeps/m68k/m680x0/m68020/wordcopy.S
31 --- glibc-2.38.orig/sysdeps/m68k/m680x0/m68020/wordcopy.S 2023-07-31 19:54:16.000000000 +0200
32 +++ glibc-2.38/sysdeps/m68k/m680x0/m68020/wordcopy.S 1970-01-01 01:00:00.000000000 +0100
34 -/* Empty, not needed. */
35 diff -Nur glibc-2.38.orig/sysdeps/m68k/wordcopy.c glibc-2.38/sysdeps/m68k/wordcopy.c
36 --- glibc-2.38.orig/sysdeps/m68k/wordcopy.c 1970-01-01 01:00:00.000000000 +0100
37 +++ glibc-2.38/sysdeps/m68k/wordcopy.c 2023-08-10 16:23:10.972526508 +0200
39 +/* Definitions for memory copy functions. Motorola 68020 version.
40 + Copyright (C) 2023 Free Software Foundation, Inc.
41 + This file is part of the GNU C Library.
43 + The GNU C Library is free software; you can redistribute it and/or
44 + modify it under the terms of the GNU Lesser General Public
45 + License as published by the Free Software Foundation; either
46 + version 2.1 of the License, or (at your option) any later version.
48 + The GNU C Library is distributed in the hope that it will be useful,
49 + but WITHOUT ANY WARRANTY; without even the implied warranty of
50 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
51 + Lesser General Public License for more details.
53 + You should have received a copy of the GNU Lesser General Public
54 + License along with the GNU C Library. If not, see
55 + <https://www.gnu.org/licenses/>. */
57 +#if !defined(__mc68020__) && !defined(mc68020)
58 +#include <string/wordcopy.c>