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