m68k: update ColdFire sigcontext ABI
[glibc.git] / ChangeLog.m68k
blobd63b88e495e9cc9a58a6badb526294fe42acb51d
1 2010-03-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
3         * sysdeps/unix/sysv/linux/m68k/bits/sigcontext.h: Remove.
4         * sysdeps/unix/sysv/linux/m68k/register-dump.h: Update.
6         * sysdeps/unix/sysv/linux/m68k/bits/siginfo.h: Remove.
8         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ)
9         (_jmpbuf_sp, _JMPBUF_UNWINDS_ADJ, __libc_unwind_longjmp): Define.
11 2010-02-10  Joseph Myers  <joseph@codesourcery.com>
13         * sysdeps/m68k/fpu/fegetenv.c: Add hidden alias.
15 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
17         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Fix double-inclusion
18         problem.
20 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
22         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Define O_DIRECTORY,
23         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
24         XPG7.
25         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Enable using from
26         fcntl.h.
28 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
30         [BZ #11093]
31         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Define POLLRDNORM,
32         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
34 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
36         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Redefine O_SYNC and
37         O_DSYNC to match 2.6.33+ kernels.
39 2009-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Use struct timespec
42         for timestamps also if __USE_XOPEN2K8.
44 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
46         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Introduce new symbol
47         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
49 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
51         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Change misleading
52         names of parameters of sync_file_range.
54 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
56         [BZ #10972]
57         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add new MADV_*
58         constants from recent kernels.
60 2009-11-15  Andreas Schwab  <schwab@linux-m68k.org>
62         * sysdeps/m68k/libgcc_s.h: New file.
64 2009-11-14  Andreas Schwab  <schwab@linux-m68k.org>
66         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN_EX)
67         (F_GETOWN_EX, F_OWNER_TID, F_OWNER_PID, F_OWNER_GID, f_owner_ex):
68         Define.
70 2009-11-07  Joseph Myers  <joseph@codesourcery.com>
72         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (fallocate): Fix types
73         of last two arguments when -D_FILE_OFFSET_BITS=64.
75 2009-10-30  Joseph Myers  <joseph@codesourcery.com>
77         [BZ #10609]
78         * sysdeps/unix/sysv/linux/m68k/fchownat.c (fchownat): Fix handling
79         of empty parameters for file names.
81 2009-09-06  Andreas Schwab  <schwab@linux-m68k.org>
83         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c: New file.
85         * sysdeps/m68k/__longjmp.c (__longjmp): Call CHECK_SP if defined.
87 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
89         * sysdeps/unix/sysv/linux/m68k/Versions (libc): Add
90         fallocate64@@GLIBC_2.11.
92 2009-04-25  Andreas Schwab  <schwab@linux-m68k.org>
94         * sysdeps/unix/sysv/linux/m68k/kernel-features.h: Revert last
95         change, the syscalls have been added to 2.6.30-rc4.
97 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
99         * sysdeps/unix/sysv/linux/m68k/kernel-features.h (__ASSUME_PREADV,
100         __ASSUME_PWRITEV): Undefine.
102 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
104         * sysdeps/unix/sysv/linux/m68k/getsysstats.c (GET_NPROCS_PARSER):
105         Change parameters and use next_line.
107 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
109         * sysdeps/m68k/bits/link.h: Uglify function parameter names.
111 2009-03-04  Joseph Myers  <joseph@codesourcery.com>
113         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Declare
114         fallocate{,64}.
116 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
118         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Protect UTIME_NOW and
119         UTIME_OMIT only with __USE_ATFILE.
121 2008-08-10  Joseph Myers  <joseph@codesourcery.com>
123         * sysdeps/m68k/bits/byteswap.h: Allow inclusion from <endian.h>.
124         (__bswap_constant_16): Define.
125         (__bswap_16): Allow arguments with side effects.
126         (__bswap_constant_32): Ensure result is unsigned.
127         (__bswap_32): Define as inline function in fallback case.
128         (__bswap_constant_64): Define.
129         (__bswap_64): Use it for constant arguments.
130         * sysdeps/m68k/bits/setjmp.h (__jmp_buf): Give name to structure
131         type.
132         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Only allow inclusion
133         from <math.h>.  Do not use extern inline directly.
134         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Include <bits/uio.h>.
135         (O_CLOEXEC, SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
136         SYNC_FILE_RANGE_WAIT_AFTER, SPLICE_F_MOVE, SPLICE_F_NONBLOCK,
137         SPLICE_F_MORE, SPLICE_F_GIFT): Define.
138         (sync_file_range, vmsplice, splice, tee): Declare.
139         * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MADV_REMOVE): Define.
140         * sysdeps/unix/sysv/linux/m68k/bits/poll.h (POLLMSG, POLLREMOVE,
141         POLLRDHUP): Define.
142         * sysdeps/unix/sysv/linux/m68k/bits/stat.h (UTIME_NOW,
143         UTIME_OMIT): Define.
144         * sysdeps/unix/sysv/linux/m68k/kernel-features.h: New.
145         * sysdeps/unix/sysv/linux/m68k/sys/user.h: New.
147 2008-03-28  Maxim Kuvyrkov  <maxim@codesourcery.com>
149         Explicitly get address of _DYNAMIC.
150         * sysdeps/m68k/dl-machine.h (elf_machine_dynamic): Retrieve _DYNAMIC
151         from GOT instead of assuming value at GOT pointer.
153 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
155         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
157 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
159         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Comment fix.
161 2006-11-28  Andreas Schwab  <schwab@suse.de>
163         * sysdeps/unix/sysv/linux/m68k/sysdep.h (DOARGS_6, _DOARGS_6)
164         (UNDOARGS_6): Define for 6-argument syscall stubs.
166 2006-10-03  Andreas Schwab  <schwab@suse.de>
168         * sysdeps/m68k/setjmp.c: Use __builtin_return_address and
169         __builtin_frame_address.  Don't call __sigjmp_save in ld.so.
171         * sysdeps/unix/sysv/linux/m68k/mremap.S: Accept fifth parameter.
173 2006-10-03  Richard Sandiford  <richard@codesourcery.com>
175         * sysdeps/m68k/bits/mathdef.h: Moved from sysdeps/m68k to
176         sysdeps/m68k/m680x0.
177         * sysdeps/m68k/m68020/submul_1.S: Likewise.
178         * sysdeps/m68k/m68020/Makefile: Likewise.
179         * sysdeps/m68k/m68020/mul_1.S: Likewise.
180         * sysdeps/m68k/m68020/wordcopy.S: Likewise.
181         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
182         * sysdeps/m68k/m68020/bits/string.h: Likewise.
183         * sysdeps/m68k/m68020/bits/atomic.h: Likewise.
184         * sysdeps/m68k/sub_n.S: Likewise.
185         * sysdeps/m68k/add_n.S: Likewise.
186         * sysdeps/m68k/s_isnanl.c: Likewise.
187         * sysdeps/m68k/fpu/s_log1p.c: Likewise.
188         * sysdeps/m68k/fpu/e_asinf.c: Likewise.
189         * sysdeps/m68k/fpu/s_cosl.c: Likewise.
190         * sysdeps/m68k/fpu/s_isinff.c: Likewise.
191         * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
192         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
193         * sysdeps/m68k/fpu/s_expm1.c: Likewise.
194         * sysdeps/m68k/fpu/slowexp.c: Likewise.
195         * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
196         * sysdeps/m68k/fpu/s_ccoshf.c: Likewise.
197         * sysdeps/m68k/fpu/s_ilogbl.c: Likewise.
198         * sysdeps/m68k/fpu/Makefile: Likewise.
199         * sysdeps/m68k/fpu/s_expm1f.c: Likewise.
200         * sysdeps/m68k/fpu/s_significandf.c: Likewise.
201         * sysdeps/m68k/fpu/e_pow.c: Likewise.
202         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
203         * sysdeps/m68k/fpu/e_exp.c: Likewise.
204         * sysdeps/m68k/fpu/s_remquof.c: Likewise.
205         * sysdeps/m68k/fpu/s_ilogbf.c: Likewise.
206         * sysdeps/m68k/fpu/s_truncl.c: Likewise.
207         * sysdeps/m68k/fpu/s_frexpf.c: Likewise.
208         * sysdeps/m68k/fpu/s_cos.c: Likewise.
209         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
210         * sysdeps/m68k/fpu/branred.c: Likewise.
211         * sysdeps/m68k/fpu/s_frexpl.c: Likewise.
212         * sysdeps/m68k/fpu/s_atan.c: Likewise.
213         * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
214         * sysdeps/m68k/fpu/e_scalbl.c: Likewise.
215         * sysdeps/m68k/fpu/e_exp2.c: Likewise.
216         * sysdeps/m68k/fpu/s_cexpf.c: Likewise.
217         * sysdeps/m68k/fpu/mplog.c: Likewise.
218         * sysdeps/m68k/fpu/s_rintf.c: Likewise.
219         * sysdeps/m68k/fpu/s_tanh.c: Likewise.
220         * sysdeps/m68k/fpu/e_scalbf.c: Likewise.
221         * sysdeps/m68k/fpu/s_csinhl.c: Likewise.
222         * sysdeps/m68k/fpu/s_floorl.c: Likewise.
223         * sysdeps/m68k/fpu/k_tanf.c: Likewise.
224         * sysdeps/m68k/fpu/k_tanl.c: Likewise.
225         * sysdeps/m68k/fpu/e_fmodf.c: Likewise.
226         * sysdeps/m68k/fpu/e_atanhf.c: Likewise.
227         * sysdeps/m68k/fpu/s_isnanf.c: Likewise.
228         * sysdeps/m68k/fpu/s_fpclassifyl.c: Likewise.
229         * sysdeps/m68k/fpu/s_modf.c: Likewise.
230         * sysdeps/m68k/fpu/e_log2.c: Likewise.
231         * sysdeps/m68k/fpu/e_acosf.c: Likewise.
232         * sysdeps/m68k/fpu/s_log1pl.c: Likewise.
233         * sysdeps/m68k/fpu/e_log2f.c: Likewise.
234         * sysdeps/m68k/fpu/mpa.c: Likewise.
235         * sysdeps/m68k/fpu/t_exp.c: Likewise.
236         * sysdeps/m68k/fpu/e_acos.c: Likewise.
237         * sysdeps/m68k/fpu/s_expm1l.c: Likewise.
238         * sysdeps/m68k/fpu/s_ccoshl.c: Likewise.
239         * sysdeps/m68k/fpu/s_sinf.c: Likewise.
240         * sysdeps/m68k/fpu/k_tan.c: Likewise.
241         * sysdeps/m68k/fpu/k_cosl.c: Likewise.
242         * sysdeps/m68k/fpu/e_remainder.c: Likewise.
243         * sysdeps/m68k/fpu/s_trunc.c: Likewise.
244         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
245         * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
246         * sysdeps/m68k/fpu/s_finitef.c: Likewise.
247         * sysdeps/m68k/fpu/s_tanhl.c: Likewise.
248         * sysdeps/m68k/fpu/s_lrintl.c: Likewise.
249         * sysdeps/m68k/fpu/slowpow.c: Likewise.
250         * sysdeps/m68k/fpu/mpexp.c: Likewise.
251         * sysdeps/m68k/fpu/s_isnanl.c: Likewise.
252         * sysdeps/m68k/fpu/e_expf.c: Likewise.
253         * sysdeps/m68k/fpu/s_significand.c: Likewise.
254         * sysdeps/m68k/fpu/e_sinhf.c: Likewise.
255         * sysdeps/m68k/fpu/s_tanl.c: Likewise.
256         * sysdeps/m68k/fpu/s_tanhf.c: Likewise.
257         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
258         * sysdeps/m68k/fpu/e_sqrtf.c: Likewise.
259         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
260         * sysdeps/m68k/fpu/s_nearbyint.c: Likewise.
261         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
262         * sysdeps/m68k/fpu/sincos32.c: Likewise.
263         * sysdeps/m68k/fpu/e_sqrtl.c: Likewise.
264         * sysdeps/m68k/fpu/s_sincosl.c: Likewise.
265         * sysdeps/m68k/fpu/e_atan2f.c: Likewise.
266         * sysdeps/m68k/fpu/s_nearbyintf.c: Likewise.
267         * sysdeps/m68k/fpu/e_fmodl.c: Likewise.
268         * sysdeps/m68k/fpu/e_coshf.c: Likewise.
269         * sysdeps/m68k/fpu/s_csinf.c: Likewise.
270         * sysdeps/m68k/fpu/s_ccosl.c: Likewise.
271         * sysdeps/m68k/fpu/e_sqrt.c: Likewise.
272         * sysdeps/m68k/fpu/s_sin.c: Likewise.
273         * sysdeps/m68k/fpu/e_asin.c: Likewise.
274         * sysdeps/m68k/fpu/mptan.c: Likewise.
275         * sysdeps/m68k/fpu/e_exp10f.c: Likewise.
276         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
277         * sysdeps/m68k/fpu/s_finitel.c: Likewise.
278         * sysdeps/m68k/fpu/e_log10.c: Likewise.
279         * sysdeps/m68k/fpu/k_sinl.c: Likewise.
280         * sysdeps/m68k/fpu/e_remainderl.c: Likewise.
281         * sysdeps/m68k/fpu/s_remquol.c: Likewise.
282         * sysdeps/m68k/fpu/s_scalblnf.c: Likewise.
283         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
284         * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
285         * sysdeps/m68k/fpu/e_asinl.c: Likewise.
286         * sysdeps/m68k/fpu/e_logl.c: Likewise.
287         * sysdeps/m68k/fpu/s_cosf.c: Likewise.
288         * sysdeps/m68k/fpu/s_rint.c: Likewise.
289         * sysdeps/m68k/fpu/s_ceill.c: Likewise.
290         * sysdeps/m68k/fpu/s_modfl.c: Likewise.
291         * sysdeps/m68k/fpu/s_csinl.c: Likewise.
292         * sysdeps/m68k/fpu/s_tan.c: Likewise.
293         * sysdeps/m68k/fpu/s_sincosf.c: Likewise.
294         * sysdeps/m68k/fpu/dosincos.c: Likewise.
295         * sysdeps/m68k/fpu/e_powl.c: Likewise.
296         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
297         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
298         * sysdeps/m68k/fpu/e_expl.c: Likewise.
299         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
300         * sysdeps/m68k/fpu/s_tanf.c: Likewise.
301         * sysdeps/m68k/fpu/mpsqrt.c: Likewise.
302         * sysdeps/m68k/fpu/s_sinl.c: Likewise.
303         * sysdeps/m68k/fpu/mathimpl.h: Likewise.
304         * sysdeps/m68k/fpu/e_acosl.c: Likewise.
305         * sysdeps/m68k/fpu/e_cosh.c: Likewise.
306         * sysdeps/m68k/fpu/s_cexpl.c: Likewise.
307         * sysdeps/m68k/fpu/s_fabsl.c: Likewise.
308         * sysdeps/m68k/fpu/halfulp.c: Likewise.
309         * sysdeps/m68k/fpu/s_modff.c: Likewise.
310         * sysdeps/m68k/fpu/s_isnan.c: Likewise.
311         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
312         * sysdeps/m68k/fpu/s_fabs.c: Likewise.
313         * sysdeps/m68k/fpu/e_log10f.c: Likewise.
314         * sysdeps/m68k/fpu/k_cosf.c: Likewise.
315         * sysdeps/m68k/fpu/e_sinh.c: Likewise.
316         * sysdeps/m68k/fpu/s_truncf.c: Likewise.
317         * sysdeps/m68k/fpu/s_ceil.c: Likewise.
318         * sysdeps/m68k/fpu/s_log1pf.c: Likewise.
319         * sysdeps/m68k/fpu/e_logf.c: Likewise.
320         * sysdeps/m68k/fpu/mpatan.c: Likewise.
321         * sysdeps/m68k/fpu/s_csin.c: Likewise.
322         * sysdeps/m68k/fpu/e_exp2l.c: Likewise.
323         * sysdeps/m68k/fpu/e_sinhl.c: Likewise.
324         * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
325         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
326         * sysdeps/m68k/fpu/s_floorf.c: Likewise.
327         * sysdeps/m68k/fpu/e_log2l.c: Likewise.
328         * sysdeps/m68k/fpu/s_atanl.c: Likewise.
329         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
330         * sysdeps/m68k/fpu/k_sinf.c: Likewise.
331         * sysdeps/m68k/fpu/s_csinhf.c: Likewise.
332         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
333         * sysdeps/m68k/fpu/s_atanf.c: Likewise.
334         * sysdeps/m68k/fpu/s_floor.c: Likewise.
335         * sysdeps/m68k/fpu/e_exp10l.c: Likewise.
336         * sysdeps/m68k/fpu/doasin.c: Likewise.
337         * sysdeps/m68k/fpu/s_rintl.c: Likewise.
338         * sysdeps/m68k/fpu/e_atanhl.c: Likewise.
339         * sysdeps/m68k/fpu/e_remainderf.c: Likewise.
340         * sysdeps/m68k/fpu/s_scalbln.c: Likewise.
341         * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
342         * sysdeps/m68k/fpu/e_exp10.c: Likewise.
343         * sysdeps/m68k/fpu/s_lrintf.c: Likewise.
344         * sysdeps/m68k/fpu/k_cos.c: Likewise.
345         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
346         * sysdeps/m68k/fpu/s_ccosf.c: Likewise.
347         * sysdeps/m68k/fpu/s_scalblnl.c: Likewise.
348         * sysdeps/m68k/fpu/switch/Makefile: Likewise.
349         * sysdeps/m68k/fpu/switch/switch.c: Likewise.
350         * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
351         * sysdeps/m68k/fpu/switch/bits/mathinline.h: Likewise.
352         * sysdeps/m68k/fpu/e_log.c: Likewise.
353         * sysdeps/m68k/fpu/s_nextafterl.c: Likewise.
354         * sysdeps/m68k/fpu/s_nearbyintl.c: Likewise.
355         * sysdeps/m68k/fpu/mpatan2.c: Likewise.
356         * sysdeps/m68k/fpu/k_sin.c: Likewise.
357         * sysdeps/m68k/fpu/e_atanh.c: Likewise.
358         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
359         * sysdeps/m68k/fpu/e_log10l.c: Likewise.
360         * sysdeps/m68k/fpu/s_ceilf.c: Likewise.
361         * sysdeps/m68k/fpu/s_fabsf.c: Likewise.
362         * sysdeps/m68k/fpu/s_significandl.c: Likewise.
363         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
364         * sysdeps/m68k/fpu/e_coshl.c: Likewise.
365         * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
366         * sysdeps/m68k/fpu/s_finite.c: Likewise.
367         * sysdeps/m68k/fpu/e_exp2f.c: Likewise.
368         * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
369         * sysdeps/m68k/fpu/s_isinfl.c: Likewise.
370         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
371         * sysdeps/m68k/fpu/e_powf.c: Likewise.
372         * sysdeps/m68k/rshift.S: Likewise.
373         * sysdeps/m68k/lshift.S: Likewise.
374         * sysdeps/m68k/strtold_l.c: Likewise.
375         * sysdeps/m68k/printf_fphex.c: Likewise.
376         * sysdeps/m68k/s_isinfl.c: Likewise.
377         * sysdeps/m68k/bits/huge_vall.h: Likewise.
379         * sysdeps/m68k/asm-syntax.h (andw, andl, subqw, tstw, tstl): New.
380         * sysdeps/m68k/bits/byteswap.h (__bswap32): Don't define for
381         Coldfire targets.
382         * sysdeps/m68k/bits/setjmp.h (__jmp_buf): Add a 64-byte
383         __fpregs field for Coldfire FPUs.
384         * sysdeps/m68k/dl-machine.h: Include sysdep.h.
385         (elf_machine_load_address): Use PCREL_OP.
386         (_dl_start_user): Likewise.
387         * sysdeps/m68k/dl-trampoline.S (_dl_runtime_resolve): Avoid jmp (%dN)
388         on Coldfire; push the target address and use rts instead.
389         (_dl_runtime_profile): Likewise.  Round up the frame size to longword
390         rather than word alignment.  Avoid dbra on Coldfire.  Avoid using
391         jsr (%d0) on Coldfire; push the return address and target address
392         and use rts instead.  Use fmovem.l rather than fmovem.x on Coldfire.
393         Add missing initialization of lrv_a0 and restore a0 from it after
394         calling _dl_call_pltexit.  Adjust the stack offsets of later data
395         accordingly, fixing a previously incorrect offset for the inregs
396         parameter.
397         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Save the control
398         registers individually on Coldfire targets.
399         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
400         Add missing libm_hidden_def.
401         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Save and restore the
402         control registers individually on Coldfire targets.
403         * sysdeps/m68k/fpu/fesetround.c (fesetround): Add missing
404         libm_hidden_def.
405         * sysdeps/m68k/fpu_control.h: Add the Coldfire bit assignments to
406         the main comment.
407         (_FPU_DOUBLE): Define to 0 for Coldfire.
408         (_FPU_EXTENDED): Don't define for Coldfire.
409         (_FPU_RESERVED): Include bit 15 for Coldfire.
410         * sysdeps/m68k/Implies: Remove ieee754/ldbl-96.
411         * sysdeps/m68k/m680x0/Implies: Add it to this new file instead.
412         * sysdeps/m68k/ldsodefs.h: New file.
413         * sysdeps/m68k/__longjmp.c (__longjmp): Restore the floating-point
414         registers when using a Coldfire FPU.
415         * sysdeps/m68k/Makefile (long-double-fcts): Delete.
416         * sysdeps/m68k/m680x0/Makefile: Add it to this new file instead.
417         * sysdeps/m68k/memchr.S (__memchr): Add Coldfire code.  Avoid
418         unnecessary moves.
419         * sysdeps/m68k/preconfigure (m680?0): Add "m680x0" to $machine.
420         (m68k): Use the compiler to decide whether $machine should be
421         set to m68k/coldfire or m68k/m680x0/m68020.
422         * sysdeps/m68k/rawmemchr.S (__rawmemchr): Add Coldfire code.  Avoid
423         unnecessary moves.
424         * sysdeps/m68k/setjmp.c (__sigsetjmp): Save the floating-point
425         registers when using a Coldfire FPU.  Use libc_hidden_def rather
426         than hidden_def.
427         * sysdeps/m68k/strchrnul.S (__strchrnul): Add Coldfire code.  Avoid
428         unnecessary moves.
429         * sysdeps/m68k/strchr.S (strchr): Likewise.
430         * sysdeps/m68k/sysdep.h (PCREL_OP): Define.
431         * sysdeps/m68k/tst-audit.h: New file.
432         * sysdeps/m68k/wcpcpy.c: Likewise.
433         * sysdeps/m68k/wcpcpy_chk.c: Likewise.
434         * sysdeps/unix/sysv/linux/m68k/configure.in: New file.
435         * sysdeps/unix/sysv/linux/m68k/configure: Likewise.
436         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Add Coldfire code.
437         * sysdeps/unix/sysv/linux/m68k/register-dump.h (real_catch_segfault):
438         Do not define on Coldfire.
439         (catch_segfault): Likewise.
440         (register_dump): Use the Coldfire-specific sigcontext fields to
441         display call-saved data and address registers (rather than the
442         data stored in sc_fpstate by real_catch_segfault).  Display 8-byte
443         floating-point registers on Coldfire.
444         * sysdeps/unix/sysv/linux/m68k/socket.S (__socket): Pass a temporary
445         register to SINGLE_THREAD_P.
446         * sysdeps/unix/sysv/linux/m68k/sys/reg.h (PT_FP0): Redefine for
447         Coldfire.
448         (PT_FP1, PT_FP2, PT_FP3, PT_FP4, PT_FP5, PT_FP6, PT_FP7): Likewise.
449         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset): Sync field
450         order with linux.  Make f_fpregs an 8*2 array on Coldfire.
451         (ucontext): Sync field order with linux.
452         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Guard against multiple
453         inclusion.
454         (SYSCALL_ERROR_HANDLER): Use PCREL_OP.
455         * sysdeps/unix/sysv/linux/m68k/syscalls.list (oldgetrlimit): Delete.
456         (oldsetrlimit): Likewise.
457         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: New file.
458         List oldgetrlimit and oldsetrlimit here instead.
459         * sysdeps/unix/sysv/linux/m68k/bits/sigcontext.h: New file.
460         * sysdeps/unix/sysv/linux/m68k/bits/siginfo.h: Likewise.
461         * sysdeps/m68k/coldfire/bits/atomic.h: Likewise.
462         * sysdeps/m68k/coldfire/fpu/e_sqrt.c: Likewise.
463         * sysdeps/m68k/coldfire/fpu/e_sqrtf.c: Likewise.
464         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c: Likewise.
465         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
466         * sysdeps/m68k/coldfire/fpu/s_fabs.c: Likewise.
467         * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Likewise.
468         * sysdeps/m68k/coldfire/fpu/s_lrint.c: Likewise.
469         * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Likewise.
470         * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
471         * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
472         * sysdeps/m68k/coldfire/shlib-versions: Likewise.
474 2006-02-28  Roland McGrath  <roland@redhat.com>
476         * sysdeps/m68k/preconfigure: New file.