Use const instead of __const for ARM.
[glibc.git] / ChangeLog.m68k
blob3190368104af843e274c966743e3b2a399632aa5
1 2012-01-08  Andreas Schwab  <schwab@linux-m68k.org>
3         * sysdeps/m68k/sysdep.h: Remove non-ELF support.
4         * sysdeps/m68k/asm-syntax.h: Likewise.
6 2012-01-07  Andreas Schwab  <schwab@linux-m68k.org>
8         * sysdeps/unix/sysv/linux/m68k/configure.in: Set
9         arch_minimum_kernel, libc_cv_gcc_unwind_find_fde and
10         ldd_rewrite_script.
12 2012-01-05  Andreas Schwab  <schwab@linux-m68k.org>
14         * sysdeps/m68k/dl-trampoline.S: Add cfi directives.
15         * sysdeps/m68k/memchr.S: Likewise.
16         * sysdeps/m68k/rawmemchr.S: Likewise.
17         * sysdeps/m68k/strchr.S: Likewise.
18         * sysdeps/m68k/strchrnul.S: Likewise.
19         * sysdeps/m68k/m680x0/add_n.S: Likewise.
20         * sysdeps/m68k/m680x0/lshift.S: Likewise.
21         * sysdeps/m68k/m680x0/rshift.S: Likewise.
22         * sysdeps/m68k/m680x0/sub_n.S: Likewise.
23         * sysdeps/m68k/m680x0/m68020/addmul_1.S: Likewise.
24         * sysdeps/m68k/m680x0/m68020/mul_1.S: Likewise.
25         * sysdeps/m68k/m680x0/m68020/submul_1.S: Likewise.
26         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
27         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Likewise.
28         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
29         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
30         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
31         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32         * sysdeps/m68k/sysdep.h (CALL_MCOUNT): Likewise.
33         (ENTRY): Add cfi_startproc.
34         (END): Add cfi_endproc.
35         * sysdeps/unix/sysv/linux/m68k/coldfire/m68k-helpers.S: Remove
36         cfi_startproc/cfi_endproc.
37         * sysdeps/unix/sysv/linux/m68k/m680x0/m68k-helpers.S: Likewise.
38         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h (PSEUDO):
39         Likewise.
41 2011-12-23  Andreas Schwab  <schwab@linux-m68k.org>
43         * sysdeps/m68k/bits/byteswap.h (__bswap_constant_64): Protect long
44         long constant with __extension__.
46 2011-12-04  Thorsten Glaser  <tg@mirbsd.de>
48         * sysdeps/unix/sysv/linux/m68k/syscall.S: Allow six arguments.
50 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52         * sysdeps/m68k/stackinfo.h (stackinfo_get_sp, stackinfo_sub_sp):
53         Define.
55 2011-10-26  Andreas Schwab  <schwab@linux-m68k.org>
57         * sysdeps/m68k/m680x0/fpu/math_private.h: New file.
59         * sysdeps/m68k/m680x0/fpu/sincostab.c: New file.
61 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
63         * sysdeps/m68k/coldfire/fpu/e_sqrt.c: Add __sqrt_finite alias.
64         * sysdeps/m68k/coldfire/fpu/e_sqrtf.c: Add __sqrtf_finite alias.
66         * sysdeps/m68k/m680x0/fpu/e_exp.c (FUNC_FINITE): Define.
67         * sysdeps/m68k/m680x0/fpu/e_expf.c (FUNC_FINITE): Define.
68         * sysdeps/m68k/m680x0/fpu/e_expl.c (FUNC_FINITE): Define.
70 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
72         * sysdeps/m68k/m680x0/fpu/s_ccos.c: Remove.
73         * sysdeps/m68k/m680x0/fpu/s_ccosf.c: Remove.
74         * sysdeps/m68k/m680x0/fpu/s_ccosl.c: Remove.
76 2011-10-13  Andreas Schwab  <schwab@linux-m68k.org>
78         * sysdeps/m68k/m680x0/fpu/e_acos.c: Add __*_finite alias.
79         * sysdeps/m68k/m680x0/fpu/e_acosf.c: Likewise.
80         * sysdeps/m68k/m680x0/fpu/e_acosl.c: Likewise.
81         * sysdeps/m68k/m680x0/fpu/e_asin.c: Likewise.
82         * sysdeps/m68k/m680x0/fpu/e_asinl.c: Likewise.
83         * sysdeps/m68k/m680x0/fpu/e_asinf.c: Likewise.
84         * sysdeps/m68k/m680x0/fpu/e_atan2.c: Likewise.
85         * sysdeps/m68k/m680x0/fpu/e_atanh.c: Likewise.
86         * sysdeps/m68k/m680x0/fpu/e_atanhf.c: Likewise.
87         * sysdeps/m68k/m680x0/fpu/e_atanhl.c: Likewise.
88         * sysdeps/m68k/m680x0/fpu/e_cosh.c: Likewise.
89         * sysdeps/m68k/m680x0/fpu/e_coshf.c: Likewise.
90         * sysdeps/m68k/m680x0/fpu/e_coshl.c: Likewise.
91         * sysdeps/m68k/m680x0/fpu/e_exp10.c: Likewise.
92         * sysdeps/m68k/m680x0/fpu/e_exp10f.c: Likewise.
93         * sysdeps/m68k/m680x0/fpu/e_exp10l.c: Likewise.
94         * sysdeps/m68k/m680x0/fpu/e_exp2.c: Likewise.
95         * sysdeps/m68k/m680x0/fpu/e_exp2l.c: Likewise.
96         * sysdeps/m68k/m680x0/fpu/e_exp2f.c: Likewise.
97         * sysdeps/m68k/m680x0/fpu/e_fmod.c: Likewise.
98         * sysdeps/m68k/m680x0/fpu/e_fmodf.c: Likewise.
99         * sysdeps/m68k/m680x0/fpu/e_fmodl.c: Likewise.
100         * sysdeps/m68k/m680x0/fpu/e_log.c: Likewise.
101         * sysdeps/m68k/m680x0/fpu/e_logl.c: Likewise.
102         * sysdeps/m68k/m680x0/fpu/e_logf.c: Likewise.
103         * sysdeps/m68k/m680x0/fpu/e_log10.c: Likewise.
104         * sysdeps/m68k/m680x0/fpu/e_log10f.c: Likewise.
105         * sysdeps/m68k/m680x0/fpu/e_log10l.c: Likewise.
106         * sysdeps/m68k/m680x0/fpu/e_log2.c: Likewise.
107         * sysdeps/m68k/m680x0/fpu/e_log2f.c: Likewise.
108         * sysdeps/m68k/m680x0/fpu/e_log2l.c: Likewise.
109         * sysdeps/m68k/m680x0/fpu/e_pow.c: Likewise.
110         * sysdeps/m68k/m680x0/fpu/e_remainder.c: Likewise.
111         * sysdeps/m68k/m680x0/fpu/e_remainderl.c: Likewise.
112         * sysdeps/m68k/m680x0/fpu/e_remainderf.c: Likewise.
113         * sysdeps/m68k/m680x0/fpu/e_scalb.c: Likewise.
114         * sysdeps/m68k/m680x0/fpu/e_sinh.c: Likewise.
115         * sysdeps/m68k/m680x0/fpu/e_sinhf.c: Likewise.
116         * sysdeps/m68k/m680x0/fpu/e_sinhl.c: Likewise.
117         * sysdeps/m68k/m680x0/fpu/e_sqrt.c: Likewise.
118         * sysdeps/m68k/m680x0/fpu/e_sqrtf.c: Likewise.
119         * sysdeps/m68k/m680x0/fpu/e_sqrtl.c: Likewise.
121 2011-10-09  Andreas Schwab  <schwab@linux-m68k.org>
123         * sysdeps/m68k/m680x0/s_isinfl.c: Remove.
124         * sysdeps/m68k/m680x0/s_isnanl.c: Remove.
126 2011-10-05  Andreas Schwab  <schwab@redhat.com>
128         * sysdeps/m68k/dl-machine.h (elf_machine_rela)
129         (elf_machine_lazy_rel): Add parameter skip_ifunc.
131 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
133         * sysdeps/m68k/nptl/tls.h: Don't define USE_TLS.
134         * sysdeps/m68k/dl-machine.h: Remove use of USE_TLS.
135         * sysdeps/m68k/libc-tls.c: Likewise.
137         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Remove use of
138         USE___THREAD.
140 2011-06-23  Andreas Schwab  <schwab@linux-m68k.org>
142         * sysdeps/m68k/dl-trampoline.S (_dl_runtime_profile)
143         [__mcoldfire__]: Fix typo saving %fp0.
145 2011-04-11  Andreas Schwab  <schwab@linux-m68k.org>
147         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Define.
149 2011-04-03  Andreas Schwab  <schwab@linux-m68k.org>
151         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Update comments.
152         (O_PATH): Define.
153         (struct file_handle, MAX_HANDLE_SZ): Define.
154         (name_to_handle_at, open_by_handle_at): Declare.
156 2011-03-06  Andreas Schwab  <schwab@linux-m68k.org>
158         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
159         (__bswap_64): Implement as inline functions.
161 2011-01-18  Andreas Schwab  <schwab@linux-m68k.org>
163         * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MADV_HUGEPAGE)
164         (MADV_NOHUGEPAGE): Define.
166 2011-01-10  Andreas Schwab  <schwab@linux-m68k.org>
168         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h (sem_t):
169         Force alignment.
171 2010-12-26  Andreas Schwab  <schwab@linux-m68k.org>
173         * sysdeps/m68k/stackinfo.h (DEFAULT_STACK_PERMS): Define.
175 2010-11-05  Andreas Schwab  <schwab@linux-m68k.org>
177         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Include
178         i386/fchownat.c.
180 2010-10-11  Andreas Schwab  <schwab@linux-m68k.org>
182         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Remove fma inlines.
184         * sysdeps/m68k/fpu/feupdateenv.c (feupdateenv): Add
185         libm_hidden_ver.
186         * sysdeps/m68k/fpu/ftestexcept.c (feupdateenv): Add
187         libm_hidden_def.
189 2010-08-25  Andreas Schwab  <schwab@linux-m68k.org>
191         * sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h
192         (SYSCALL_ERROR_LOAD_GOT): Use & instead of #.
194 2010-08-17  Andreas Schwab  <schwab@linux-m68k.org>
196         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove
197         fanotify_init.
199 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
201         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add prlimit64,
202         fanotify_init, fanotify_mask.
204 2010-08-02  Andreas Schwab  <schwab@linux-m68k.org>
206         * sysdeps/m68k/coldfire/sysdep.h: New file.
207         (PCREL_OP): Define.
208         * sysdeps/m68k/m680x0/sysdep.h: New file.
209         (PCREL_OP): Define.
210         * sysdeps/m68k/sysdep.h (PCREL_OP): Don't define here.
211         * sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h: New file.
212         (SYSCALL_ERROR_LOAD_GOT): Define.
213         * sysdeps/unix/sysv/linux/m68k/m680x0/sysdep.h: New file.
214         (SYSCALL_ERROR_LOAD_GOT): Define.
215         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't include subordinate
216         sysdep files.
217         (SYSCALL_ERROR_HANDLER) [PIC && USE___THREAD]: Use
218         SYSCALL_ERROR_LOAD_GOT.
220 2010-06-24  Joseph Myers  <joseph@codesourcery.com>
222         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETPIPE_SZ,
223         F_GETPIPE_SZ): Define.
225 2010-06-13  Andreas Schwab  <schwab@linux-m68k.org>
227         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Mark all functions as
228         non-throwing.
230         * sysdeps/unix/sysv/linux/m68k/sys/user.h (NBPG, UPAGES)
231         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Define.
233 2010-06-11  Andreas Schwab  <schwab@linux-m68k.org>
235         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Force
236         alignment of futex variables.
238 2010-05-22  Andreas Schwab  <schwab@linux-m68k.org>
240         * data/c++-types-m68k-linux-gnu.data: New file.
241         * data/localplt-m68k-linux-gnu.data: New file.
243 2010-03-13  Andreas Schwab  <schwab@linux-m68k.org>
245         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Use signbit macro.
246         * sysdeps/m68k/m680x0/fpu/s_ccos.c: Likewise.
248         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__signbit)
249         (__signbitf, __signbitl): Always define as inline.
251         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
252         Add variant for USE__THREAD.
254 2010-03-12  Andreas Schwab  <schwab@linux-m68k.org>
256         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Don't include
257         <sysdep.h>.
259         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Renamed ...
260         * sysdeps/unix/sysv/linux/m68k/coldfire/m68k-helpers.S: ... to
261         this.
262         * sysdeps/unix/sysv/linux/m68k/m680x0/m68k-helpers.S: New file.
264 2010-03-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
266         NPTL support for m68k/ColdFire
267         * sysdeps/unix/sysv/linux/m68k/sysdep.h (tls.h): Include.
268         (INTERNAL_SYSCALL): Convert to INTERNAL_SYSCALL_NCS.
269         (PTR_MANGLE, PTR_DEMANGLE): Define.
270         (NEED_STATIC_SYSINFO_DSO): Define.
271         * sysdeps/unix/sysv/linux/m68k/clone.S: Support RESET_PID.
272         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: New.
273         * sysdeps/unix/sysv/linux/m68k/Makefile: Add new files to lists.
274         * sysdeps/unix/sysv/linux/m68k/vfork.S: Add SAVE_PID/RESTORE_PID.
275         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: New.
276         * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: New.
277         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: New.
278         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: New.
279         * sysdeps/unix/sysv/linux/m68k/Versions: Add symbols for NPTL support.
280         * sysdeps/unix/sysv/linux/m68k/init-first.c: New.
281         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: New.
282         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: New.
283         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: New.
284         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: New.
285         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: New.
286         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: New.
287         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: New.
288         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: New.
289         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: New.
290         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: New.
291         * sysdeps/unix/sysv/linux/m68k/socket.S: Update cancelation code.
292         * sysdeps/m68k/dl-tls.h: New.
293         * sysdeps/m68k/libc-tls.c: New.
294         * sysdeps/m68k/tls-macros.h: New.
295         * sysdeps/m68k/dl-machine.h (RTLD_START): Terminate stack frame to
296         generate better backtraces.
297         (elf_machine_type_class, elf_machine_rela): Handle TLS relocations.
298         * sysdeps/m68k/dl-machine.h: Handle TLS relocations.
299         * sysdeps/m68k/nptl/tcb-offsets.sym: New.
300         * sysdeps/m68k/nptl/pthread_spin_trylock.c: New.
301         * sysdeps/m68k/nptl/tls.h: New.
302         * sysdeps/m68k/nptl/pthread_spin_lock.c: New.
303         * sysdeps/m68k/nptl/pthreaddef.h: New.
304         * sysdeps/m68k/nptl/Makefile: New.
306         * sysdeps/unix/sysv/linux/m68k/bits/sigcontext.h: Remove.
307         * sysdeps/unix/sysv/linux/m68k/register-dump.h: Update.
309         * sysdeps/unix/sysv/linux/m68k/bits/siginfo.h: Remove.
311         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ)
312         (_jmpbuf_sp, _JMPBUF_UNWINDS_ADJ, __libc_unwind_longjmp): Define.
314 2010-02-10  Joseph Myers  <joseph@codesourcery.com>
316         * sysdeps/m68k/fpu/fegetenv.c: Add hidden alias.
318 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
320         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Fix double-inclusion
321         problem.
323 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
325         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Define O_DIRECTORY,
326         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
327         XPG7.
328         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Enable using from
329         fcntl.h.
331 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
333         [BZ #11093]
334         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Define POLLRDNORM,
335         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
337 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
339         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Redefine O_SYNC and
340         O_DSYNC to match 2.6.33+ kernels.
342 2009-11-23  Andreas Schwab  <schwab@linux-m68k.org>
344         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Use struct timespec
345         for timestamps also if __USE_XOPEN2K8.
347 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
349         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Introduce new symbol
350         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
352 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
354         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Change misleading
355         names of parameters of sync_file_range.
357 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
359         [BZ #10972]
360         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add new MADV_*
361         constants from recent kernels.
363 2009-11-15  Andreas Schwab  <schwab@linux-m68k.org>
365         * sysdeps/m68k/libgcc_s.h: New file.
367 2009-11-14  Andreas Schwab  <schwab@linux-m68k.org>
369         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN_EX)
370         (F_GETOWN_EX, F_OWNER_TID, F_OWNER_PID, F_OWNER_GID, f_owner_ex):
371         Define.
373 2009-11-07  Joseph Myers  <joseph@codesourcery.com>
375         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (fallocate): Fix types
376         of last two arguments when -D_FILE_OFFSET_BITS=64.
378 2009-10-30  Joseph Myers  <joseph@codesourcery.com>
380         [BZ #10609]
381         * sysdeps/unix/sysv/linux/m68k/fchownat.c (fchownat): Fix handling
382         of empty parameters for file names.
384 2009-09-06  Andreas Schwab  <schwab@linux-m68k.org>
386         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c: New file.
388         * sysdeps/m68k/__longjmp.c (__longjmp): Call CHECK_SP if defined.
390 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
392         * sysdeps/unix/sysv/linux/m68k/Versions (libc): Add
393         fallocate64@@GLIBC_2.11.
395 2009-04-25  Andreas Schwab  <schwab@linux-m68k.org>
397         * sysdeps/unix/sysv/linux/m68k/kernel-features.h: Revert last
398         change, the syscalls have been added to 2.6.30-rc4.
400 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
402         * sysdeps/unix/sysv/linux/m68k/kernel-features.h (__ASSUME_PREADV,
403         __ASSUME_PWRITEV): Undefine.
405 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
407         * sysdeps/unix/sysv/linux/m68k/getsysstats.c (GET_NPROCS_PARSER):
408         Change parameters and use next_line.
410 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
412         * sysdeps/m68k/bits/link.h: Uglify function parameter names.
414 2009-03-04  Joseph Myers  <joseph@codesourcery.com>
416         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Declare
417         fallocate{,64}.
419 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
421         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Protect UTIME_NOW and
422         UTIME_OMIT only with __USE_ATFILE.
424 2008-08-10  Joseph Myers  <joseph@codesourcery.com>
426         * sysdeps/m68k/bits/byteswap.h: Allow inclusion from <endian.h>.
427         (__bswap_constant_16): Define.
428         (__bswap_16): Allow arguments with side effects.
429         (__bswap_constant_32): Ensure result is unsigned.
430         (__bswap_32): Define as inline function in fallback case.
431         (__bswap_constant_64): Define.
432         (__bswap_64): Use it for constant arguments.
433         * sysdeps/m68k/bits/setjmp.h (__jmp_buf): Give name to structure
434         type.
435         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Only allow inclusion
436         from <math.h>.  Do not use extern inline directly.
437         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Include <bits/uio.h>.
438         (O_CLOEXEC, SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
439         SYNC_FILE_RANGE_WAIT_AFTER, SPLICE_F_MOVE, SPLICE_F_NONBLOCK,
440         SPLICE_F_MORE, SPLICE_F_GIFT): Define.
441         (sync_file_range, vmsplice, splice, tee): Declare.
442         * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MADV_REMOVE): Define.
443         * sysdeps/unix/sysv/linux/m68k/bits/poll.h (POLLMSG, POLLREMOVE,
444         POLLRDHUP): Define.
445         * sysdeps/unix/sysv/linux/m68k/bits/stat.h (UTIME_NOW,
446         UTIME_OMIT): Define.
447         * sysdeps/unix/sysv/linux/m68k/kernel-features.h: New.
448         * sysdeps/unix/sysv/linux/m68k/sys/user.h: New.
450 2008-03-28  Maxim Kuvyrkov  <maxim@codesourcery.com>
452         Explicitly get address of _DYNAMIC.
453         * sysdeps/m68k/dl-machine.h (elf_machine_dynamic): Retrieve _DYNAMIC
454         from GOT instead of assuming value at GOT pointer.
456 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
458         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
460 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
462         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Comment fix.
464 2006-11-28  Andreas Schwab  <schwab@suse.de>
466         * sysdeps/unix/sysv/linux/m68k/sysdep.h (DOARGS_6, _DOARGS_6)
467         (UNDOARGS_6): Define for 6-argument syscall stubs.
469 2006-10-03  Andreas Schwab  <schwab@suse.de>
471         * sysdeps/m68k/setjmp.c: Use __builtin_return_address and
472         __builtin_frame_address.  Don't call __sigjmp_save in ld.so.
474         * sysdeps/unix/sysv/linux/m68k/mremap.S: Accept fifth parameter.
476 2006-10-03  Richard Sandiford  <richard@codesourcery.com>
478         * sysdeps/m68k/bits/mathdef.h: Moved from sysdeps/m68k to
479         sysdeps/m68k/m680x0.
480         * sysdeps/m68k/m68020/submul_1.S: Likewise.
481         * sysdeps/m68k/m68020/Makefile: Likewise.
482         * sysdeps/m68k/m68020/mul_1.S: Likewise.
483         * sysdeps/m68k/m68020/wordcopy.S: Likewise.
484         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
485         * sysdeps/m68k/m68020/bits/string.h: Likewise.
486         * sysdeps/m68k/m68020/bits/atomic.h: Likewise.
487         * sysdeps/m68k/sub_n.S: Likewise.
488         * sysdeps/m68k/add_n.S: Likewise.
489         * sysdeps/m68k/s_isnanl.c: Likewise.
490         * sysdeps/m68k/fpu/s_log1p.c: Likewise.
491         * sysdeps/m68k/fpu/e_asinf.c: Likewise.
492         * sysdeps/m68k/fpu/s_cosl.c: Likewise.
493         * sysdeps/m68k/fpu/s_isinff.c: Likewise.
494         * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
495         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
496         * sysdeps/m68k/fpu/s_expm1.c: Likewise.
497         * sysdeps/m68k/fpu/slowexp.c: Likewise.
498         * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
499         * sysdeps/m68k/fpu/s_ccoshf.c: Likewise.
500         * sysdeps/m68k/fpu/s_ilogbl.c: Likewise.
501         * sysdeps/m68k/fpu/Makefile: Likewise.
502         * sysdeps/m68k/fpu/s_expm1f.c: Likewise.
503         * sysdeps/m68k/fpu/s_significandf.c: Likewise.
504         * sysdeps/m68k/fpu/e_pow.c: Likewise.
505         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
506         * sysdeps/m68k/fpu/e_exp.c: Likewise.
507         * sysdeps/m68k/fpu/s_remquof.c: Likewise.
508         * sysdeps/m68k/fpu/s_ilogbf.c: Likewise.
509         * sysdeps/m68k/fpu/s_truncl.c: Likewise.
510         * sysdeps/m68k/fpu/s_frexpf.c: Likewise.
511         * sysdeps/m68k/fpu/s_cos.c: Likewise.
512         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
513         * sysdeps/m68k/fpu/branred.c: Likewise.
514         * sysdeps/m68k/fpu/s_frexpl.c: Likewise.
515         * sysdeps/m68k/fpu/s_atan.c: Likewise.
516         * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
517         * sysdeps/m68k/fpu/e_scalbl.c: Likewise.
518         * sysdeps/m68k/fpu/e_exp2.c: Likewise.
519         * sysdeps/m68k/fpu/s_cexpf.c: Likewise.
520         * sysdeps/m68k/fpu/mplog.c: Likewise.
521         * sysdeps/m68k/fpu/s_rintf.c: Likewise.
522         * sysdeps/m68k/fpu/s_tanh.c: Likewise.
523         * sysdeps/m68k/fpu/e_scalbf.c: Likewise.
524         * sysdeps/m68k/fpu/s_csinhl.c: Likewise.
525         * sysdeps/m68k/fpu/s_floorl.c: Likewise.
526         * sysdeps/m68k/fpu/k_tanf.c: Likewise.
527         * sysdeps/m68k/fpu/k_tanl.c: Likewise.
528         * sysdeps/m68k/fpu/e_fmodf.c: Likewise.
529         * sysdeps/m68k/fpu/e_atanhf.c: Likewise.
530         * sysdeps/m68k/fpu/s_isnanf.c: Likewise.
531         * sysdeps/m68k/fpu/s_fpclassifyl.c: Likewise.
532         * sysdeps/m68k/fpu/s_modf.c: Likewise.
533         * sysdeps/m68k/fpu/e_log2.c: Likewise.
534         * sysdeps/m68k/fpu/e_acosf.c: Likewise.
535         * sysdeps/m68k/fpu/s_log1pl.c: Likewise.
536         * sysdeps/m68k/fpu/e_log2f.c: Likewise.
537         * sysdeps/m68k/fpu/mpa.c: Likewise.
538         * sysdeps/m68k/fpu/t_exp.c: Likewise.
539         * sysdeps/m68k/fpu/e_acos.c: Likewise.
540         * sysdeps/m68k/fpu/s_expm1l.c: Likewise.
541         * sysdeps/m68k/fpu/s_ccoshl.c: Likewise.
542         * sysdeps/m68k/fpu/s_sinf.c: Likewise.
543         * sysdeps/m68k/fpu/k_tan.c: Likewise.
544         * sysdeps/m68k/fpu/k_cosl.c: Likewise.
545         * sysdeps/m68k/fpu/e_remainder.c: Likewise.
546         * sysdeps/m68k/fpu/s_trunc.c: Likewise.
547         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
548         * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
549         * sysdeps/m68k/fpu/s_finitef.c: Likewise.
550         * sysdeps/m68k/fpu/s_tanhl.c: Likewise.
551         * sysdeps/m68k/fpu/s_lrintl.c: Likewise.
552         * sysdeps/m68k/fpu/slowpow.c: Likewise.
553         * sysdeps/m68k/fpu/mpexp.c: Likewise.
554         * sysdeps/m68k/fpu/s_isnanl.c: Likewise.
555         * sysdeps/m68k/fpu/e_expf.c: Likewise.
556         * sysdeps/m68k/fpu/s_significand.c: Likewise.
557         * sysdeps/m68k/fpu/e_sinhf.c: Likewise.
558         * sysdeps/m68k/fpu/s_tanl.c: Likewise.
559         * sysdeps/m68k/fpu/s_tanhf.c: Likewise.
560         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
561         * sysdeps/m68k/fpu/e_sqrtf.c: Likewise.
562         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
563         * sysdeps/m68k/fpu/s_nearbyint.c: Likewise.
564         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
565         * sysdeps/m68k/fpu/sincos32.c: Likewise.
566         * sysdeps/m68k/fpu/e_sqrtl.c: Likewise.
567         * sysdeps/m68k/fpu/s_sincosl.c: Likewise.
568         * sysdeps/m68k/fpu/e_atan2f.c: Likewise.
569         * sysdeps/m68k/fpu/s_nearbyintf.c: Likewise.
570         * sysdeps/m68k/fpu/e_fmodl.c: Likewise.
571         * sysdeps/m68k/fpu/e_coshf.c: Likewise.
572         * sysdeps/m68k/fpu/s_csinf.c: Likewise.
573         * sysdeps/m68k/fpu/s_ccosl.c: Likewise.
574         * sysdeps/m68k/fpu/e_sqrt.c: Likewise.
575         * sysdeps/m68k/fpu/s_sin.c: Likewise.
576         * sysdeps/m68k/fpu/e_asin.c: Likewise.
577         * sysdeps/m68k/fpu/mptan.c: Likewise.
578         * sysdeps/m68k/fpu/e_exp10f.c: Likewise.
579         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
580         * sysdeps/m68k/fpu/s_finitel.c: Likewise.
581         * sysdeps/m68k/fpu/e_log10.c: Likewise.
582         * sysdeps/m68k/fpu/k_sinl.c: Likewise.
583         * sysdeps/m68k/fpu/e_remainderl.c: Likewise.
584         * sysdeps/m68k/fpu/s_remquol.c: Likewise.
585         * sysdeps/m68k/fpu/s_scalblnf.c: Likewise.
586         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
587         * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
588         * sysdeps/m68k/fpu/e_asinl.c: Likewise.
589         * sysdeps/m68k/fpu/e_logl.c: Likewise.
590         * sysdeps/m68k/fpu/s_cosf.c: Likewise.
591         * sysdeps/m68k/fpu/s_rint.c: Likewise.
592         * sysdeps/m68k/fpu/s_ceill.c: Likewise.
593         * sysdeps/m68k/fpu/s_modfl.c: Likewise.
594         * sysdeps/m68k/fpu/s_csinl.c: Likewise.
595         * sysdeps/m68k/fpu/s_tan.c: Likewise.
596         * sysdeps/m68k/fpu/s_sincosf.c: Likewise.
597         * sysdeps/m68k/fpu/dosincos.c: Likewise.
598         * sysdeps/m68k/fpu/e_powl.c: Likewise.
599         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
600         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
601         * sysdeps/m68k/fpu/e_expl.c: Likewise.
602         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
603         * sysdeps/m68k/fpu/s_tanf.c: Likewise.
604         * sysdeps/m68k/fpu/mpsqrt.c: Likewise.
605         * sysdeps/m68k/fpu/s_sinl.c: Likewise.
606         * sysdeps/m68k/fpu/mathimpl.h: Likewise.
607         * sysdeps/m68k/fpu/e_acosl.c: Likewise.
608         * sysdeps/m68k/fpu/e_cosh.c: Likewise.
609         * sysdeps/m68k/fpu/s_cexpl.c: Likewise.
610         * sysdeps/m68k/fpu/s_fabsl.c: Likewise.
611         * sysdeps/m68k/fpu/halfulp.c: Likewise.
612         * sysdeps/m68k/fpu/s_modff.c: Likewise.
613         * sysdeps/m68k/fpu/s_isnan.c: Likewise.
614         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
615         * sysdeps/m68k/fpu/s_fabs.c: Likewise.
616         * sysdeps/m68k/fpu/e_log10f.c: Likewise.
617         * sysdeps/m68k/fpu/k_cosf.c: Likewise.
618         * sysdeps/m68k/fpu/e_sinh.c: Likewise.
619         * sysdeps/m68k/fpu/s_truncf.c: Likewise.
620         * sysdeps/m68k/fpu/s_ceil.c: Likewise.
621         * sysdeps/m68k/fpu/s_log1pf.c: Likewise.
622         * sysdeps/m68k/fpu/e_logf.c: Likewise.
623         * sysdeps/m68k/fpu/mpatan.c: Likewise.
624         * sysdeps/m68k/fpu/s_csin.c: Likewise.
625         * sysdeps/m68k/fpu/e_exp2l.c: Likewise.
626         * sysdeps/m68k/fpu/e_sinhl.c: Likewise.
627         * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
628         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
629         * sysdeps/m68k/fpu/s_floorf.c: Likewise.
630         * sysdeps/m68k/fpu/e_log2l.c: Likewise.
631         * sysdeps/m68k/fpu/s_atanl.c: Likewise.
632         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
633         * sysdeps/m68k/fpu/k_sinf.c: Likewise.
634         * sysdeps/m68k/fpu/s_csinhf.c: Likewise.
635         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
636         * sysdeps/m68k/fpu/s_atanf.c: Likewise.
637         * sysdeps/m68k/fpu/s_floor.c: Likewise.
638         * sysdeps/m68k/fpu/e_exp10l.c: Likewise.
639         * sysdeps/m68k/fpu/doasin.c: Likewise.
640         * sysdeps/m68k/fpu/s_rintl.c: Likewise.
641         * sysdeps/m68k/fpu/e_atanhl.c: Likewise.
642         * sysdeps/m68k/fpu/e_remainderf.c: Likewise.
643         * sysdeps/m68k/fpu/s_scalbln.c: Likewise.
644         * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
645         * sysdeps/m68k/fpu/e_exp10.c: Likewise.
646         * sysdeps/m68k/fpu/s_lrintf.c: Likewise.
647         * sysdeps/m68k/fpu/k_cos.c: Likewise.
648         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
649         * sysdeps/m68k/fpu/s_ccosf.c: Likewise.
650         * sysdeps/m68k/fpu/s_scalblnl.c: Likewise.
651         * sysdeps/m68k/fpu/switch/Makefile: Likewise.
652         * sysdeps/m68k/fpu/switch/switch.c: Likewise.
653         * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
654         * sysdeps/m68k/fpu/switch/bits/mathinline.h: Likewise.
655         * sysdeps/m68k/fpu/e_log.c: Likewise.
656         * sysdeps/m68k/fpu/s_nextafterl.c: Likewise.
657         * sysdeps/m68k/fpu/s_nearbyintl.c: Likewise.
658         * sysdeps/m68k/fpu/mpatan2.c: Likewise.
659         * sysdeps/m68k/fpu/k_sin.c: Likewise.
660         * sysdeps/m68k/fpu/e_atanh.c: Likewise.
661         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
662         * sysdeps/m68k/fpu/e_log10l.c: Likewise.
663         * sysdeps/m68k/fpu/s_ceilf.c: Likewise.
664         * sysdeps/m68k/fpu/s_fabsf.c: Likewise.
665         * sysdeps/m68k/fpu/s_significandl.c: Likewise.
666         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
667         * sysdeps/m68k/fpu/e_coshl.c: Likewise.
668         * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
669         * sysdeps/m68k/fpu/s_finite.c: Likewise.
670         * sysdeps/m68k/fpu/e_exp2f.c: Likewise.
671         * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
672         * sysdeps/m68k/fpu/s_isinfl.c: Likewise.
673         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
674         * sysdeps/m68k/fpu/e_powf.c: Likewise.
675         * sysdeps/m68k/rshift.S: Likewise.
676         * sysdeps/m68k/lshift.S: Likewise.
677         * sysdeps/m68k/strtold_l.c: Likewise.
678         * sysdeps/m68k/printf_fphex.c: Likewise.
679         * sysdeps/m68k/s_isinfl.c: Likewise.
680         * sysdeps/m68k/bits/huge_vall.h: Likewise.
682         * sysdeps/m68k/asm-syntax.h (andw, andl, subqw, tstw, tstl): New.
683         * sysdeps/m68k/bits/byteswap.h (__bswap32): Don't define for
684         Coldfire targets.
685         * sysdeps/m68k/bits/setjmp.h (__jmp_buf): Add a 64-byte
686         __fpregs field for Coldfire FPUs.
687         * sysdeps/m68k/dl-machine.h: Include sysdep.h.
688         (elf_machine_load_address): Use PCREL_OP.
689         (_dl_start_user): Likewise.
690         * sysdeps/m68k/dl-trampoline.S (_dl_runtime_resolve): Avoid jmp (%dN)
691         on Coldfire; push the target address and use rts instead.
692         (_dl_runtime_profile): Likewise.  Round up the frame size to longword
693         rather than word alignment.  Avoid dbra on Coldfire.  Avoid using
694         jsr (%d0) on Coldfire; push the return address and target address
695         and use rts instead.  Use fmovem.l rather than fmovem.x on Coldfire.
696         Add missing initialization of lrv_a0 and restore a0 from it after
697         calling _dl_call_pltexit.  Adjust the stack offsets of later data
698         accordingly, fixing a previously incorrect offset for the inregs
699         parameter.
700         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Save the control
701         registers individually on Coldfire targets.
702         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
703         Add missing libm_hidden_def.
704         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Save and restore the
705         control registers individually on Coldfire targets.
706         * sysdeps/m68k/fpu/fesetround.c (fesetround): Add missing
707         libm_hidden_def.
708         * sysdeps/m68k/fpu_control.h: Add the Coldfire bit assignments to
709         the main comment.
710         (_FPU_DOUBLE): Define to 0 for Coldfire.
711         (_FPU_EXTENDED): Don't define for Coldfire.
712         (_FPU_RESERVED): Include bit 15 for Coldfire.
713         * sysdeps/m68k/Implies: Remove ieee754/ldbl-96.
714         * sysdeps/m68k/m680x0/Implies: Add it to this new file instead.
715         * sysdeps/m68k/ldsodefs.h: New file.
716         * sysdeps/m68k/__longjmp.c (__longjmp): Restore the floating-point
717         registers when using a Coldfire FPU.
718         * sysdeps/m68k/Makefile (long-double-fcts): Delete.
719         * sysdeps/m68k/m680x0/Makefile: Add it to this new file instead.
720         * sysdeps/m68k/memchr.S (__memchr): Add Coldfire code.  Avoid
721         unnecessary moves.
722         * sysdeps/m68k/preconfigure (m680?0): Add "m680x0" to $machine.
723         (m68k): Use the compiler to decide whether $machine should be
724         set to m68k/coldfire or m68k/m680x0/m68020.
725         * sysdeps/m68k/rawmemchr.S (__rawmemchr): Add Coldfire code.  Avoid
726         unnecessary moves.
727         * sysdeps/m68k/setjmp.c (__sigsetjmp): Save the floating-point
728         registers when using a Coldfire FPU.  Use libc_hidden_def rather
729         than hidden_def.
730         * sysdeps/m68k/strchrnul.S (__strchrnul): Add Coldfire code.  Avoid
731         unnecessary moves.
732         * sysdeps/m68k/strchr.S (strchr): Likewise.
733         * sysdeps/m68k/sysdep.h (PCREL_OP): Define.
734         * sysdeps/m68k/tst-audit.h: New file.
735         * sysdeps/m68k/wcpcpy.c: Likewise.
736         * sysdeps/m68k/wcpcpy_chk.c: Likewise.
737         * sysdeps/unix/sysv/linux/m68k/configure.in: New file.
738         * sysdeps/unix/sysv/linux/m68k/configure: Likewise.
739         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Add Coldfire code.
740         * sysdeps/unix/sysv/linux/m68k/register-dump.h (real_catch_segfault):
741         Do not define on Coldfire.
742         (catch_segfault): Likewise.
743         (register_dump): Use the Coldfire-specific sigcontext fields to
744         display call-saved data and address registers (rather than the
745         data stored in sc_fpstate by real_catch_segfault).  Display 8-byte
746         floating-point registers on Coldfire.
747         * sysdeps/unix/sysv/linux/m68k/socket.S (__socket): Pass a temporary
748         register to SINGLE_THREAD_P.
749         * sysdeps/unix/sysv/linux/m68k/sys/reg.h (PT_FP0): Redefine for
750         Coldfire.
751         (PT_FP1, PT_FP2, PT_FP3, PT_FP4, PT_FP5, PT_FP6, PT_FP7): Likewise.
752         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset): Sync field
753         order with linux.  Make f_fpregs an 8*2 array on Coldfire.
754         (ucontext): Sync field order with linux.
755         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Guard against multiple
756         inclusion.
757         (SYSCALL_ERROR_HANDLER): Use PCREL_OP.
758         * sysdeps/unix/sysv/linux/m68k/syscalls.list (oldgetrlimit): Delete.
759         (oldsetrlimit): Likewise.
760         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: New file.
761         List oldgetrlimit and oldsetrlimit here instead.
762         * sysdeps/unix/sysv/linux/m68k/bits/sigcontext.h: New file.
763         * sysdeps/unix/sysv/linux/m68k/bits/siginfo.h: Likewise.
764         * sysdeps/m68k/coldfire/bits/atomic.h: Likewise.
765         * sysdeps/m68k/coldfire/fpu/e_sqrt.c: Likewise.
766         * sysdeps/m68k/coldfire/fpu/e_sqrtf.c: Likewise.
767         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c: Likewise.
768         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
769         * sysdeps/m68k/coldfire/fpu/s_fabs.c: Likewise.
770         * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Likewise.
771         * sysdeps/m68k/coldfire/fpu/s_lrint.c: Likewise.
772         * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Likewise.
773         * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
774         * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
775         * sysdeps/m68k/coldfire/shlib-versions: Likewise.
777 2006-02-28  Roland McGrath  <roland@redhat.com>
779         * sysdeps/m68k/preconfigure: New file.