Add name_to_handle_at, open_by_handle etc. to MIPS bits/fcntl.h.
[glibc-ports.git] / ChangeLog.m68k
blob5e45243a1ea99e6c844beafbf68a8317efe4236c
1 2011-03-06  Andreas Schwab  <schwab@linux-m68k.org>
3         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4         (__bswap_64): Implement as inline functions.
6 2011-01-18  Andreas Schwab  <schwab@linux-m68k.org>
8         * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MADV_HUGEPAGE)
9         (MADV_NOHUGEPAGE): Define.
11 2011-01-10  Andreas Schwab  <schwab@linux-m68k.org>
13         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h (sem_t):
14         Force alignment.
16 2010-12-26  Andreas Schwab  <schwab@linux-m68k.org>
18         * sysdeps/m68k/stackinfo.h (DEFAULT_STACK_PERMS): Define.
20 2010-11-05  Andreas Schwab  <schwab@linux-m68k.org>
22         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Include
23         i386/fchownat.c.
25 2010-10-11  Andreas Schwab  <schwab@linux-m68k.org>
27         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Remove fma inlines.
29         * sysdeps/m68k/fpu/feupdateenv.c (feupdateenv): Add
30         libm_hidden_ver.
31         * sysdeps/m68k/fpu/ftestexcept.c (feupdateenv): Add
32         libm_hidden_def.
34 2010-08-25  Andreas Schwab  <schwab@linux-m68k.org>
36         * sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h
37         (SYSCALL_ERROR_LOAD_GOT): Use & instead of #.
39 2010-08-17  Andreas Schwab  <schwab@linux-m68k.org>
41         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove
42         fanotify_init.
44 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add prlimit64,
47         fanotify_init, fanotify_mask.
49 2010-08-02  Andreas Schwab  <schwab@linux-m68k.org>
51         * sysdeps/m68k/coldfire/sysdep.h: New file.
52         (PCREL_OP): Define.
53         * sysdeps/m68k/m680x0/sysdep.h: New file.
54         (PCREL_OP): Define.
55         * sysdeps/m68k/sysdep.h (PCREL_OP): Don't define here.
56         * sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h: New file.
57         (SYSCALL_ERROR_LOAD_GOT): Define.
58         * sysdeps/unix/sysv/linux/m68k/m680x0/sysdep.h: New file.
59         (SYSCALL_ERROR_LOAD_GOT): Define.
60         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't include subordinate
61         sysdep files.
62         (SYSCALL_ERROR_HANDLER) [PIC && USE___THREAD]: Use
63         SYSCALL_ERROR_LOAD_GOT.
65 2010-06-24  Joseph Myers  <joseph@codesourcery.com>
67         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETPIPE_SZ,
68         F_GETPIPE_SZ): Define.
70 2010-06-13  Andreas Schwab  <schwab@linux-m68k.org>
72         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Mark all functions as
73         non-throwing.
75         * sysdeps/unix/sysv/linux/m68k/sys/user.h (NBPG, UPAGES)
76         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Define.
78 2010-06-11  Andreas Schwab  <schwab@linux-m68k.org>
80         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Force
81         alignment of futex variables.
83 2010-05-22  Andreas Schwab  <schwab@linux-m68k.org>
85         * data/c++-types-m68k-linux-gnu.data: New file.
86         * data/localplt-m68k-linux-gnu.data: New file.
88 2010-03-13  Andreas Schwab  <schwab@linux-m68k.org>
90         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Use signbit macro.
91         * sysdeps/m68k/m680x0/fpu/s_ccos.c: Likewise.
93         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__signbit)
94         (__signbitf, __signbitl): Always define as inline.
96         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
97         Add variant for USE__THREAD.
99 2010-03-12  Andreas Schwab  <schwab@linux-m68k.org>
101         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Don't include
102         <sysdep.h>.
104         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Renamed ...
105         * sysdeps/unix/sysv/linux/m68k/coldfire/m68k-helpers.S: ... to
106         this.
107         * sysdeps/unix/sysv/linux/m68k/m680x0/m68k-helpers.S: New file.
109 2010-03-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
111         NPTL support for m68k/ColdFire
112         * sysdeps/unix/sysv/linux/m68k/sysdep.h (tls.h): Include.
113         (INTERNAL_SYSCALL): Convert to INTERNAL_SYSCALL_NCS.
114         (PTR_MANGLE, PTR_DEMANGLE): Define.
115         (NEED_STATIC_SYSINFO_DSO): Define.
116         * sysdeps/unix/sysv/linux/m68k/clone.S: Support RESET_PID.
117         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: New.
118         * sysdeps/unix/sysv/linux/m68k/Makefile: Add new files to lists.
119         * sysdeps/unix/sysv/linux/m68k/vfork.S: Add SAVE_PID/RESTORE_PID.
120         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: New.
121         * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: New.
122         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: New.
123         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: New.
124         * sysdeps/unix/sysv/linux/m68k/Versions: Add symbols for NPTL support.
125         * sysdeps/unix/sysv/linux/m68k/init-first.c: New.
126         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: New.
127         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: New.
128         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: New.
129         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: New.
130         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: New.
131         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: New.
132         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: New.
133         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: New.
134         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: New.
135         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: New.
136         * sysdeps/unix/sysv/linux/m68k/socket.S: Update cancelation code.
137         * sysdeps/m68k/dl-tls.h: New.
138         * sysdeps/m68k/libc-tls.c: New.
139         * sysdeps/m68k/tls-macros.h: New.
140         * sysdeps/m68k/dl-machine.h (RTLD_START): Terminate stack frame to
141         generate better backtraces.
142         (elf_machine_type_class, elf_machine_rela): Handle TLS relocations.
143         * sysdeps/m68k/dl-machine.h: Handle TLS relocations.
144         * sysdeps/m68k/nptl/tcb-offsets.sym: New.
145         * sysdeps/m68k/nptl/pthread_spin_trylock.c: New.
146         * sysdeps/m68k/nptl/tls.h: New.
147         * sysdeps/m68k/nptl/pthread_spin_lock.c: New.
148         * sysdeps/m68k/nptl/pthreaddef.h: New.
149         * sysdeps/m68k/nptl/Makefile: New.
151         * sysdeps/unix/sysv/linux/m68k/bits/sigcontext.h: Remove.
152         * sysdeps/unix/sysv/linux/m68k/register-dump.h: Update.
154         * sysdeps/unix/sysv/linux/m68k/bits/siginfo.h: Remove.
156         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ)
157         (_jmpbuf_sp, _JMPBUF_UNWINDS_ADJ, __libc_unwind_longjmp): Define.
159 2010-02-10  Joseph Myers  <joseph@codesourcery.com>
161         * sysdeps/m68k/fpu/fegetenv.c: Add hidden alias.
163 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
165         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Fix double-inclusion
166         problem.
168 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
170         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Define O_DIRECTORY,
171         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
172         XPG7.
173         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Enable using from
174         fcntl.h.
176 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
178         [BZ #11093]
179         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Define POLLRDNORM,
180         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
182 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
184         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Redefine O_SYNC and
185         O_DSYNC to match 2.6.33+ kernels.
187 2009-11-23  Andreas Schwab  <schwab@linux-m68k.org>
189         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Use struct timespec
190         for timestamps also if __USE_XOPEN2K8.
192 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
194         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Introduce new symbol
195         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
197 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
199         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Change misleading
200         names of parameters of sync_file_range.
202 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
204         [BZ #10972]
205         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add new MADV_*
206         constants from recent kernels.
208 2009-11-15  Andreas Schwab  <schwab@linux-m68k.org>
210         * sysdeps/m68k/libgcc_s.h: New file.
212 2009-11-14  Andreas Schwab  <schwab@linux-m68k.org>
214         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN_EX)
215         (F_GETOWN_EX, F_OWNER_TID, F_OWNER_PID, F_OWNER_GID, f_owner_ex):
216         Define.
218 2009-11-07  Joseph Myers  <joseph@codesourcery.com>
220         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (fallocate): Fix types
221         of last two arguments when -D_FILE_OFFSET_BITS=64.
223 2009-10-30  Joseph Myers  <joseph@codesourcery.com>
225         [BZ #10609]
226         * sysdeps/unix/sysv/linux/m68k/fchownat.c (fchownat): Fix handling
227         of empty parameters for file names.
229 2009-09-06  Andreas Schwab  <schwab@linux-m68k.org>
231         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c: New file.
233         * sysdeps/m68k/__longjmp.c (__longjmp): Call CHECK_SP if defined.
235 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
237         * sysdeps/unix/sysv/linux/m68k/Versions (libc): Add
238         fallocate64@@GLIBC_2.11.
240 2009-04-25  Andreas Schwab  <schwab@linux-m68k.org>
242         * sysdeps/unix/sysv/linux/m68k/kernel-features.h: Revert last
243         change, the syscalls have been added to 2.6.30-rc4.
245 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
247         * sysdeps/unix/sysv/linux/m68k/kernel-features.h (__ASSUME_PREADV,
248         __ASSUME_PWRITEV): Undefine.
250 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
252         * sysdeps/unix/sysv/linux/m68k/getsysstats.c (GET_NPROCS_PARSER):
253         Change parameters and use next_line.
255 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
257         * sysdeps/m68k/bits/link.h: Uglify function parameter names.
259 2009-03-04  Joseph Myers  <joseph@codesourcery.com>
261         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Declare
262         fallocate{,64}.
264 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
266         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Protect UTIME_NOW and
267         UTIME_OMIT only with __USE_ATFILE.
269 2008-08-10  Joseph Myers  <joseph@codesourcery.com>
271         * sysdeps/m68k/bits/byteswap.h: Allow inclusion from <endian.h>.
272         (__bswap_constant_16): Define.
273         (__bswap_16): Allow arguments with side effects.
274         (__bswap_constant_32): Ensure result is unsigned.
275         (__bswap_32): Define as inline function in fallback case.
276         (__bswap_constant_64): Define.
277         (__bswap_64): Use it for constant arguments.
278         * sysdeps/m68k/bits/setjmp.h (__jmp_buf): Give name to structure
279         type.
280         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Only allow inclusion
281         from <math.h>.  Do not use extern inline directly.
282         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Include <bits/uio.h>.
283         (O_CLOEXEC, SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
284         SYNC_FILE_RANGE_WAIT_AFTER, SPLICE_F_MOVE, SPLICE_F_NONBLOCK,
285         SPLICE_F_MORE, SPLICE_F_GIFT): Define.
286         (sync_file_range, vmsplice, splice, tee): Declare.
287         * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MADV_REMOVE): Define.
288         * sysdeps/unix/sysv/linux/m68k/bits/poll.h (POLLMSG, POLLREMOVE,
289         POLLRDHUP): Define.
290         * sysdeps/unix/sysv/linux/m68k/bits/stat.h (UTIME_NOW,
291         UTIME_OMIT): Define.
292         * sysdeps/unix/sysv/linux/m68k/kernel-features.h: New.
293         * sysdeps/unix/sysv/linux/m68k/sys/user.h: New.
295 2008-03-28  Maxim Kuvyrkov  <maxim@codesourcery.com>
297         Explicitly get address of _DYNAMIC.
298         * sysdeps/m68k/dl-machine.h (elf_machine_dynamic): Retrieve _DYNAMIC
299         from GOT instead of assuming value at GOT pointer.
301 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
303         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
305 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
307         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Comment fix.
309 2006-11-28  Andreas Schwab  <schwab@suse.de>
311         * sysdeps/unix/sysv/linux/m68k/sysdep.h (DOARGS_6, _DOARGS_6)
312         (UNDOARGS_6): Define for 6-argument syscall stubs.
314 2006-10-03  Andreas Schwab  <schwab@suse.de>
316         * sysdeps/m68k/setjmp.c: Use __builtin_return_address and
317         __builtin_frame_address.  Don't call __sigjmp_save in ld.so.
319         * sysdeps/unix/sysv/linux/m68k/mremap.S: Accept fifth parameter.
321 2006-10-03  Richard Sandiford  <richard@codesourcery.com>
323         * sysdeps/m68k/bits/mathdef.h: Moved from sysdeps/m68k to
324         sysdeps/m68k/m680x0.
325         * sysdeps/m68k/m68020/submul_1.S: Likewise.
326         * sysdeps/m68k/m68020/Makefile: Likewise.
327         * sysdeps/m68k/m68020/mul_1.S: Likewise.
328         * sysdeps/m68k/m68020/wordcopy.S: Likewise.
329         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
330         * sysdeps/m68k/m68020/bits/string.h: Likewise.
331         * sysdeps/m68k/m68020/bits/atomic.h: Likewise.
332         * sysdeps/m68k/sub_n.S: Likewise.
333         * sysdeps/m68k/add_n.S: Likewise.
334         * sysdeps/m68k/s_isnanl.c: Likewise.
335         * sysdeps/m68k/fpu/s_log1p.c: Likewise.
336         * sysdeps/m68k/fpu/e_asinf.c: Likewise.
337         * sysdeps/m68k/fpu/s_cosl.c: Likewise.
338         * sysdeps/m68k/fpu/s_isinff.c: Likewise.
339         * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
340         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
341         * sysdeps/m68k/fpu/s_expm1.c: Likewise.
342         * sysdeps/m68k/fpu/slowexp.c: Likewise.
343         * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
344         * sysdeps/m68k/fpu/s_ccoshf.c: Likewise.
345         * sysdeps/m68k/fpu/s_ilogbl.c: Likewise.
346         * sysdeps/m68k/fpu/Makefile: Likewise.
347         * sysdeps/m68k/fpu/s_expm1f.c: Likewise.
348         * sysdeps/m68k/fpu/s_significandf.c: Likewise.
349         * sysdeps/m68k/fpu/e_pow.c: Likewise.
350         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
351         * sysdeps/m68k/fpu/e_exp.c: Likewise.
352         * sysdeps/m68k/fpu/s_remquof.c: Likewise.
353         * sysdeps/m68k/fpu/s_ilogbf.c: Likewise.
354         * sysdeps/m68k/fpu/s_truncl.c: Likewise.
355         * sysdeps/m68k/fpu/s_frexpf.c: Likewise.
356         * sysdeps/m68k/fpu/s_cos.c: Likewise.
357         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
358         * sysdeps/m68k/fpu/branred.c: Likewise.
359         * sysdeps/m68k/fpu/s_frexpl.c: Likewise.
360         * sysdeps/m68k/fpu/s_atan.c: Likewise.
361         * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
362         * sysdeps/m68k/fpu/e_scalbl.c: Likewise.
363         * sysdeps/m68k/fpu/e_exp2.c: Likewise.
364         * sysdeps/m68k/fpu/s_cexpf.c: Likewise.
365         * sysdeps/m68k/fpu/mplog.c: Likewise.
366         * sysdeps/m68k/fpu/s_rintf.c: Likewise.
367         * sysdeps/m68k/fpu/s_tanh.c: Likewise.
368         * sysdeps/m68k/fpu/e_scalbf.c: Likewise.
369         * sysdeps/m68k/fpu/s_csinhl.c: Likewise.
370         * sysdeps/m68k/fpu/s_floorl.c: Likewise.
371         * sysdeps/m68k/fpu/k_tanf.c: Likewise.
372         * sysdeps/m68k/fpu/k_tanl.c: Likewise.
373         * sysdeps/m68k/fpu/e_fmodf.c: Likewise.
374         * sysdeps/m68k/fpu/e_atanhf.c: Likewise.
375         * sysdeps/m68k/fpu/s_isnanf.c: Likewise.
376         * sysdeps/m68k/fpu/s_fpclassifyl.c: Likewise.
377         * sysdeps/m68k/fpu/s_modf.c: Likewise.
378         * sysdeps/m68k/fpu/e_log2.c: Likewise.
379         * sysdeps/m68k/fpu/e_acosf.c: Likewise.
380         * sysdeps/m68k/fpu/s_log1pl.c: Likewise.
381         * sysdeps/m68k/fpu/e_log2f.c: Likewise.
382         * sysdeps/m68k/fpu/mpa.c: Likewise.
383         * sysdeps/m68k/fpu/t_exp.c: Likewise.
384         * sysdeps/m68k/fpu/e_acos.c: Likewise.
385         * sysdeps/m68k/fpu/s_expm1l.c: Likewise.
386         * sysdeps/m68k/fpu/s_ccoshl.c: Likewise.
387         * sysdeps/m68k/fpu/s_sinf.c: Likewise.
388         * sysdeps/m68k/fpu/k_tan.c: Likewise.
389         * sysdeps/m68k/fpu/k_cosl.c: Likewise.
390         * sysdeps/m68k/fpu/e_remainder.c: Likewise.
391         * sysdeps/m68k/fpu/s_trunc.c: Likewise.
392         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
393         * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
394         * sysdeps/m68k/fpu/s_finitef.c: Likewise.
395         * sysdeps/m68k/fpu/s_tanhl.c: Likewise.
396         * sysdeps/m68k/fpu/s_lrintl.c: Likewise.
397         * sysdeps/m68k/fpu/slowpow.c: Likewise.
398         * sysdeps/m68k/fpu/mpexp.c: Likewise.
399         * sysdeps/m68k/fpu/s_isnanl.c: Likewise.
400         * sysdeps/m68k/fpu/e_expf.c: Likewise.
401         * sysdeps/m68k/fpu/s_significand.c: Likewise.
402         * sysdeps/m68k/fpu/e_sinhf.c: Likewise.
403         * sysdeps/m68k/fpu/s_tanl.c: Likewise.
404         * sysdeps/m68k/fpu/s_tanhf.c: Likewise.
405         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
406         * sysdeps/m68k/fpu/e_sqrtf.c: Likewise.
407         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
408         * sysdeps/m68k/fpu/s_nearbyint.c: Likewise.
409         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
410         * sysdeps/m68k/fpu/sincos32.c: Likewise.
411         * sysdeps/m68k/fpu/e_sqrtl.c: Likewise.
412         * sysdeps/m68k/fpu/s_sincosl.c: Likewise.
413         * sysdeps/m68k/fpu/e_atan2f.c: Likewise.
414         * sysdeps/m68k/fpu/s_nearbyintf.c: Likewise.
415         * sysdeps/m68k/fpu/e_fmodl.c: Likewise.
416         * sysdeps/m68k/fpu/e_coshf.c: Likewise.
417         * sysdeps/m68k/fpu/s_csinf.c: Likewise.
418         * sysdeps/m68k/fpu/s_ccosl.c: Likewise.
419         * sysdeps/m68k/fpu/e_sqrt.c: Likewise.
420         * sysdeps/m68k/fpu/s_sin.c: Likewise.
421         * sysdeps/m68k/fpu/e_asin.c: Likewise.
422         * sysdeps/m68k/fpu/mptan.c: Likewise.
423         * sysdeps/m68k/fpu/e_exp10f.c: Likewise.
424         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
425         * sysdeps/m68k/fpu/s_finitel.c: Likewise.
426         * sysdeps/m68k/fpu/e_log10.c: Likewise.
427         * sysdeps/m68k/fpu/k_sinl.c: Likewise.
428         * sysdeps/m68k/fpu/e_remainderl.c: Likewise.
429         * sysdeps/m68k/fpu/s_remquol.c: Likewise.
430         * sysdeps/m68k/fpu/s_scalblnf.c: Likewise.
431         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
432         * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
433         * sysdeps/m68k/fpu/e_asinl.c: Likewise.
434         * sysdeps/m68k/fpu/e_logl.c: Likewise.
435         * sysdeps/m68k/fpu/s_cosf.c: Likewise.
436         * sysdeps/m68k/fpu/s_rint.c: Likewise.
437         * sysdeps/m68k/fpu/s_ceill.c: Likewise.
438         * sysdeps/m68k/fpu/s_modfl.c: Likewise.
439         * sysdeps/m68k/fpu/s_csinl.c: Likewise.
440         * sysdeps/m68k/fpu/s_tan.c: Likewise.
441         * sysdeps/m68k/fpu/s_sincosf.c: Likewise.
442         * sysdeps/m68k/fpu/dosincos.c: Likewise.
443         * sysdeps/m68k/fpu/e_powl.c: Likewise.
444         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
445         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
446         * sysdeps/m68k/fpu/e_expl.c: Likewise.
447         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
448         * sysdeps/m68k/fpu/s_tanf.c: Likewise.
449         * sysdeps/m68k/fpu/mpsqrt.c: Likewise.
450         * sysdeps/m68k/fpu/s_sinl.c: Likewise.
451         * sysdeps/m68k/fpu/mathimpl.h: Likewise.
452         * sysdeps/m68k/fpu/e_acosl.c: Likewise.
453         * sysdeps/m68k/fpu/e_cosh.c: Likewise.
454         * sysdeps/m68k/fpu/s_cexpl.c: Likewise.
455         * sysdeps/m68k/fpu/s_fabsl.c: Likewise.
456         * sysdeps/m68k/fpu/halfulp.c: Likewise.
457         * sysdeps/m68k/fpu/s_modff.c: Likewise.
458         * sysdeps/m68k/fpu/s_isnan.c: Likewise.
459         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
460         * sysdeps/m68k/fpu/s_fabs.c: Likewise.
461         * sysdeps/m68k/fpu/e_log10f.c: Likewise.
462         * sysdeps/m68k/fpu/k_cosf.c: Likewise.
463         * sysdeps/m68k/fpu/e_sinh.c: Likewise.
464         * sysdeps/m68k/fpu/s_truncf.c: Likewise.
465         * sysdeps/m68k/fpu/s_ceil.c: Likewise.
466         * sysdeps/m68k/fpu/s_log1pf.c: Likewise.
467         * sysdeps/m68k/fpu/e_logf.c: Likewise.
468         * sysdeps/m68k/fpu/mpatan.c: Likewise.
469         * sysdeps/m68k/fpu/s_csin.c: Likewise.
470         * sysdeps/m68k/fpu/e_exp2l.c: Likewise.
471         * sysdeps/m68k/fpu/e_sinhl.c: Likewise.
472         * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
473         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
474         * sysdeps/m68k/fpu/s_floorf.c: Likewise.
475         * sysdeps/m68k/fpu/e_log2l.c: Likewise.
476         * sysdeps/m68k/fpu/s_atanl.c: Likewise.
477         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
478         * sysdeps/m68k/fpu/k_sinf.c: Likewise.
479         * sysdeps/m68k/fpu/s_csinhf.c: Likewise.
480         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
481         * sysdeps/m68k/fpu/s_atanf.c: Likewise.
482         * sysdeps/m68k/fpu/s_floor.c: Likewise.
483         * sysdeps/m68k/fpu/e_exp10l.c: Likewise.
484         * sysdeps/m68k/fpu/doasin.c: Likewise.
485         * sysdeps/m68k/fpu/s_rintl.c: Likewise.
486         * sysdeps/m68k/fpu/e_atanhl.c: Likewise.
487         * sysdeps/m68k/fpu/e_remainderf.c: Likewise.
488         * sysdeps/m68k/fpu/s_scalbln.c: Likewise.
489         * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
490         * sysdeps/m68k/fpu/e_exp10.c: Likewise.
491         * sysdeps/m68k/fpu/s_lrintf.c: Likewise.
492         * sysdeps/m68k/fpu/k_cos.c: Likewise.
493         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
494         * sysdeps/m68k/fpu/s_ccosf.c: Likewise.
495         * sysdeps/m68k/fpu/s_scalblnl.c: Likewise.
496         * sysdeps/m68k/fpu/switch/Makefile: Likewise.
497         * sysdeps/m68k/fpu/switch/switch.c: Likewise.
498         * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
499         * sysdeps/m68k/fpu/switch/bits/mathinline.h: Likewise.
500         * sysdeps/m68k/fpu/e_log.c: Likewise.
501         * sysdeps/m68k/fpu/s_nextafterl.c: Likewise.
502         * sysdeps/m68k/fpu/s_nearbyintl.c: Likewise.
503         * sysdeps/m68k/fpu/mpatan2.c: Likewise.
504         * sysdeps/m68k/fpu/k_sin.c: Likewise.
505         * sysdeps/m68k/fpu/e_atanh.c: Likewise.
506         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
507         * sysdeps/m68k/fpu/e_log10l.c: Likewise.
508         * sysdeps/m68k/fpu/s_ceilf.c: Likewise.
509         * sysdeps/m68k/fpu/s_fabsf.c: Likewise.
510         * sysdeps/m68k/fpu/s_significandl.c: Likewise.
511         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
512         * sysdeps/m68k/fpu/e_coshl.c: Likewise.
513         * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
514         * sysdeps/m68k/fpu/s_finite.c: Likewise.
515         * sysdeps/m68k/fpu/e_exp2f.c: Likewise.
516         * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
517         * sysdeps/m68k/fpu/s_isinfl.c: Likewise.
518         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
519         * sysdeps/m68k/fpu/e_powf.c: Likewise.
520         * sysdeps/m68k/rshift.S: Likewise.
521         * sysdeps/m68k/lshift.S: Likewise.
522         * sysdeps/m68k/strtold_l.c: Likewise.
523         * sysdeps/m68k/printf_fphex.c: Likewise.
524         * sysdeps/m68k/s_isinfl.c: Likewise.
525         * sysdeps/m68k/bits/huge_vall.h: Likewise.
527         * sysdeps/m68k/asm-syntax.h (andw, andl, subqw, tstw, tstl): New.
528         * sysdeps/m68k/bits/byteswap.h (__bswap32): Don't define for
529         Coldfire targets.
530         * sysdeps/m68k/bits/setjmp.h (__jmp_buf): Add a 64-byte
531         __fpregs field for Coldfire FPUs.
532         * sysdeps/m68k/dl-machine.h: Include sysdep.h.
533         (elf_machine_load_address): Use PCREL_OP.
534         (_dl_start_user): Likewise.
535         * sysdeps/m68k/dl-trampoline.S (_dl_runtime_resolve): Avoid jmp (%dN)
536         on Coldfire; push the target address and use rts instead.
537         (_dl_runtime_profile): Likewise.  Round up the frame size to longword
538         rather than word alignment.  Avoid dbra on Coldfire.  Avoid using
539         jsr (%d0) on Coldfire; push the return address and target address
540         and use rts instead.  Use fmovem.l rather than fmovem.x on Coldfire.
541         Add missing initialization of lrv_a0 and restore a0 from it after
542         calling _dl_call_pltexit.  Adjust the stack offsets of later data
543         accordingly, fixing a previously incorrect offset for the inregs
544         parameter.
545         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Save the control
546         registers individually on Coldfire targets.
547         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
548         Add missing libm_hidden_def.
549         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Save and restore the
550         control registers individually on Coldfire targets.
551         * sysdeps/m68k/fpu/fesetround.c (fesetround): Add missing
552         libm_hidden_def.
553         * sysdeps/m68k/fpu_control.h: Add the Coldfire bit assignments to
554         the main comment.
555         (_FPU_DOUBLE): Define to 0 for Coldfire.
556         (_FPU_EXTENDED): Don't define for Coldfire.
557         (_FPU_RESERVED): Include bit 15 for Coldfire.
558         * sysdeps/m68k/Implies: Remove ieee754/ldbl-96.
559         * sysdeps/m68k/m680x0/Implies: Add it to this new file instead.
560         * sysdeps/m68k/ldsodefs.h: New file.
561         * sysdeps/m68k/__longjmp.c (__longjmp): Restore the floating-point
562         registers when using a Coldfire FPU.
563         * sysdeps/m68k/Makefile (long-double-fcts): Delete.
564         * sysdeps/m68k/m680x0/Makefile: Add it to this new file instead.
565         * sysdeps/m68k/memchr.S (__memchr): Add Coldfire code.  Avoid
566         unnecessary moves.
567         * sysdeps/m68k/preconfigure (m680?0): Add "m680x0" to $machine.
568         (m68k): Use the compiler to decide whether $machine should be
569         set to m68k/coldfire or m68k/m680x0/m68020.
570         * sysdeps/m68k/rawmemchr.S (__rawmemchr): Add Coldfire code.  Avoid
571         unnecessary moves.
572         * sysdeps/m68k/setjmp.c (__sigsetjmp): Save the floating-point
573         registers when using a Coldfire FPU.  Use libc_hidden_def rather
574         than hidden_def.
575         * sysdeps/m68k/strchrnul.S (__strchrnul): Add Coldfire code.  Avoid
576         unnecessary moves.
577         * sysdeps/m68k/strchr.S (strchr): Likewise.
578         * sysdeps/m68k/sysdep.h (PCREL_OP): Define.
579         * sysdeps/m68k/tst-audit.h: New file.
580         * sysdeps/m68k/wcpcpy.c: Likewise.
581         * sysdeps/m68k/wcpcpy_chk.c: Likewise.
582         * sysdeps/unix/sysv/linux/m68k/configure.in: New file.
583         * sysdeps/unix/sysv/linux/m68k/configure: Likewise.
584         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Add Coldfire code.
585         * sysdeps/unix/sysv/linux/m68k/register-dump.h (real_catch_segfault):
586         Do not define on Coldfire.
587         (catch_segfault): Likewise.
588         (register_dump): Use the Coldfire-specific sigcontext fields to
589         display call-saved data and address registers (rather than the
590         data stored in sc_fpstate by real_catch_segfault).  Display 8-byte
591         floating-point registers on Coldfire.
592         * sysdeps/unix/sysv/linux/m68k/socket.S (__socket): Pass a temporary
593         register to SINGLE_THREAD_P.
594         * sysdeps/unix/sysv/linux/m68k/sys/reg.h (PT_FP0): Redefine for
595         Coldfire.
596         (PT_FP1, PT_FP2, PT_FP3, PT_FP4, PT_FP5, PT_FP6, PT_FP7): Likewise.
597         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset): Sync field
598         order with linux.  Make f_fpregs an 8*2 array on Coldfire.
599         (ucontext): Sync field order with linux.
600         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Guard against multiple
601         inclusion.
602         (SYSCALL_ERROR_HANDLER): Use PCREL_OP.
603         * sysdeps/unix/sysv/linux/m68k/syscalls.list (oldgetrlimit): Delete.
604         (oldsetrlimit): Likewise.
605         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: New file.
606         List oldgetrlimit and oldsetrlimit here instead.
607         * sysdeps/unix/sysv/linux/m68k/bits/sigcontext.h: New file.
608         * sysdeps/unix/sysv/linux/m68k/bits/siginfo.h: Likewise.
609         * sysdeps/m68k/coldfire/bits/atomic.h: Likewise.
610         * sysdeps/m68k/coldfire/fpu/e_sqrt.c: Likewise.
611         * sysdeps/m68k/coldfire/fpu/e_sqrtf.c: Likewise.
612         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c: Likewise.
613         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
614         * sysdeps/m68k/coldfire/fpu/s_fabs.c: Likewise.
615         * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Likewise.
616         * sysdeps/m68k/coldfire/fpu/s_lrint.c: Likewise.
617         * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Likewise.
618         * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
619         * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
620         * sysdeps/m68k/coldfire/shlib-versions: Likewise.
622 2006-02-28  Roland McGrath  <roland@redhat.com>
624         * sysdeps/m68k/preconfigure: New file.