m68k: update kernel-features.h
[glibc.git] / ChangeLog.m68k
blob892ca37c60248741fb788152bf2d5e4b7a344550
1 2012-03-13  Andreas Schwab  <schwab@linux-m68k.org>
3         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4         (__ASSUME_NEW_GETRLIMIT_SYSCALL, __ASSUME_VFORK_SYSCALL): Define
5         for 2.4.12 or later.
6         (__ASSUME_PSELECT, __ASSUME_PPOLL): Only undefine before 3.0.
8 2012-03-09  Richard Henderson  <rth@twiddle.net>
10         * sysdeps/m68k/m680x0/fpu/math_private.h: Use include_next to
11         chain math_private.h.
13         * m68k/m680x0/fpu/e_acos.c: Use <> to include math_private.h.
14         * m68k/m680x0/fpu/e_atan2.c, m68k/m680x0/fpu/e_fmod.c: Likewise.
15         * m68k/m680x0/fpu/e_pow.c, m68k/m680x0/fpu/e_scalb.c: Likewise.
16         * m68k/m680x0/fpu/s_fpclassifyl.c, m68k/m680x0/fpu/s_llrint.c: Likewise.
17         * m68k/m680x0/fpu/s_llrintf.c, m68k/m680x0/fpu/s_llrintl.c: Likewise.
18         * m68k/m680x0/fpu/s_nextafterl.c: Likewise.
20 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
22         [BZ #13673]
23         Replace FSF snail mail address with URLs, as per GNU coding standards.
25 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
27         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29 2012-03-02  Andreas Schwab  <schwab@linux-m68k.org>
31         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update ULPs.
33 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
35         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36         (pthread_attr_t): Fix name of union.  Only define if not already
37         defined.
39 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Name
42         pthread_attr_t union.
44         * sysdeps/m68k/m680x0/fpu/Makefile: Remove.
45         * sysdeps/m68k/m680x0/fpu/switch: Remove directory.
47         * sysdeps/m68k/m680x0/fpu/k_sinl.c: Replace by empty file.
48         * sysdeps/m68k/m680x0/fpu/k_cosl.c: Likewise.
49         * sysdeps/m68k/m680x0/fpu/k_tanf.c: Likewise.
50         * sysdeps/m68k/m680x0/fpu/k_tanl.c: Likewise.
51         * sysdeps/m68k/m680x0/fpu/k_sin.c: Remove.
52         * sysdeps/m68k/m680x0/fpu/k_sinf.c: Remove.
53         * sysdeps/m68k/m680x0/fpu/k_cos.c: Remove.
54         * sysdeps/m68k/m680x0/fpu/k_cosf.c: Remove.
55         * sysdeps/m68k/m680x0/fpu/k_tan.c: Remove.
57 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
59         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Avoid raising invalid
60         exception for NaN+iNaN.
62 2012-02-24  Andreas Schwab  <schwab@linux-m68k.org>
64         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update ULPs.
66         * sysdeps/m68k/m680x0/fpu/s_expm1.c: Set errno to ERANGE if
67         argument causes overflow.
68         * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Include <s_expm1.c>.
69         (float_type, o_threshold): Define.
70         * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
71         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__OPTIMIZE__]: Don't
72         define expm1 as inline.
74         * sysdeps/m68k/m680x0/fpu/s_sin.c: Set errno to EDOM if argument
75         is infinite.
76         * sysdeps/m68k/m680x0/fpu/s_cos.c: Include <s_sin.c>.
77         * sysdeps/m68k/m680x0/fpu/s_tan.c: Likewise.
78         * sysdeps/m68k/m680x0/fpu/s_cosf.c: Include <s_sinf.c>.
79         * sysdeps/m68k/m680x0/fpu/s_cosl.c: Include <s_sinl.c>.
80         * sysdeps/m68k/m680x0/fpu/s_sinf.c: Include <s_sin.c>.
81         (FUNC): Don't define if already defined.
82         (float_type): Define.
83         * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
84         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__OPTIMIZE__]: Don't
85         define sin, cos, tan as inlines.
87 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
89         * sysdeps/m68k/crti.S: New file.
90         * sysdeps/m68k/crtn.S: New file.
92         * sysdeps/m68k/m680x0/sysdep.h (LOAD_GOT): Define.
93         * sysdeps/m68k/coldfire/sysdep.h (LOAD_GOT): Define.
94         * sysdeps/unix/sysv/linux/m68k/coldfire/m68k-helper.S: Remove.
95         * sysdeps/unix/sysv/linux/m68k/m680x0/m68k-helper.S: Remove.
96         * sysdeps/unix/sysv/linux/m68k/m68k-helper.S: New file.
98         * sysdeps/unix/sysv/linux/m68k/configure.in
99         (libc_cv_gcc_unwind_find_fde): Don't set on coldfire.
101 2012-01-29  Andreas Schwab  <schwab@linux-m68k.org>
103         * sysdeps/m68k/asm-syntax.h: Remove __STDC__ conditionals.
104         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
105         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
107 2012-01-08  Andreas Schwab  <schwab@linux-m68k.org>
109         * sysdeps/m68k/fpu/bits/fenv.h (FE_DFL_ENV, FE_NOMASK_ENV): Use
110         const intead of __const.
112         * sysdeps/m68k/asm-syntax.h: Remove non-ELF support.
113         * sysdeps/m68k/sysdep.h: Likewise.
114         (NO_UNDERSCORES): Don't define.
116 2012-01-07  Andreas Schwab  <schwab@linux-m68k.org>
118         * sysdeps/unix/sysv/linux/m68k/configure.in: Set
119         arch_minimum_kernel, libc_cv_gcc_unwind_find_fde and
120         ldd_rewrite_script.
122 2012-01-05  Andreas Schwab  <schwab@linux-m68k.org>
124         * sysdeps/m68k/dl-trampoline.S: Add cfi directives.
125         * sysdeps/m68k/memchr.S: Likewise.
126         * sysdeps/m68k/rawmemchr.S: Likewise.
127         * sysdeps/m68k/strchr.S: Likewise.
128         * sysdeps/m68k/strchrnul.S: Likewise.
129         * sysdeps/m68k/m680x0/add_n.S: Likewise.
130         * sysdeps/m68k/m680x0/lshift.S: Likewise.
131         * sysdeps/m68k/m680x0/rshift.S: Likewise.
132         * sysdeps/m68k/m680x0/sub_n.S: Likewise.
133         * sysdeps/m68k/m680x0/m68020/addmul_1.S: Likewise.
134         * sysdeps/m68k/m680x0/m68020/mul_1.S: Likewise.
135         * sysdeps/m68k/m680x0/m68020/submul_1.S: Likewise.
136         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
137         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Likewise.
138         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
139         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
140         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
141         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
142         * sysdeps/m68k/sysdep.h (CALL_MCOUNT): Likewise.
143         (ENTRY): Add cfi_startproc.
144         (END): Add cfi_endproc.
145         * sysdeps/unix/sysv/linux/m68k/coldfire/m68k-helpers.S: Remove
146         cfi_startproc/cfi_endproc.
147         * sysdeps/unix/sysv/linux/m68k/m680x0/m68k-helpers.S: Likewise.
148         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h (PSEUDO):
149         Likewise.
151 2011-12-23  Andreas Schwab  <schwab@linux-m68k.org>
153         * sysdeps/m68k/bits/byteswap.h (__bswap_constant_64): Protect long
154         long constant with __extension__.
156 2011-12-04  Thorsten Glaser  <tg@mirbsd.de>
158         * sysdeps/unix/sysv/linux/m68k/syscall.S: Allow six arguments.
160 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
162         * sysdeps/m68k/stackinfo.h (stackinfo_get_sp, stackinfo_sub_sp):
163         Define.
165 2011-10-26  Andreas Schwab  <schwab@linux-m68k.org>
167         * sysdeps/m68k/m680x0/fpu/math_private.h: New file.
169         * sysdeps/m68k/m680x0/fpu/sincostab.c: New file.
171 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
173         * sysdeps/m68k/coldfire/fpu/e_sqrt.c: Add __sqrt_finite alias.
174         * sysdeps/m68k/coldfire/fpu/e_sqrtf.c: Add __sqrtf_finite alias.
176         * sysdeps/m68k/m680x0/fpu/e_exp.c (FUNC_FINITE): Define.
177         * sysdeps/m68k/m680x0/fpu/e_expf.c (FUNC_FINITE): Define.
178         * sysdeps/m68k/m680x0/fpu/e_expl.c (FUNC_FINITE): Define.
180 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
182         * sysdeps/m68k/m680x0/fpu/s_ccos.c: Remove.
183         * sysdeps/m68k/m680x0/fpu/s_ccosf.c: Remove.
184         * sysdeps/m68k/m680x0/fpu/s_ccosl.c: Remove.
186 2011-10-13  Andreas Schwab  <schwab@linux-m68k.org>
188         * sysdeps/m68k/m680x0/fpu/e_acos.c: Add __*_finite alias.
189         * sysdeps/m68k/m680x0/fpu/e_acosf.c: Likewise.
190         * sysdeps/m68k/m680x0/fpu/e_acosl.c: Likewise.
191         * sysdeps/m68k/m680x0/fpu/e_asin.c: Likewise.
192         * sysdeps/m68k/m680x0/fpu/e_asinl.c: Likewise.
193         * sysdeps/m68k/m680x0/fpu/e_asinf.c: Likewise.
194         * sysdeps/m68k/m680x0/fpu/e_atan2.c: Likewise.
195         * sysdeps/m68k/m680x0/fpu/e_atanh.c: Likewise.
196         * sysdeps/m68k/m680x0/fpu/e_atanhf.c: Likewise.
197         * sysdeps/m68k/m680x0/fpu/e_atanhl.c: Likewise.
198         * sysdeps/m68k/m680x0/fpu/e_cosh.c: Likewise.
199         * sysdeps/m68k/m680x0/fpu/e_coshf.c: Likewise.
200         * sysdeps/m68k/m680x0/fpu/e_coshl.c: Likewise.
201         * sysdeps/m68k/m680x0/fpu/e_exp10.c: Likewise.
202         * sysdeps/m68k/m680x0/fpu/e_exp10f.c: Likewise.
203         * sysdeps/m68k/m680x0/fpu/e_exp10l.c: Likewise.
204         * sysdeps/m68k/m680x0/fpu/e_exp2.c: Likewise.
205         * sysdeps/m68k/m680x0/fpu/e_exp2l.c: Likewise.
206         * sysdeps/m68k/m680x0/fpu/e_exp2f.c: Likewise.
207         * sysdeps/m68k/m680x0/fpu/e_fmod.c: Likewise.
208         * sysdeps/m68k/m680x0/fpu/e_fmodf.c: Likewise.
209         * sysdeps/m68k/m680x0/fpu/e_fmodl.c: Likewise.
210         * sysdeps/m68k/m680x0/fpu/e_log.c: Likewise.
211         * sysdeps/m68k/m680x0/fpu/e_logl.c: Likewise.
212         * sysdeps/m68k/m680x0/fpu/e_logf.c: Likewise.
213         * sysdeps/m68k/m680x0/fpu/e_log10.c: Likewise.
214         * sysdeps/m68k/m680x0/fpu/e_log10f.c: Likewise.
215         * sysdeps/m68k/m680x0/fpu/e_log10l.c: Likewise.
216         * sysdeps/m68k/m680x0/fpu/e_log2.c: Likewise.
217         * sysdeps/m68k/m680x0/fpu/e_log2f.c: Likewise.
218         * sysdeps/m68k/m680x0/fpu/e_log2l.c: Likewise.
219         * sysdeps/m68k/m680x0/fpu/e_pow.c: Likewise.
220         * sysdeps/m68k/m680x0/fpu/e_remainder.c: Likewise.
221         * sysdeps/m68k/m680x0/fpu/e_remainderl.c: Likewise.
222         * sysdeps/m68k/m680x0/fpu/e_remainderf.c: Likewise.
223         * sysdeps/m68k/m680x0/fpu/e_scalb.c: Likewise.
224         * sysdeps/m68k/m680x0/fpu/e_sinh.c: Likewise.
225         * sysdeps/m68k/m680x0/fpu/e_sinhf.c: Likewise.
226         * sysdeps/m68k/m680x0/fpu/e_sinhl.c: Likewise.
227         * sysdeps/m68k/m680x0/fpu/e_sqrt.c: Likewise.
228         * sysdeps/m68k/m680x0/fpu/e_sqrtf.c: Likewise.
229         * sysdeps/m68k/m680x0/fpu/e_sqrtl.c: Likewise.
231 2011-10-09  Andreas Schwab  <schwab@linux-m68k.org>
233         * sysdeps/m68k/m680x0/s_isinfl.c: Remove.
234         * sysdeps/m68k/m680x0/s_isnanl.c: Remove.
236 2011-10-05  Andreas Schwab  <schwab@redhat.com>
238         * sysdeps/m68k/dl-machine.h (elf_machine_rela)
239         (elf_machine_lazy_rel): Add parameter skip_ifunc.
241 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
243         * sysdeps/m68k/nptl/tls.h: Don't define USE_TLS.
244         * sysdeps/m68k/dl-machine.h: Remove use of USE_TLS.
245         * sysdeps/m68k/libc-tls.c: Likewise.
247         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Remove use of
248         USE___THREAD.
250 2011-06-23  Andreas Schwab  <schwab@linux-m68k.org>
252         * sysdeps/m68k/dl-trampoline.S (_dl_runtime_profile)
253         [__mcoldfire__]: Fix typo saving %fp0.
255 2011-04-11  Andreas Schwab  <schwab@linux-m68k.org>
257         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Define.
259 2011-04-03  Andreas Schwab  <schwab@linux-m68k.org>
261         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Update comments.
262         (O_PATH): Define.
263         (struct file_handle, MAX_HANDLE_SZ): Define.
264         (name_to_handle_at, open_by_handle_at): Declare.
266 2011-03-06  Andreas Schwab  <schwab@linux-m68k.org>
268         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
269         (__bswap_64): Implement as inline functions.
271 2011-01-18  Andreas Schwab  <schwab@linux-m68k.org>
273         * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MADV_HUGEPAGE)
274         (MADV_NOHUGEPAGE): Define.
276 2011-01-10  Andreas Schwab  <schwab@linux-m68k.org>
278         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h (sem_t):
279         Force alignment.
281 2010-12-26  Andreas Schwab  <schwab@linux-m68k.org>
283         * sysdeps/m68k/stackinfo.h (DEFAULT_STACK_PERMS): Define.
285 2010-11-05  Andreas Schwab  <schwab@linux-m68k.org>
287         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Include
288         i386/fchownat.c.
290 2010-10-11  Andreas Schwab  <schwab@linux-m68k.org>
292         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Remove fma inlines.
294         * sysdeps/m68k/fpu/feupdateenv.c (feupdateenv): Add
295         libm_hidden_ver.
296         * sysdeps/m68k/fpu/ftestexcept.c (feupdateenv): Add
297         libm_hidden_def.
299 2010-08-25  Andreas Schwab  <schwab@linux-m68k.org>
301         * sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h
302         (SYSCALL_ERROR_LOAD_GOT): Use & instead of #.
304 2010-08-17  Andreas Schwab  <schwab@linux-m68k.org>
306         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove
307         fanotify_init.
309 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
311         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add prlimit64,
312         fanotify_init, fanotify_mask.
314 2010-08-02  Andreas Schwab  <schwab@linux-m68k.org>
316         * sysdeps/m68k/coldfire/sysdep.h: New file.
317         (PCREL_OP): Define.
318         * sysdeps/m68k/m680x0/sysdep.h: New file.
319         (PCREL_OP): Define.
320         * sysdeps/m68k/sysdep.h (PCREL_OP): Don't define here.
321         * sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h: New file.
322         (SYSCALL_ERROR_LOAD_GOT): Define.
323         * sysdeps/unix/sysv/linux/m68k/m680x0/sysdep.h: New file.
324         (SYSCALL_ERROR_LOAD_GOT): Define.
325         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't include subordinate
326         sysdep files.
327         (SYSCALL_ERROR_HANDLER) [PIC && USE___THREAD]: Use
328         SYSCALL_ERROR_LOAD_GOT.
330 2010-06-24  Joseph Myers  <joseph@codesourcery.com>
332         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETPIPE_SZ,
333         F_GETPIPE_SZ): Define.
335 2010-06-13  Andreas Schwab  <schwab@linux-m68k.org>
337         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Mark all functions as
338         non-throwing.
340         * sysdeps/unix/sysv/linux/m68k/sys/user.h (NBPG, UPAGES)
341         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Define.
343 2010-06-11  Andreas Schwab  <schwab@linux-m68k.org>
345         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Force
346         alignment of futex variables.
348 2010-05-22  Andreas Schwab  <schwab@linux-m68k.org>
350         * data/c++-types-m68k-linux-gnu.data: New file.
351         * data/localplt-m68k-linux-gnu.data: New file.
353 2010-03-13  Andreas Schwab  <schwab@linux-m68k.org>
355         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Use signbit macro.
356         * sysdeps/m68k/m680x0/fpu/s_ccos.c: Likewise.
358         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__signbit)
359         (__signbitf, __signbitl): Always define as inline.
361         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
362         Add variant for USE__THREAD.
364 2010-03-12  Andreas Schwab  <schwab@linux-m68k.org>
366         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Don't include
367         <sysdep.h>.
369         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Renamed ...
370         * sysdeps/unix/sysv/linux/m68k/coldfire/m68k-helpers.S: ... to
371         this.
372         * sysdeps/unix/sysv/linux/m68k/m680x0/m68k-helpers.S: New file.
374 2010-03-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
376         NPTL support for m68k/ColdFire
377         * sysdeps/unix/sysv/linux/m68k/sysdep.h (tls.h): Include.
378         (INTERNAL_SYSCALL): Convert to INTERNAL_SYSCALL_NCS.
379         (PTR_MANGLE, PTR_DEMANGLE): Define.
380         (NEED_STATIC_SYSINFO_DSO): Define.
381         * sysdeps/unix/sysv/linux/m68k/clone.S: Support RESET_PID.
382         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: New.
383         * sysdeps/unix/sysv/linux/m68k/Makefile: Add new files to lists.
384         * sysdeps/unix/sysv/linux/m68k/vfork.S: Add SAVE_PID/RESTORE_PID.
385         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: New.
386         * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: New.
387         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: New.
388         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: New.
389         * sysdeps/unix/sysv/linux/m68k/Versions: Add symbols for NPTL support.
390         * sysdeps/unix/sysv/linux/m68k/init-first.c: New.
391         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: New.
392         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: New.
393         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: New.
394         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: New.
395         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: New.
396         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: New.
397         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: New.
398         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: New.
399         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: New.
400         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: New.
401         * sysdeps/unix/sysv/linux/m68k/socket.S: Update cancelation code.
402         * sysdeps/m68k/dl-tls.h: New.
403         * sysdeps/m68k/libc-tls.c: New.
404         * sysdeps/m68k/tls-macros.h: New.
405         * sysdeps/m68k/dl-machine.h (RTLD_START): Terminate stack frame to
406         generate better backtraces.
407         (elf_machine_type_class, elf_machine_rela): Handle TLS relocations.
408         * sysdeps/m68k/dl-machine.h: Handle TLS relocations.
409         * sysdeps/m68k/nptl/tcb-offsets.sym: New.
410         * sysdeps/m68k/nptl/pthread_spin_trylock.c: New.
411         * sysdeps/m68k/nptl/tls.h: New.
412         * sysdeps/m68k/nptl/pthread_spin_lock.c: New.
413         * sysdeps/m68k/nptl/pthreaddef.h: New.
414         * sysdeps/m68k/nptl/Makefile: New.
416         * sysdeps/unix/sysv/linux/m68k/bits/sigcontext.h: Remove.
417         * sysdeps/unix/sysv/linux/m68k/register-dump.h: Update.
419         * sysdeps/unix/sysv/linux/m68k/bits/siginfo.h: Remove.
421         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ)
422         (_jmpbuf_sp, _JMPBUF_UNWINDS_ADJ, __libc_unwind_longjmp): Define.
424 2010-02-10  Joseph Myers  <joseph@codesourcery.com>
426         * sysdeps/m68k/fpu/fegetenv.c: Add hidden alias.
428 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
430         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Fix double-inclusion
431         problem.
433 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
435         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Define O_DIRECTORY,
436         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
437         XPG7.
438         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Enable using from
439         fcntl.h.
441 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
443         [BZ #11093]
444         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Define POLLRDNORM,
445         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
447 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
449         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Redefine O_SYNC and
450         O_DSYNC to match 2.6.33+ kernels.
452 2009-11-23  Andreas Schwab  <schwab@linux-m68k.org>
454         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Use struct timespec
455         for timestamps also if __USE_XOPEN2K8.
457 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
459         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Introduce new symbol
460         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
462 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
464         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Change misleading
465         names of parameters of sync_file_range.
467 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
469         [BZ #10972]
470         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add new MADV_*
471         constants from recent kernels.
473 2009-11-15  Andreas Schwab  <schwab@linux-m68k.org>
475         * sysdeps/m68k/libgcc_s.h: New file.
477 2009-11-14  Andreas Schwab  <schwab@linux-m68k.org>
479         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN_EX)
480         (F_GETOWN_EX, F_OWNER_TID, F_OWNER_PID, F_OWNER_GID, f_owner_ex):
481         Define.
483 2009-11-07  Joseph Myers  <joseph@codesourcery.com>
485         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (fallocate): Fix types
486         of last two arguments when -D_FILE_OFFSET_BITS=64.
488 2009-10-30  Joseph Myers  <joseph@codesourcery.com>
490         [BZ #10609]
491         * sysdeps/unix/sysv/linux/m68k/fchownat.c (fchownat): Fix handling
492         of empty parameters for file names.
494 2009-09-06  Andreas Schwab  <schwab@linux-m68k.org>
496         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c: New file.
498         * sysdeps/m68k/__longjmp.c (__longjmp): Call CHECK_SP if defined.
500 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
502         * sysdeps/unix/sysv/linux/m68k/Versions (libc): Add
503         fallocate64@@GLIBC_2.11.
505 2009-04-25  Andreas Schwab  <schwab@linux-m68k.org>
507         * sysdeps/unix/sysv/linux/m68k/kernel-features.h: Revert last
508         change, the syscalls have been added to 2.6.30-rc4.
510 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
512         * sysdeps/unix/sysv/linux/m68k/kernel-features.h (__ASSUME_PREADV,
513         __ASSUME_PWRITEV): Undefine.
515 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
517         * sysdeps/unix/sysv/linux/m68k/getsysstats.c (GET_NPROCS_PARSER):
518         Change parameters and use next_line.
520 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
522         * sysdeps/m68k/bits/link.h: Uglify function parameter names.
524 2009-03-04  Joseph Myers  <joseph@codesourcery.com>
526         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Declare
527         fallocate{,64}.
529 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
531         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Protect UTIME_NOW and
532         UTIME_OMIT only with __USE_ATFILE.
534 2008-08-10  Joseph Myers  <joseph@codesourcery.com>
536         * sysdeps/m68k/bits/byteswap.h: Allow inclusion from <endian.h>.
537         (__bswap_constant_16): Define.
538         (__bswap_16): Allow arguments with side effects.
539         (__bswap_constant_32): Ensure result is unsigned.
540         (__bswap_32): Define as inline function in fallback case.
541         (__bswap_constant_64): Define.
542         (__bswap_64): Use it for constant arguments.
543         * sysdeps/m68k/bits/setjmp.h (__jmp_buf): Give name to structure
544         type.
545         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Only allow inclusion
546         from <math.h>.  Do not use extern inline directly.
547         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Include <bits/uio.h>.
548         (O_CLOEXEC, SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
549         SYNC_FILE_RANGE_WAIT_AFTER, SPLICE_F_MOVE, SPLICE_F_NONBLOCK,
550         SPLICE_F_MORE, SPLICE_F_GIFT): Define.
551         (sync_file_range, vmsplice, splice, tee): Declare.
552         * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MADV_REMOVE): Define.
553         * sysdeps/unix/sysv/linux/m68k/bits/poll.h (POLLMSG, POLLREMOVE,
554         POLLRDHUP): Define.
555         * sysdeps/unix/sysv/linux/m68k/bits/stat.h (UTIME_NOW,
556         UTIME_OMIT): Define.
557         * sysdeps/unix/sysv/linux/m68k/kernel-features.h: New.
558         * sysdeps/unix/sysv/linux/m68k/sys/user.h: New.
560 2008-03-28  Maxim Kuvyrkov  <maxim@codesourcery.com>
562         Explicitly get address of _DYNAMIC.
563         * sysdeps/m68k/dl-machine.h (elf_machine_dynamic): Retrieve _DYNAMIC
564         from GOT instead of assuming value at GOT pointer.
566 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
568         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
570 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
572         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Comment fix.
574 2006-11-28  Andreas Schwab  <schwab@suse.de>
576         * sysdeps/unix/sysv/linux/m68k/sysdep.h (DOARGS_6, _DOARGS_6)
577         (UNDOARGS_6): Define for 6-argument syscall stubs.
579 2006-10-03  Andreas Schwab  <schwab@suse.de>
581         * sysdeps/m68k/setjmp.c: Use __builtin_return_address and
582         __builtin_frame_address.  Don't call __sigjmp_save in ld.so.
584         * sysdeps/unix/sysv/linux/m68k/mremap.S: Accept fifth parameter.
586 2006-10-03  Richard Sandiford  <richard@codesourcery.com>
588         * sysdeps/m68k/bits/mathdef.h: Moved from sysdeps/m68k to
589         sysdeps/m68k/m680x0.
590         * sysdeps/m68k/m68020/submul_1.S: Likewise.
591         * sysdeps/m68k/m68020/Makefile: Likewise.
592         * sysdeps/m68k/m68020/mul_1.S: Likewise.
593         * sysdeps/m68k/m68020/wordcopy.S: Likewise.
594         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
595         * sysdeps/m68k/m68020/bits/string.h: Likewise.
596         * sysdeps/m68k/m68020/bits/atomic.h: Likewise.
597         * sysdeps/m68k/sub_n.S: Likewise.
598         * sysdeps/m68k/add_n.S: Likewise.
599         * sysdeps/m68k/s_isnanl.c: Likewise.
600         * sysdeps/m68k/fpu/s_log1p.c: Likewise.
601         * sysdeps/m68k/fpu/e_asinf.c: Likewise.
602         * sysdeps/m68k/fpu/s_cosl.c: Likewise.
603         * sysdeps/m68k/fpu/s_isinff.c: Likewise.
604         * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
605         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
606         * sysdeps/m68k/fpu/s_expm1.c: Likewise.
607         * sysdeps/m68k/fpu/slowexp.c: Likewise.
608         * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
609         * sysdeps/m68k/fpu/s_ccoshf.c: Likewise.
610         * sysdeps/m68k/fpu/s_ilogbl.c: Likewise.
611         * sysdeps/m68k/fpu/Makefile: Likewise.
612         * sysdeps/m68k/fpu/s_expm1f.c: Likewise.
613         * sysdeps/m68k/fpu/s_significandf.c: Likewise.
614         * sysdeps/m68k/fpu/e_pow.c: Likewise.
615         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
616         * sysdeps/m68k/fpu/e_exp.c: Likewise.
617         * sysdeps/m68k/fpu/s_remquof.c: Likewise.
618         * sysdeps/m68k/fpu/s_ilogbf.c: Likewise.
619         * sysdeps/m68k/fpu/s_truncl.c: Likewise.
620         * sysdeps/m68k/fpu/s_frexpf.c: Likewise.
621         * sysdeps/m68k/fpu/s_cos.c: Likewise.
622         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
623         * sysdeps/m68k/fpu/branred.c: Likewise.
624         * sysdeps/m68k/fpu/s_frexpl.c: Likewise.
625         * sysdeps/m68k/fpu/s_atan.c: Likewise.
626         * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
627         * sysdeps/m68k/fpu/e_scalbl.c: Likewise.
628         * sysdeps/m68k/fpu/e_exp2.c: Likewise.
629         * sysdeps/m68k/fpu/s_cexpf.c: Likewise.
630         * sysdeps/m68k/fpu/mplog.c: Likewise.
631         * sysdeps/m68k/fpu/s_rintf.c: Likewise.
632         * sysdeps/m68k/fpu/s_tanh.c: Likewise.
633         * sysdeps/m68k/fpu/e_scalbf.c: Likewise.
634         * sysdeps/m68k/fpu/s_csinhl.c: Likewise.
635         * sysdeps/m68k/fpu/s_floorl.c: Likewise.
636         * sysdeps/m68k/fpu/k_tanf.c: Likewise.
637         * sysdeps/m68k/fpu/k_tanl.c: Likewise.
638         * sysdeps/m68k/fpu/e_fmodf.c: Likewise.
639         * sysdeps/m68k/fpu/e_atanhf.c: Likewise.
640         * sysdeps/m68k/fpu/s_isnanf.c: Likewise.
641         * sysdeps/m68k/fpu/s_fpclassifyl.c: Likewise.
642         * sysdeps/m68k/fpu/s_modf.c: Likewise.
643         * sysdeps/m68k/fpu/e_log2.c: Likewise.
644         * sysdeps/m68k/fpu/e_acosf.c: Likewise.
645         * sysdeps/m68k/fpu/s_log1pl.c: Likewise.
646         * sysdeps/m68k/fpu/e_log2f.c: Likewise.
647         * sysdeps/m68k/fpu/mpa.c: Likewise.
648         * sysdeps/m68k/fpu/t_exp.c: Likewise.
649         * sysdeps/m68k/fpu/e_acos.c: Likewise.
650         * sysdeps/m68k/fpu/s_expm1l.c: Likewise.
651         * sysdeps/m68k/fpu/s_ccoshl.c: Likewise.
652         * sysdeps/m68k/fpu/s_sinf.c: Likewise.
653         * sysdeps/m68k/fpu/k_tan.c: Likewise.
654         * sysdeps/m68k/fpu/k_cosl.c: Likewise.
655         * sysdeps/m68k/fpu/e_remainder.c: Likewise.
656         * sysdeps/m68k/fpu/s_trunc.c: Likewise.
657         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
658         * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
659         * sysdeps/m68k/fpu/s_finitef.c: Likewise.
660         * sysdeps/m68k/fpu/s_tanhl.c: Likewise.
661         * sysdeps/m68k/fpu/s_lrintl.c: Likewise.
662         * sysdeps/m68k/fpu/slowpow.c: Likewise.
663         * sysdeps/m68k/fpu/mpexp.c: Likewise.
664         * sysdeps/m68k/fpu/s_isnanl.c: Likewise.
665         * sysdeps/m68k/fpu/e_expf.c: Likewise.
666         * sysdeps/m68k/fpu/s_significand.c: Likewise.
667         * sysdeps/m68k/fpu/e_sinhf.c: Likewise.
668         * sysdeps/m68k/fpu/s_tanl.c: Likewise.
669         * sysdeps/m68k/fpu/s_tanhf.c: Likewise.
670         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
671         * sysdeps/m68k/fpu/e_sqrtf.c: Likewise.
672         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
673         * sysdeps/m68k/fpu/s_nearbyint.c: Likewise.
674         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
675         * sysdeps/m68k/fpu/sincos32.c: Likewise.
676         * sysdeps/m68k/fpu/e_sqrtl.c: Likewise.
677         * sysdeps/m68k/fpu/s_sincosl.c: Likewise.
678         * sysdeps/m68k/fpu/e_atan2f.c: Likewise.
679         * sysdeps/m68k/fpu/s_nearbyintf.c: Likewise.
680         * sysdeps/m68k/fpu/e_fmodl.c: Likewise.
681         * sysdeps/m68k/fpu/e_coshf.c: Likewise.
682         * sysdeps/m68k/fpu/s_csinf.c: Likewise.
683         * sysdeps/m68k/fpu/s_ccosl.c: Likewise.
684         * sysdeps/m68k/fpu/e_sqrt.c: Likewise.
685         * sysdeps/m68k/fpu/s_sin.c: Likewise.
686         * sysdeps/m68k/fpu/e_asin.c: Likewise.
687         * sysdeps/m68k/fpu/mptan.c: Likewise.
688         * sysdeps/m68k/fpu/e_exp10f.c: Likewise.
689         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
690         * sysdeps/m68k/fpu/s_finitel.c: Likewise.
691         * sysdeps/m68k/fpu/e_log10.c: Likewise.
692         * sysdeps/m68k/fpu/k_sinl.c: Likewise.
693         * sysdeps/m68k/fpu/e_remainderl.c: Likewise.
694         * sysdeps/m68k/fpu/s_remquol.c: Likewise.
695         * sysdeps/m68k/fpu/s_scalblnf.c: Likewise.
696         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
697         * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
698         * sysdeps/m68k/fpu/e_asinl.c: Likewise.
699         * sysdeps/m68k/fpu/e_logl.c: Likewise.
700         * sysdeps/m68k/fpu/s_cosf.c: Likewise.
701         * sysdeps/m68k/fpu/s_rint.c: Likewise.
702         * sysdeps/m68k/fpu/s_ceill.c: Likewise.
703         * sysdeps/m68k/fpu/s_modfl.c: Likewise.
704         * sysdeps/m68k/fpu/s_csinl.c: Likewise.
705         * sysdeps/m68k/fpu/s_tan.c: Likewise.
706         * sysdeps/m68k/fpu/s_sincosf.c: Likewise.
707         * sysdeps/m68k/fpu/dosincos.c: Likewise.
708         * sysdeps/m68k/fpu/e_powl.c: Likewise.
709         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
710         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
711         * sysdeps/m68k/fpu/e_expl.c: Likewise.
712         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
713         * sysdeps/m68k/fpu/s_tanf.c: Likewise.
714         * sysdeps/m68k/fpu/mpsqrt.c: Likewise.
715         * sysdeps/m68k/fpu/s_sinl.c: Likewise.
716         * sysdeps/m68k/fpu/mathimpl.h: Likewise.
717         * sysdeps/m68k/fpu/e_acosl.c: Likewise.
718         * sysdeps/m68k/fpu/e_cosh.c: Likewise.
719         * sysdeps/m68k/fpu/s_cexpl.c: Likewise.
720         * sysdeps/m68k/fpu/s_fabsl.c: Likewise.
721         * sysdeps/m68k/fpu/halfulp.c: Likewise.
722         * sysdeps/m68k/fpu/s_modff.c: Likewise.
723         * sysdeps/m68k/fpu/s_isnan.c: Likewise.
724         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
725         * sysdeps/m68k/fpu/s_fabs.c: Likewise.
726         * sysdeps/m68k/fpu/e_log10f.c: Likewise.
727         * sysdeps/m68k/fpu/k_cosf.c: Likewise.
728         * sysdeps/m68k/fpu/e_sinh.c: Likewise.
729         * sysdeps/m68k/fpu/s_truncf.c: Likewise.
730         * sysdeps/m68k/fpu/s_ceil.c: Likewise.
731         * sysdeps/m68k/fpu/s_log1pf.c: Likewise.
732         * sysdeps/m68k/fpu/e_logf.c: Likewise.
733         * sysdeps/m68k/fpu/mpatan.c: Likewise.
734         * sysdeps/m68k/fpu/s_csin.c: Likewise.
735         * sysdeps/m68k/fpu/e_exp2l.c: Likewise.
736         * sysdeps/m68k/fpu/e_sinhl.c: Likewise.
737         * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
738         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
739         * sysdeps/m68k/fpu/s_floorf.c: Likewise.
740         * sysdeps/m68k/fpu/e_log2l.c: Likewise.
741         * sysdeps/m68k/fpu/s_atanl.c: Likewise.
742         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
743         * sysdeps/m68k/fpu/k_sinf.c: Likewise.
744         * sysdeps/m68k/fpu/s_csinhf.c: Likewise.
745         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
746         * sysdeps/m68k/fpu/s_atanf.c: Likewise.
747         * sysdeps/m68k/fpu/s_floor.c: Likewise.
748         * sysdeps/m68k/fpu/e_exp10l.c: Likewise.
749         * sysdeps/m68k/fpu/doasin.c: Likewise.
750         * sysdeps/m68k/fpu/s_rintl.c: Likewise.
751         * sysdeps/m68k/fpu/e_atanhl.c: Likewise.
752         * sysdeps/m68k/fpu/e_remainderf.c: Likewise.
753         * sysdeps/m68k/fpu/s_scalbln.c: Likewise.
754         * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
755         * sysdeps/m68k/fpu/e_exp10.c: Likewise.
756         * sysdeps/m68k/fpu/s_lrintf.c: Likewise.
757         * sysdeps/m68k/fpu/k_cos.c: Likewise.
758         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
759         * sysdeps/m68k/fpu/s_ccosf.c: Likewise.
760         * sysdeps/m68k/fpu/s_scalblnl.c: Likewise.
761         * sysdeps/m68k/fpu/switch/Makefile: Likewise.
762         * sysdeps/m68k/fpu/switch/switch.c: Likewise.
763         * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
764         * sysdeps/m68k/fpu/switch/bits/mathinline.h: Likewise.
765         * sysdeps/m68k/fpu/e_log.c: Likewise.
766         * sysdeps/m68k/fpu/s_nextafterl.c: Likewise.
767         * sysdeps/m68k/fpu/s_nearbyintl.c: Likewise.
768         * sysdeps/m68k/fpu/mpatan2.c: Likewise.
769         * sysdeps/m68k/fpu/k_sin.c: Likewise.
770         * sysdeps/m68k/fpu/e_atanh.c: Likewise.
771         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
772         * sysdeps/m68k/fpu/e_log10l.c: Likewise.
773         * sysdeps/m68k/fpu/s_ceilf.c: Likewise.
774         * sysdeps/m68k/fpu/s_fabsf.c: Likewise.
775         * sysdeps/m68k/fpu/s_significandl.c: Likewise.
776         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
777         * sysdeps/m68k/fpu/e_coshl.c: Likewise.
778         * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
779         * sysdeps/m68k/fpu/s_finite.c: Likewise.
780         * sysdeps/m68k/fpu/e_exp2f.c: Likewise.
781         * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
782         * sysdeps/m68k/fpu/s_isinfl.c: Likewise.
783         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
784         * sysdeps/m68k/fpu/e_powf.c: Likewise.
785         * sysdeps/m68k/rshift.S: Likewise.
786         * sysdeps/m68k/lshift.S: Likewise.
787         * sysdeps/m68k/strtold_l.c: Likewise.
788         * sysdeps/m68k/printf_fphex.c: Likewise.
789         * sysdeps/m68k/s_isinfl.c: Likewise.
790         * sysdeps/m68k/bits/huge_vall.h: Likewise.
792         * sysdeps/m68k/asm-syntax.h (andw, andl, subqw, tstw, tstl): New.
793         * sysdeps/m68k/bits/byteswap.h (__bswap32): Don't define for
794         Coldfire targets.
795         * sysdeps/m68k/bits/setjmp.h (__jmp_buf): Add a 64-byte
796         __fpregs field for Coldfire FPUs.
797         * sysdeps/m68k/dl-machine.h: Include sysdep.h.
798         (elf_machine_load_address): Use PCREL_OP.
799         (_dl_start_user): Likewise.
800         * sysdeps/m68k/dl-trampoline.S (_dl_runtime_resolve): Avoid jmp (%dN)
801         on Coldfire; push the target address and use rts instead.
802         (_dl_runtime_profile): Likewise.  Round up the frame size to longword
803         rather than word alignment.  Avoid dbra on Coldfire.  Avoid using
804         jsr (%d0) on Coldfire; push the return address and target address
805         and use rts instead.  Use fmovem.l rather than fmovem.x on Coldfire.
806         Add missing initialization of lrv_a0 and restore a0 from it after
807         calling _dl_call_pltexit.  Adjust the stack offsets of later data
808         accordingly, fixing a previously incorrect offset for the inregs
809         parameter.
810         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Save the control
811         registers individually on Coldfire targets.
812         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
813         Add missing libm_hidden_def.
814         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Save and restore the
815         control registers individually on Coldfire targets.
816         * sysdeps/m68k/fpu/fesetround.c (fesetround): Add missing
817         libm_hidden_def.
818         * sysdeps/m68k/fpu_control.h: Add the Coldfire bit assignments to
819         the main comment.
820         (_FPU_DOUBLE): Define to 0 for Coldfire.
821         (_FPU_EXTENDED): Don't define for Coldfire.
822         (_FPU_RESERVED): Include bit 15 for Coldfire.
823         * sysdeps/m68k/Implies: Remove ieee754/ldbl-96.
824         * sysdeps/m68k/m680x0/Implies: Add it to this new file instead.
825         * sysdeps/m68k/ldsodefs.h: New file.
826         * sysdeps/m68k/__longjmp.c (__longjmp): Restore the floating-point
827         registers when using a Coldfire FPU.
828         * sysdeps/m68k/Makefile (long-double-fcts): Delete.
829         * sysdeps/m68k/m680x0/Makefile: Add it to this new file instead.
830         * sysdeps/m68k/memchr.S (__memchr): Add Coldfire code.  Avoid
831         unnecessary moves.
832         * sysdeps/m68k/preconfigure (m680?0): Add "m680x0" to $machine.
833         (m68k): Use the compiler to decide whether $machine should be
834         set to m68k/coldfire or m68k/m680x0/m68020.
835         * sysdeps/m68k/rawmemchr.S (__rawmemchr): Add Coldfire code.  Avoid
836         unnecessary moves.
837         * sysdeps/m68k/setjmp.c (__sigsetjmp): Save the floating-point
838         registers when using a Coldfire FPU.  Use libc_hidden_def rather
839         than hidden_def.
840         * sysdeps/m68k/strchrnul.S (__strchrnul): Add Coldfire code.  Avoid
841         unnecessary moves.
842         * sysdeps/m68k/strchr.S (strchr): Likewise.
843         * sysdeps/m68k/sysdep.h (PCREL_OP): Define.
844         * sysdeps/m68k/tst-audit.h: New file.
845         * sysdeps/m68k/wcpcpy.c: Likewise.
846         * sysdeps/m68k/wcpcpy_chk.c: Likewise.
847         * sysdeps/unix/sysv/linux/m68k/configure.in: New file.
848         * sysdeps/unix/sysv/linux/m68k/configure: Likewise.
849         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Add Coldfire code.
850         * sysdeps/unix/sysv/linux/m68k/register-dump.h (real_catch_segfault):
851         Do not define on Coldfire.
852         (catch_segfault): Likewise.
853         (register_dump): Use the Coldfire-specific sigcontext fields to
854         display call-saved data and address registers (rather than the
855         data stored in sc_fpstate by real_catch_segfault).  Display 8-byte
856         floating-point registers on Coldfire.
857         * sysdeps/unix/sysv/linux/m68k/socket.S (__socket): Pass a temporary
858         register to SINGLE_THREAD_P.
859         * sysdeps/unix/sysv/linux/m68k/sys/reg.h (PT_FP0): Redefine for
860         Coldfire.
861         (PT_FP1, PT_FP2, PT_FP3, PT_FP4, PT_FP5, PT_FP6, PT_FP7): Likewise.
862         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset): Sync field
863         order with linux.  Make f_fpregs an 8*2 array on Coldfire.
864         (ucontext): Sync field order with linux.
865         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Guard against multiple
866         inclusion.
867         (SYSCALL_ERROR_HANDLER): Use PCREL_OP.
868         * sysdeps/unix/sysv/linux/m68k/syscalls.list (oldgetrlimit): Delete.
869         (oldsetrlimit): Likewise.
870         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: New file.
871         List oldgetrlimit and oldsetrlimit here instead.
872         * sysdeps/unix/sysv/linux/m68k/bits/sigcontext.h: New file.
873         * sysdeps/unix/sysv/linux/m68k/bits/siginfo.h: Likewise.
874         * sysdeps/m68k/coldfire/bits/atomic.h: Likewise.
875         * sysdeps/m68k/coldfire/fpu/e_sqrt.c: Likewise.
876         * sysdeps/m68k/coldfire/fpu/e_sqrtf.c: Likewise.
877         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c: Likewise.
878         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
879         * sysdeps/m68k/coldfire/fpu/s_fabs.c: Likewise.
880         * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Likewise.
881         * sysdeps/m68k/coldfire/fpu/s_lrint.c: Likewise.
882         * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Likewise.
883         * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
884         * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
885         * sysdeps/m68k/coldfire/shlib-versions: Likewise.
887 2006-02-28  Roland McGrath  <roland@redhat.com>
889         * sysdeps/m68k/preconfigure: New file.